Re: [R] help with stacked ggplot

2017-08-18 Thread Jeff Newmiller
If you look below at the detritus of your posting you will see why we are always reminding people to adjust their email programs to send PLAIN TEXT... since this is a plain text mailing list and HTML formatted email does not come through reliably. This and other ground rules are laid out in the

Re: [R] bquote question

2017-08-18 Thread David Winsemius
> On Aug 18, 2017, at 7:27 AM, Andras Farkas via R-help > wrote: > > Dear All, > > could you please provide input on the following: > > plot(1:10,main=paste("\n ","\nABCD","\n","\n","\n > "),cex.main=1.3) > > a<-500 > b<-12 > mtext(bquote(bold(.(formatC(1.2*a,decimal.mark=",

Re: [R] R Issues with packages

2017-08-18 Thread Jeff Newmiller
Github packages are the Wild West of sharing R code... quality varies considerably. If you can trigger the error with a CRAN package then please share that reproducible example here along with the output of sessionInfo(), but if it only occurs with this Github package then perhaps you should as

Re: [R] My very first loop!! I failed. May I have some start-up aid?

2017-08-18 Thread Jeff Newmiller
Thank you for providing the example code... for the request of running it multiple times it would have helped if you could have confirmed that the example ran through without errors... there were a lot of mistakes in it. Look into using the reprex package to check your example next time. I don

Re: [R] My very first loop!! I failed. May I have some start-up aid?

2017-08-18 Thread Jeff Newmiller
The advice to use require is incorrect. The only time you should use require is if you are testing the return value from the require function AND you have a plan of what to do if the package is not available. 99% of the time raising an exception when the package is missing is the correct behav

Re: [R] My very first loop!! I failed. May I have some start-up aid?

2017-08-18 Thread Hasan Diwan
[answers inline] On 18 August 2017 at 20:08, Dagmar wrote: > > myframe<- data.frame (ID=c("Ernie", "Ernie","Ernie","Ernie"), > Timestamp=c("24.09.2012 08:00", "24.09.2012 09:00", "24.09.2012 10:00", > "25.09.2012 10:00"), Longitude=c("8.481","8.482","8.483","8.481"), > Latitude=c("54.753","54.753

[R] My very first loop!! I failed. May I have some start-up aid?

2017-08-18 Thread Dagmar
Dear all, I have a data similar to this: myframe<- data.frame (ID=c("Ernie", "Ernie","Ernie","Ernie"), Timestamp=c("24.09.2012 08:00", "24.09.2012 09:00", "24.09.2012 10:00", "25.09.2012 10:00"), Longitude=c("8.481","8.482","8.483","8.481"), Latitude=c("54.753","54.753","54.752","54.751") ) myfr

Re: [R] R Issues with packages

2017-08-18 Thread Zack Haney
Thanks Jeff I got the Bioconductor packages installed and tried googling the 65535 tried some things and still get the same error. On Fri, Aug 18, 2017 at 10:59 AM, Jeff Newmiller wrote: > You just need to READ the error messages and use Google. > > Don't try to install tcltk. > > The other two

Re: [R] R Issues with packages

2017-08-18 Thread Jeff Newmiller
You just need to READ the error messages and use Google. Don't try to install tcltk. The other two packages are not available through CRAN... they are Bioconductor packages. (Not supported here... use Google.) And learn to post plain text in the future to avoid scrambling what you thought you

[R] bquote question

2017-08-18 Thread Andras Farkas via R-help
Dear All, could you please provide input on the following: plot(1:10,main=paste("\n ","\nABCD","\n","\n","\n"),cex.main=1.3) a<-500 b<-12 mtext(bquote(bold(.(formatC(1.2*a,decimal.mark=",",digits=2,format="f")))~ " words "~bold(.(b))~" words"~"\n"~"\n")) as you will

[R] R Issues with packages

2017-08-18 Thread Zack Haney
so I am trying to get my R setup to run this users package. Any help would be great THANKS devtools::install_github(repo = "dadrivr/ffanalytics") I get this devtools::install_github(repo = "dadrivr/ffanalytics") Downloading GitHub repo dadrivr/ffanalytics@master from URL https://api.github.com/r

[R] help with stacked ggplot

2017-08-18 Thread Mary Rigdon
Hi, I am new to R and this is probably a very basic question but I can’t seem to figure out a solution. I am creating a stacked ggplot with the following data and code: PercentageData.csv looks like this: decision treatment percentage labtreatment defect 0 53.49 COMMON defect 1 78.00 ASYMMETRI

Re: [R] installing package lme4

2017-08-18 Thread Doran, Harold
?install.packages On 8/18/17, 7:39 AM, "Lucy McMahon" wrote: >I am hoping to run a generalised linear mixed effect model but I don't >seem to have access to package lme4. > > >library (lme4) >Error in library(lme4) : there is no package called �lme4� > > >I'm unsure of how to go about installing

[R] installing package lme4

2017-08-18 Thread Lucy McMahon
I am hoping to run a generalised linear mixed effect model but I don't seem to have access to package lme4. library (lme4) Error in library(lme4) : there is no package called �lme4� I'm unsure of how to go about installing this package and I haven't been able to find much online either. I a

Re: [R] Meta-regression of categorical variables

2017-08-18 Thread Michael Dewey
Dear Kammy You might get better responses on the mailing list dedicated to meta-analysis in R https://stat.ethz.ch/mailman/listinfo/r-sig-meta-analysis Note you need to register first before posting. On 18/08/2017 10:18, Kammy Tang wrote: Dear metafor users, I am working on a meta-analysi

[R] "How to convert .rdata file into .csv or something else?" [SOLVED:Corrected version2]

2017-08-18 Thread y tanaka
Dear mailing list members, Sorry for the repeated posting, but I have to add two more things. 1) I changed the .Rdata into .rdata in the subject to avoid misunderstanding of readers. 2) To save data in csv file; > write.csv(WV6_Data_R, "input/ch2/WV6_Data_R_v_2016_01_01.csv") Best regards, Yoh

Re: [R] PAM Clustering

2017-08-18 Thread Sema Atasever
Grazie mille, So grateful for your kindness in answering questions. Regards. On Thu, Aug 17, 2017 at 8:50 PM, Germano Rossi wrote: > Sorry, I never use pam. In the help, you can see that pam require a > dataframe OR a dissimilarity matrix. If diss=FALSE then "euclidean" was > use.So, I inter

[R] "How to convert .Rdata file into .csv or something else?" [SOLVED:Corrected version]

2017-08-18 Thread y tanaka
Dear mailing list members, A member found a problem of lines of codes in my last e-mail. I submit the correction to this mailing list as follows. In the final part of my last e-mail message, a csv file is created. But, I cannot open this file, so please ignore the following part.