Re: [R] Tele_R - first experiences

2015-03-19 Thread Dr. Wolfgang Lindner
Some R users asked offlist for the link to Tele_R. Sorry, here it is: [3] http://telemath.altervista.org/ -- Best, Wolfgang Lindner Am 19.03.2015 um 21:57 schrieb Ista Zahn : > Hey that's really nice. I'm not sure how practical it is, but it works > surprisingly well. > > Best, > Ista > > O

[R] Problem with "different" proj4string that are actually identical

2015-03-19 Thread Hemery, Lenaig
Dear everybody I am trying to run an Ecological Niche Factor Analysis (enfa) with the package "adehabitatHS" but before I do so, I want to test the significance of its parameters marginality and tolerance, by using the function niche.test() that runs a Monte Carlo test. I used to do that with th

[R] no variable removal when running glmnet on diabetes dataset with alpha=1, lambda=.1

2015-03-19 Thread Feyerharm, Robert
New ZixCorp secure email message from ValueOptions Secure Email To view the secure message, click on the link below or copy and paste the link into your Internet browser address bar. https://securemail-valueoptions.com/s/e?m=ABC5UVsyBkxRSfS2UXb8k64p&c=ABDfgFbxA3h2RUXHIPdWEiCw&em=R%2dhelp%40r%2dp

Re: [R] not a Stata version 5-12 .dta file

2015-03-19 Thread Nicole Ford
I am trying it now— it is downloading currently. I will let you know of any success in the morning.Thanks! > On Mar 20, 2015, at 12:09 AM, Anthony Damico wrote: > > doesn't just running this solve your problem? > > https://github.com/ajdamico/usgsd/blob/master/World%20Values%20Survey/d

Re: [R] not a Stata version 5-12 .dta file

2015-03-19 Thread Anthony Damico
doesn't just running this solve your problem? https://github.com/ajdamico/usgsd/blob/master/World%20Values%20Survey/download%20all%20microdata.R On Fri, Mar 20, 2015 at 12:04 AM, Nicole Ford wrote: > Anthony, > > Thanks for this. The issue I am having is WVS didn’t save all of their > stata f

Re: [R] not a Stata version 5-12 .dta file

2015-03-19 Thread Nicole Ford
Anthony, Thanks for this. The issue I am having is WVS didn’t save all of their stata files, it seems, as .dta. Further, the .rdata files are not loading correctly, either, giving me .Traceback or crashes R when I try to source it. I will poke around your link to see if it can provide any in

Re: [R] not a Stata version 5-12 .dta file

2015-03-19 Thread Ista Zahn
That is not a Stata data file, but a plain text data file. You can try reading it into R like x <- read.table("WV3_Data_Russia_1995_stata_v_2014_04_28.dat", fill = TRUE) but you won't know what anything is. The metadata is in the .dct file, in a format only Stata can love... Best, Ista On Thu,

[R] r2wd (Write R to Word) in Chinese

2015-03-19 Thread jpm miao
Hi, The package "r2wd" is good at writing MS Word document from R. Can Chinese be written into MS Word by this package or any other method from R? Are Chinese fonts (e.g., Kai 楷書) available in r2wd? Thanks! [[alternative HTML version deleted]]

Re: [R] not a Stata version 5-12 .dta file

2015-03-19 Thread Anthony Damico
hi nicole, i have published easy to reproduce, well-documented code to download and then analyze every file from every wave of the world values survey here. the download automation script should solve your problem, or at least work around it :) http://www.asdfree.com/search/label/world%20values%

Re: [R] not a Stata version 5-12 .dta file

2015-03-19 Thread Nicole Ford
the text didn’t send for the R data file erros. sorry about that. 2015-03-19 17:41:38.544 R[398:5728] Unable to simultaneously satisfy constraints: ( "", "", "", "", "", "", "", "", "", "=10)-[SGTSearchField:0x603bf800]>", "", "=218)]>" ) Wi

Re: [R] not a Stata version 5-12 .dta file

2015-03-19 Thread Nicole Ford

Re: [R] not a Stata version 5-12 .dta file

2015-03-19 Thread Nicole Ford
Ista, I am pulling multiple countries and multiple waves, but here is one country in one wave. I know if I can get one to work, I can get them all to work. I have used WVS data in the past and never encountered any issues, so I am at a loss here. Thanks again! http://www.worldvaluessurvey.o

Re: [R] not a Stata version 5-12 .dta file

2015-03-19 Thread Ista Zahn
Is the file publicly available? What is the URL? Best, Ista On Thu, Mar 19, 2015 at 4:46 PM, Nicole Ford wrote: > Hello, Ista. > > Honestly, I am uncertain. I don't have STATA -- I downloaded this from the > data source website. > > I can't imagine it is 13 because the data are old (2006). > >

Re: [R] Tele_R - first experiences

2015-03-19 Thread Ista Zahn
Hey that's really nice. I'm not sure how practical it is, but it works surprisingly well. Best, Ista On Thu, Mar 19, 2015 at 8:21 AM, Dr. Wolfgang Lindner wrote: > Dear R community, > > some days ago Enric Cervera Mateu has installed an R client > with instant messaging, which is usable very sim

Re: [R] not a Stata version 5-12 .dta file

2015-03-19 Thread Nicole Ford
Hello, Ista. Honestly, I am uncertain. I don't have STATA -- I downloaded this from the data source website. I can't imagine it is 13 because the data are old (2006). I tried package readstata13 out of desperation, but didn't think it would resolve. Thanks for the suggestion! Sent from

Re: [R] not a Stata version 5-12 .dta file

2015-03-19 Thread Ista Zahn
Hi Nicole, Is it a stata 13 data file? If so your best bet is to open it in Stata and use the "saveold" command to save it as a stata 12 file. Best, Ista On Thu, Mar 19, 2015 at 3:00 PM, Nicole Ford wrote: > Hello, > > I recently updated to the newest version of R and I am encountering issues.

[R] Use BatchJobs package to submit Rmpi job

2015-03-19 Thread Feng Li
Hi, BatchJobs package is popular to submit R batch jobs on various job scheduler. Now we are facing the question is to submit a Rmpi jobs. So we want to know how we can leverage BatchJobs to do so. After a bit investigation/enhancement, we tested below approach on OpenLava job scheduler. we want

[R] not a Stata version 5-12 .dta file

2015-03-19 Thread Nicole Ford
Hello, I recently updated to the newest version of R and I am encountering issues. Please find my error and session info below. My data are attached. I have tried the readstata13 package just in case to no avail. Unless I am missing something, google isn’t helping. Thank you in advance.

[R] not a Stata version 5-12 .dta file

2015-03-19 Thread Nicole Ford
Hello, I recently updated to the newest version of R and I am encountering issues. Please find my error and session info below. My data are attached. I have tried the readstata13 package just in case to no avail. Unless I am missing something, google isn’t helping. Thank you in advance.

Re: [R] Why do my posts not get accepted to the mailing list?

2015-03-19 Thread Duncan Murdoch
On 19/03/2015 2:26 PM, andrejfa...@ml1.net wrote: Greetings. I was told to email my question. Why do my posts not get accepted to the mailing list? Example: http://r.789695.n4.nabble.com/How-do-I-move-the-horizontal-axis-in-a-plot-so-that-it-starts-at-the-zero-of-the-vertical-axis-td4696935.htm

Re: [R] remove outliers with scatterplotMatrix

2015-03-19 Thread David Winsemius
On Mar 19, 2015, at 8:06 AM, Pagliari, Roberto wrote: > outliers may sometimes make a scatter plot less understandable. > > when using scatterplotMatrix, is it possible to automatically remove them? I've known people who set values to NA that are outside some predefined threshold such as less

Re: [R] remove outliers with scatterplotMatrix

2015-03-19 Thread Pagliari, Roberto
Thank you John, I will try that one. Bob, From: John Fox [j...@mcmaster.ca] Sent: Thursday, March 19, 2015 2:08 PM To: Pagliari, Roberto Cc: r-help@r-project.org Subject: RE: [R] remove outliers with scatterplotMatrix Dear Roberto, This is, I assume, t

[R] Why do my posts not get accepted to the mailing list?

2015-03-19 Thread andrejfavia
Greetings. I was told to email my question. Why do my posts not get accepted to the mailing list? Example: http://r.789695.n4.nabble.com/How-do-I-move-the-horizontal-axis-in-a-plot-so-that-it-starts-at-the-zero-of-the-vertical-axis-td4696935.html I don't understand why I always have this problem

Re: [R] remove outliers with scatterplotMatrix

2015-03-19 Thread John Fox
Dear Roberto, This is, I assume, the scatterplotMatrix() function in the car package. There is no option for automatically removing outliers, although the various options for labeling points should help you identify them. If you want to remove outliers once identified, you could use the subset ar

[R] Multicollinearity, plm, and omitting variables

2015-03-19 Thread A. John Woodill
I'm fitting a fixed effect model with plm and know that I'm dealing with multi-collinearity between two of the independent variables. I working on identifying multicolliearity in models as a practice and have identified the variable with alias(), then verified with vif(). I was also able to use kap

[R] remove outliers with scatterplotMatrix

2015-03-19 Thread Pagliari, Roberto
outliers may sometimes make a scatter plot less understandable. when using scatterplotMatrix, is it possible to automatically remove them? [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, se

Re: [R] Timestamp of exported files not updated when the file name is overwritten (ggsave)

2015-03-19 Thread jim holtman
I just tried the example for 'ggsave' and waited a minute between each run, and the time modified for the file name was correct in that it showed a different time when run the second time. Please post the code you are running, the system you are using and then an example of what the times are. A

Re: [R] Which is better: Modifying an existing package or creating a new one?

2015-03-19 Thread billy am
I would second that. -- | http://billyam.com || http://use-r.com || http://shinyserver.com (BETA) SAS Certified Base Programmer for SAS 9 Oracle SQL Expert(11g) On Thu, Mar 19, 2015 at 4:39 PM, Thierry Onkelinx

[R] Tele_R - first experiences

2015-03-19 Thread Dr. Wolfgang Lindner
Dear R community, some days ago Enric Cervera Mateu has installed an R client with instant messaging, which is usable very simple via the public name @Tele_R in the messenger Telegram. I have tested Tele_R and e.g. tried most of the examples from [1] W.N. Venables, D.M. Smith, R Core Team. "An In

[R] R Course in Dublin (April 15-17)

2015-03-19 Thread Antony Unwin
Details at http://insightsc.ie/training/r-statistical-software/ Antony Unwin University of Augsburg, Germany and Insight Statistical Consulting, Dublin, Ireland __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch

[R] glmnet: converting coefficients back to original scale

2015-03-19 Thread Mark Seeto
Dear R-help, I'm having trouble understanding how glmnet converts its coefficient estimates back to the original scale. Here's an example with ridge regression: library(glmnet) set.seed(1) n <- 20 # sample size d <- data.

[R] glm in hdlm?

2015-03-19 Thread Stanislav Aggerwal
I am following the example in the vignette for hdlm (p. 19), but I cannot get it to to fit a logistic. For those who don't know the package, it allows one to fit high dimensional data where the number of variables may exceed the number of cases. library(hdlm) LMFUN <- function(x,y) return(glm(y ~

Re: [R] how to get coefficient and scores of Principal component analysis in R?

2015-03-19 Thread smb123
Actually, the loadings are quite different from the coefficients. The loadings are simply correlations of the original values to the scores for a PCA factor. The coefficients, on the other hand, allow one to compute the scores. There is a coefficient for each variable. The coefficient is multip

Re: [R] Order Bars in ggplot2 bar graph

2015-03-19 Thread Thierry Onkelinx
You need to set the levels of the factor in the required order. data$Leaf <- factor(data$Leaf, levels = c("C_Cot", "C_2", "C_1")) ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assu

[R] Order Bars in ggplot2 bar graph

2015-03-19 Thread michael.eisenring
Dear experts, I am trying to make a bar graph using ggplot2. I would like to define the order of my bars independently of alphabetical or numerical order. How can I do that. Here a simplified example of my code and comments(#) describing my problem: #Code start library(ggplot2) bar<-ggplot(da

[R] Timestamp of exported files not updated when the file name is overwritten (ggsave)

2015-03-19 Thread David Villegas Ríos
Hi. I have a script in which I export some plots to a folder in my PC. The plots are exported with the function ggsave (in ggplot2). Whenever I re-run the code and export updated plots, the name of the exported file is overwritten (as expected) but the timestamp is not updated what turns it very di

Re: [R] Which is better: Modifying an existing package or creating a new one?

2015-03-19 Thread Thierry Onkelinx
I would consider a third option: suggest the changes to the package authors. The authors might include your modifications to the original package if they feel that it would improve their package. Otherwise go for option 2. Option 1 will be harder to maintain if you want benefit from the updates on

[R] Which is better: Modifying an existing package or creating a new one?

2015-03-19 Thread jpm miao
Hi, Given that I frequently use A, B, C, D, E packages. In each of the 5 packages, I intend to modify one of the functions. Two ways: 1st: Modify A, B, C, D, E to A', B', C', D', E' Then I will use library(A') . library(E') instead of A, B, C, D, E. or Just keep the names A, B,