[R] Re: your mail

Alexander A. Morgan amorgan at linus.mitre.org
Mon Feb 19 05:16:30 CET 2001


The infile has the structure of a set of commands given to R (like a shell
script).   You can use your .Rhistory file as a template (that is
something I do).  If you are using BATCH, one way to get it to process a
data file given as a argument is to use the commandArgs() function (@ARGV
from Perl basically).   Another thing that might be useful to you is
.Rprofile which is a local file, when you call R in its directory it
excecutes first (it also basically an 'R script').  Again, another nice
way of generating an .Rprofile is just to run your R session, saving your
history to .Rhistory.

On Sun, 18 Feb 2001, VALIERE Nathaniel wrote:

> Hi,
> 
> How can we use the command BATCH (or where could I find help), there is not
> enough help in the help command.
> 	-what the structure of infile ?
> 	-what can we do with BATCH ?
> 	-Is it possible to analyse with the same stat method many file or dataset ?
> 
> thanks in advance
> N.VALIERE
> ************************************************
> 
> VALIERE Nathaniel
> Laboratoire Biométrie et Biologie Evolutive
> UMR5558
> 43, boulevard du 11 Novembre 1918
> F69622 VILLEURBANNE Cedex
> FRANCE
> 
> ************************************************
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> 

-Alex Morgan

Phone: 781-271-6306                       "They laughed at Newton.
Office: 3K-136                            They laughed at Einstein.
AOL Instant Messenger: HomeySage          But they also laughed at Groucho
                                          Marx."
                                                      --Carl Sagan

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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