[R] Automation of R input

2013-04-23 Thread Vahe nr
Hi all, I have R script which during its run require an input like this: choose between one of the grouping factor available : c("Village", "Country") can I automate this part, in other word to pass for example Village when I am running the script. One more thing the script is the TimeSeriesAnal

[R] Re

2013-04-23 Thread Vahe nr
Hi andrija djurovic, Thanks a lot for your replyand for your useful suggestions. Actually I need to run this script without user interaction, so when it is required to input Village I need to pass it automatically not by the user. Regards, Vahe [[alternative HTML version deleted]]

[R] One more question...

2013-04-23 Thread Vahe nr
Thanks a lot Andrija... I run the following in Rsutdio: library("ndvits", lib.loc="/home/vahe/R/i686-pc-linux-gnu-library/2.15") ndvidirectory=paste(system.file("extdata/VITO_Mzimba", package="ndvits"), "/", sep="") region="Mzimba" Ystart=2004 Yend=2006 shape="SLP_M

[R] One more question please...

2013-04-23 Thread Vahe nr
I executed the code in rstudio successfully: library("ndvits", lib.loc="/home/vahe/R/i686-pc-linux-gnu-library/2.15") ndvidirectory=paste(system.file("extdata/VITO_Mzimba", package="ndvits"), "/", sep="") region="Mzimba" Ystart=2004 Yend=2006 shape="SLP_Mzimba" shape

[R] Need a little help about this script...

2013-04-23 Thread Vahe nr
library("ndvits", lib.loc="/home/vahe/R/i686-pc-linux-gnu-library/2.15") ndvidirectory=paste(system.file("extdata/VITO_Mzimba", package="ndvits"), "/", sep="") region="Mzimba" Ystart=2004 Yend=2006 shape="SLP_Mzimba" shapedir=paste(system.file("extdata/shape", packag

[R] Fwd: One more question please...

2013-04-23 Thread Vahe nr
I executed the code in rstudio successfully: library("ndvits", lib.loc="/home/vahe/R/i686-pc-linux-gnu-library/2.15") ndvidirectory=paste(system.file("extdata/VITO_Mzimba", package="ndvits"), "/", sep="") region="Mzimba" Ystart=2004 Yend=2006 shape="SLP_Mzimba" shape

[R] Simulate user input in R

2013-04-23 Thread Vahe nr
Dear all, Can we simulate user input in R ? for example if we have a function which needs an input from the user to continue its work, can we automate this step (simulate the input...) Here is the sample: choose between one of the grouping factor available : c("Village", "Country") we need to ent

Re: [R] Simulate user input in R

2013-04-24 Thread Vahe nr
Playing > Research Engineer (Solar/BatteriesO.O#. #.O#. with > /Software/Embedded Controllers) .OO#. .OO#. rocks...1k > --- > Sent from my phone. Please excuse my brevity.

[R] Error in validObject(.Object) :

2013-04-25 Thread Vahe nr
Hi all, I am trying to run R NDVITS package, and I am getting the following error: Error in validObject(.Object) : invalid class “GridTopology” object: cells.dim has incorrect dimension Can you please suggest any idea about understanding this error and solving it. Regards, Vahe [[al

[R] read .csv file and plot a graph

2013-05-03 Thread Vahe nr
Hi all, I have a big .csv file (21Mb with 100 rows) it has this shape: x 1 NaN 2 NaN 3 0.23 and so on. So the first column has x as a header then row number, the second column contains values between -1,1 and NaN for empty values. What should I need to do is: create a new .csv file from