Skip to content

Arguments

2 messages · yonosoyelmejor, Gabor Grothendieck

#
hello,I would like to ask a question,Is there any way to pass arguments to a
script?I have this code:

Invernadero<-read.table(file.choose(),header=T,sep=",")

attach(Invernadero)
names(Invernadero)
Invernadero<-ts(Invernadero<-argument) //Here introduce the argument

plot(Hora,Invernadero,main=arguemtn,xlab="Tiempo",ylab=argument)

Thanks for your attention,I hope your answers.

Cheers,
Ignacio.
#
See ?commandArgs
Also the getopt and optparse CRAN packages.

On Fri, Nov 27, 2009 at 4:20 AM, yonosoyelmejor
<yonosoyelmejor at hotmail.com> wrote: