Displaying 2 results from an estimated 2 matches for "envirovment".
Did you mean:
environment
2004 Feb 20
2
passing object names in a vector to save?
Hi!
Like to write quite a lot (ca 100) of objects from my envirovment with save.
The names of the objects are in a list nam.
nam<-dir()
nam<-grep("E",nam,value=T)
length(nam)
20
for(x in nam)
{
#reads the objects and assigns the names.
assign(x,simFromEmboss(Simmatrix(),x))
nnam<-paste(x,".rda",sep="")
print(nnam)
save(x...
2004 Aug 27
3
About passing parameter to '.R' script file
Hi,
I am trying the 'R' application for generating the data for the uploaded '.gpr' file. I have written script file named 'test.R'. Currently i have hardcoded the path of uploaded '.gpr' file in the script itself.
I would like to know how to pass a command line parameter to the 'test.R' script file, so that i dont have to hardcode the path and filename