[R] Arguments
Gabor Grothendieck
ggrothendieck at gmail.com
Fri Nov 27 12:43:10 CET 2009
See ?commandArgs
Also the getopt and optparse CRAN packages.
On Fri, Nov 27, 2009 at 4:20 AM, yonosoyelmejor
<yonosoyelmejor at hotmail.com> wrote:
>
> 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.
> --
> View this message in context: http://old.nabble.com/Arguments-tp26539736p26539736.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
More information about the R-help
mailing list