Re: [R] Unable to load a file: no such file or directory

2014-05-25 Thread Ray Brownrigg
On 26/05/14 10:25, Antonio Carazo wrote: > > Hi, > I have the file DATOS1 in the directory E:/R 3.0.2/R-3.0.2/bin/x64. > If I try to load it, R returns me this error: >> getwd() > [1] "E:/R 3.0.2/R-3.0.2/bin/x64" >> DATOS1<-matrix(scan("E:/R 3.0.2/R-3.0.2/bin/x64/DATOS1"),ncol=8) > Error en file(f

Re: [R] Unable to load a file: no such file or directory

2014-05-25 Thread Jim Holtman
first thing to do is 'list.files()' to see if your file is really there. show us that output. Sent from my iPad On May 25, 2014, at 18:25, Antonio Carazo wrote: > > Hi, > I have the file DATOS1 in the directory E:/R 3.0.2/R-3.0.2/bin/x64. > If I try to load it, R returns me this error: >> ge

Re: [R] Cannot Launch R Help Files under Window 8.1

2014-05-25 Thread Jeff Newmiller
Java should be unrelated to this. One potential issue might be that installing help is an option that you may not have selected when installing R. Another thought is that there may be some anti virus software that is blocking the R help server. ---

[R] Cannot Launch R Help Files under Window 8.1

2014-05-25 Thread Jack Pincus
I've been using R for about 9 months and just installed R 3.1.0 on a new computer running Windows 8.1.  IE is the default browser.  When I type help(round) or ?round  the address: http://127.0.0.1:25976/library/base/html/Round.html appears in IE but I get a message saying the page cannot be dis

[R] Unable to load a file: no such file or directory

2014-05-25 Thread Antonio Carazo
Hi, I have the file DATOS1 in the directory E:/R 3.0.2/R-3.0.2/bin/x64. If I try to load it, R returns me this error: > getwd() [1] "E:/R 3.0.2/R-3.0.2/bin/x64" > DATOS1<-matrix(scan("E:/R 3.0.2/R-3.0.2/bin/x64/DATOS1"),ncol=8) Error en file(file, "r") : no se puede abrir la conexión Además: Mensa

Re: [R] identifying odd or even number

2014-05-25 Thread arun
Hi "Deirdh", You may use ?split() to return a list: x <- 51:80 lst1 <- lapply(split(seq_along(x), x%%2),function(x1) x[x1]) lst1 #$`0` # [1] 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 #$`1` # [1] 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 sapply(lst1,mean,na.rm=TRUE) # 0  1 #66 65 #odd

Re: [R] snpStats reference allele used in genetic associations?

2014-05-25 Thread David Duffy
francesca casalino asked: Does anyone know how to find the reference allele used for genetic associations ran in snpStats? A is ref allele, B is risk allele. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE d

Re: [R] boxplot axis font size

2014-05-25 Thread Rolf Turner
On 25/05/14 23:57, Brian Smith wrote: Hi, I wanted to have a different font for my x-axis and y-axis. How can I use the par function to specify different font sizes for x and y axis? For example: x <- matrix(rnorm(2000),200,10) colnames(x) <- letters[1:10] par(cex.axis=0.5) boxplot(x,cex=0.2)

[R] Making a partial profile factorial design in R

2014-05-25 Thread David Moskowitz
How do I make a partial profile experimental design in R? I currently use the conjoint package or ALGdesign package, but they all use full profile designs. For example, the below creates a full profile design where there is 1 level from each factor present library(conjoint) experiment<-expand.

Re: [R] seeking latex peace

2014-05-25 Thread Prof Brian Ripley
On 25/05/2014 12:34, peter dalgaard wrote: On 25 May 2014, at 12:56 , Duncan Murdoch wrote: On 25/05/2014, 6:17 AM, Jim Lemon wrote: Hi all, I realize that this is not an R question, but in attempting to build a new version of a package, I have encountered the error: Error in texi2dvi(file

Re: [R] Balloon plot scaling problem

2014-05-25 Thread John Kane
@ Jim, I think you have a corrupted verison of ggplot2 as it has a complete help section--occassionally, wll usually, a bit terse but it's there. I don't see why Kathy cannot use your solution in ggplot2. @ Kathy Try this . Does it approach what you want? If not Jim may be able to suggest a be

[R] boxplot axis font size

2014-05-25 Thread Brian Smith
Hi, I wanted to have a different font for my x-axis and y-axis. How can I use the par function to specify different font sizes for x and y axis? For example: x <- matrix(rnorm(2000),200,10) colnames(x) <- letters[1:10] par(cex.axis=0.5) boxplot(x,cex=0.2) But this sets the font size to 0.5 for b

Re: [R] seeking latex peace

2014-05-25 Thread peter dalgaard
On 25 May 2014, at 12:56 , Duncan Murdoch wrote: > On 25/05/2014, 6:17 AM, Jim Lemon wrote: >> Hi all, >> I realize that this is not an R question, but in attempting to build a new >> version of a package, I have encountered the error: >> >> Error in texi2dvi(file = file, pdf = TRUE, clean = cl

Re: [R] seeking latex peace

2014-05-25 Thread Duncan Murdoch
On 25/05/2014, 6:17 AM, Jim Lemon wrote: Hi all, I realize that this is not an R question, but in attempting to build a new version of a package, I have encountered the error: Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, : pdflatex is not available As I could not

[R] seeking latex peace

2014-05-25 Thread Jim Lemon
Hi all, I realize that this is not an R question, but in attempting to build a new version of a package, I have encountered the error: Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, : pdflatex is not available As I could not find any way to install pdflatex (it didn