[R] "subscript out of bounds" error when using koRpus+Tree Tagger

2018-12-08 Thread Jiayue Wang
Hi, I'm trying to do text corpus processing on some novels, with koRpus package and Tree Tagger. The script lists all txt files (11 in all) in a dir, and processes it one by one. ## rm(list=ls()) library(koRpus) library(koRpus.lang.en) set.kRp.env(TT.cmd = "/pathto/tree-tagger-english

Re: [R] General information

2018-12-08 Thread David Winsemius
Most of those answers are in the R-FAQ. It ships with every distribution copy from CRTAN and is also available online. Estimating the number of R users would be difficult. There are probably 20,000+ subscriblers to Rhelp. Not certain what is meant by #5. David. On 12/8/18 2:46 AM, ghada

Re: [R] Generate Range of Correlations Matrix Bernoulli

2018-12-08 Thread إيمان إسماعيل محمد
Thank you for the clarification. ‫في السبت، 8 ديسمبر 2018 في 10:13 م تمت كتابة ما يلي بواسطة ‪Bert Gunter‬‏ <‪bgunter.4...@gmail.com‬‏>:‬ > Unless you are sending a private message, always include the list (which I > have cc'ed) in your reply, because, as here, individuals do not do private > con

Re: [R] General information

2018-12-08 Thread Jeff Newmiller
Please use a search engine, as all of the answers to these questions are already written down online, and this mailing list is primarily handled by volunteers who would have to do your searching for you to answer your questions. On December 8, 2018 2:46:32 AM PST, ghada mhedat wrote: >Hello >

[R] General information

2018-12-08 Thread ghada mhedat
Hello I am graduate student I make a research about data mining tool ...one of them R I need to answer theses questions and I need your help : 1.what language does R wrote in? 2.how much users of R ? 3.year of create? 4. What is the appropriate platform? 5.file format? Pleas I need the answer of

Re: [R] Confirm Adding to mailing list

2018-12-08 Thread David Winsemius
I cannot tell what is being asked but it seems clear that you are confused about how mailing lists work.. I've looked in the pending posts in the moderation queue and none of them appear to be from you. I saw an earlier misdirected "confirm" message that should have gone to the mailserver-bot a

Re: [R] Generate Range of Correlations Matrix Bernoulli

2018-12-08 Thread Bert Gunter
Unless you are sending a private message, always include the list (which I have cc'ed) in your reply, because, as here, individuals do not do private consulting and may be unwilling or unable to provide the help you seek. Bert Gunter ‪On Sat, Dec 8, 2018 at 10:33 AM ‫إيمان إسماعيل محمد‬‎ < eman

Re: [R] Generate Range of Correlations Matrix Bernoulli

2018-12-08 Thread Bert Gunter
I have no idea why your post was "rejected," nor even quite what you mean by that. But I believe your post may not receive any replies because you have failed to follow the posting guide linked below. I find it incomprehensible, but maybe others will be able to understand what you want. It may also

Re: [R] Help with K-Means output

2018-12-08 Thread Bill Poling
Terrific David, that's got it thanks again! From: David L Carlson Sent: Saturday, December 8, 2018 11:12 AM To: Bert Gunter ; Bill Poling Cc: R-help Subject: RE: [R] Help with K-Means output You should also read the manual page for ?split and learn how to work with lists: # Split the data ac

Re: [R] Help with K-Means output

2018-12-08 Thread Bill Poling
Thank you Bert. From: Bert Gunter Sent: Saturday, December 8, 2018 12:19 PM To: Bill Poling Cc: R-help Subject: Re: [R] Help with K-Means output See David Carlson's reply -- and his advice for learning about how to use lists. "And I can just join this DF with my original DF used for the KMea

Re: [R] Help with K-Means output

2018-12-08 Thread Bill Poling
Thank you David I will try that as well. WHP From: David L Carlson Sent: Saturday, December 8, 2018 11:12 AM To: Bert Gunter ; Bill Poling Cc: R-help Subject: RE: [R] Help with K-Means output You should also read the manual page for ?split and learn how to work with lists: # Split the data

Re: [R] Help with K-Means output

2018-12-08 Thread Bert Gunter
See David Carlson's reply -- and his advice for learning about how to use lists. "And I can just join this DF with my original DF used for the KMean, correct?" Define "join" . See, e.g. http://desktop.arcgis.com/en/arcmap/10.3/manage-data/tables/essentials-of-joining-tables.htm See also ?merge I

[R] Generate Range of Correlations Matrix Bernoulli

2018-12-08 Thread إيمان إسماعيل محمد
Hi all, I was wondering how can I construct range of correlations matrix that cover all space from dependent Multivariate Bernoulli (known Marginal Probabilities but unknown correlations) I have P's for every variable but unknown correlation between each pair I want to try range of applicable corre

[R] Confirm Adding to mailing list

2018-12-08 Thread إيمان إسماعيل محمد
Please I need to post in R-help I need to confirm first adding to mailing list Any help ?? [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLE

Re: [R] is okay

2018-12-08 Thread إيمان إسماعيل محمد
confirm b336fdc157205f369b39177d930c6e6ac826be46 [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] Help with K-Means output

2018-12-08 Thread Bill Poling
Thank you Bert, I see, so I think this is the process? set.seed(213) rr0a1 <- kmeans(rr0, 10) summary(rr0a1) #Just the cluster #Length Class Mode #cluster 14355 -none- numeric head(rr0a1$cluster, n=35) # [1] 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 Xcluster <

Re: [R] Help with K-Means output

2018-12-08 Thread David L Carlson
You should also read the manual page for ?split and learn how to work with lists: # Split the data according to cluster membership # to create a list of data frames rr0.clus <- split(rr0, rr0a$cluster) # The data frame for cluster 1: rr0.clus[[1]] ---

Re: [R] Help with K-Means output

2018-12-08 Thread Bert Gunter
Please see ?kmeans and note the "cluster" component of the returned value that would appear to provide the info you seek. -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County"

[R] Help with K-Means output

2018-12-08 Thread Bill Poling
Good afternoon. I hope I have provided enough info to get my question answered. I am running windows 10 -- R3.5.1 -- RStudio Version 1.1.456 When running a K-Means clustering routine is it possible to get the actual data from each cluster into a DF? I have reviewed a number of tutorials and unl