[R] write R scripts

Uwe Ligges ligges at statistik.uni-dortmund.de
Tue Sep 17 08:47:20 CEST 2002


Vincent Plagnol wrote:
> 
> Hi,
> 
> I've just started using R and my question is basic I think. Instead of
> typing each time a lot of lines I'd like to write a script, which
> basically takes as input a data file and outputs a graph.
> Something like:
> 
> data2graph input.txt
> 
> I know the commands I need to type but I don't know how to write such a
> script. Should I use a specific software? Thanks for your help

I guess you are going to write a --- function ?
You'll find how to write a function in the docs...

Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list