[R] Help using system() command to execute Perl script through MSDOS

2013-03-06 Thread pdbarry
I am working on creating a program for some simulations I need to do and I want to execute a Perl script that I wrote using the system() command in R. I have spent a couple days trying to figure this out and it appears that my problem occurs when sending the perl script file path through R to MSDO

[R] Read Content from URL to XML format

2013-03-06 Thread R_Antony
Hi, i want to know how to read a table values from a URL and get it as XML content. Could anyone please help me out ASAP ? Thanks, Antony. -- View this message in context: http://r.789695.n4.nabble.com/Read-Content-from-URL-to-XML-format-tp4660561.html Sent from the R help mailing list archi

Re: [R] multiple plots and looping assistance requested (revised codes)

2013-03-06 Thread arun
HI Irucka, Try this: temp1<-lapply(temp,function(x) x[complete.cases(x),])  temp2<-lapply(temp1,function(tempNew) lapply(tempNew[,-1],function(x) {x1<-cbind(CYEAR_DECIMAL=tempNew[,1],x)})) pdf("Irucka2.pdf")  par(mfrow=c(1,2)) lapply(names(temp2),function(i) lapply(temp2[[i]],function(x) {plo

Re: [R] multiple plots and looping assistance requested (revised codes)

2013-03-06 Thread arun
HI, Try this:  temp1<-lapply(temp,function(x) x[complete.cases(x),])  temp2<-lapply(temp1,function(tempNew) lapply(names(tempNew)[-1], function(i){x1<-cbind(tempNew[,1],tempNew[,i]); colnames(x1)<- c("CYEAR_DECIMAL",i);x1})) pdf("Irucka3.pdf")  par(mfrow=c(1,2)) lapply(names(temp2),function(i) la

[R] why package ZIGP is not there anymore?

2013-03-06 Thread lili puspita rahayu
Mr/Mrs I am Lili Puspita Rahayu, student from Bogor Agriculture University. I wanna ask that why package ZIGP (Zero inflated Generalized Poisson) is not there anymore? is there any other packages that can analyze ZIGP? I am very grateful for the assistance of R. I am looking forward to hearing

[R] create vector from indices interpolated values

2013-03-06 Thread e-letter
Readers, Is it possible to create a plot command based upon the indices of missing values in a data set? dataset1<-read.table(text=' 10 2 20 NA 30 5 40 7 50 NA 60 NA 70 2 80 6 90 NA 100 9 ') dataset2<-read.table(text=' 0.2 0.4 0.1 0.9 0.2 0.3 1.1 0.7 0.9 0.6 0.4 ') The 'approx' function is used

Re: [R] multiple plots and looping assistance requested (revised codes)

2013-03-06 Thread Irucka Embry
Hi Arun, that worked perfectly for the smaller data set, but it has failed to plot in the whole data set where I have missing columns (either 1 or 2 columns missing). How can I ask any NAs not to be plotted? I have attempted to use na.omit(temper2[[i]]), but it did not work. See below: pdf("Seaso

Re: [R] Ggplot2: Moving legend, change fill and removal of space between plots when using grid.arrange() possible use of facet_grid?

2013-03-06 Thread Anna Zakrisson
Dear Thierry, thank you! this was exactly what I wanted. Just one question: If I use the facet_wrap(~Grouping, ncol=2) and not ncol=3, how can I add an x-axis to the plot that is missing one? I think that the ncol=2 looks nicer (like you have suggested) than the ncol=3, which would avoid this p

Re: [R] Ggplot2: Moving legend, change fill and removal of space between plots when using grid.arrange() possible use of facet_grid?

2013-03-06 Thread Anna Zakrisson
Dear Stephen, thank you for the tip regarding Incskape. I had never heard of it before. It looks extremely useful! With kind regards Anna Zakrisson Braeunlich PhD student Department of Ecology Environment and Plant Sciences Stockholm University Svante Arrheniusv. 21A SE-106 91 Stockholm Sweden

Re: [R] Ggplot2: Moving legend, change fill and removal of space between plots when using grid.arrange() possible use of facet_grid?

2013-03-06 Thread Anna Zakrisson
Dear John, thank you so much for your time! The tip regarding the position of the legend was extremely useful: theme(legend.position = c(.5, .5) Also, how to get the shape fill hollow: scale_shape(solid = FALSE) your long script helped me with several issues that I have had particularly tweaki

<    1   2