[R] BATCH versus pasting commands
David Scott
d.scott at auckland.ac.nz
Fri Feb 8 05:17:06 CET 2002
I have a problem with trying to run a batch job. I am looping over a
number of variables in a dataframe, doing some plots and wilcoxon tests.
Then I restrict to a subset of the data, and do the same thing.
Because of missing data, some of the wilcoxon tests fall over, so I have
used try to get past them. Using R CMD BATCH, the job terminates with a
syntax error after the first loop is completed. If I just paste the whole
file into R, it runs through without a problem. I can break it up into two
command files and use a shell script, but I would welcome and
explanation of why I have the problem. Any other workarounds would
interest me too.
David Scott
> R.version
_
platform sparc-sun-solaris2.8
arch sparc
os solaris2.8
system sparc, solaris2.8
status
major 1
minor 4.0
year 2001
month 12
day 19
language R
_________________________________________________________________
David Scott Department of Statistics
Tamaki Campus
The University of Auckland, PB 92019
Auckland NEW ZEALAND
Phone: +64 9 373 7599 ext 6830 Fax: +64 9 373 7000
Email: d.scott at Auckland.ac.nz
President, New Zealand Statistical Association
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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