[R] Working with R batch
Shai Shen-Orr
lvssso at bioinfo.weizmann.ac.il
Wed Apr 5 23:03:22 CEST 2000
Hi all,
I'm trying to invoke R from a perl program, using R BATCH. My original
R program wrote an output to a file and plotted a graph. I'm having
problems with the following three things:
1) To get the output file name form the perl program I wrote the
following, in my R program:
commandArguments <- commandArgs();
outputFile <- commandArguments[length(commandArguments)];
This seems to not have worked. Any ideas on why, or how else should I
be doing it ?
2) For some reason when I'm using R BATCH, my plot doesn't come up, I
remember reading someplace that sometimes there might be problems with
graphics & batch, but does anybody know how to get passed them ?
3) How can I print a plot ? Is it only through the postscript() command
?
Thanks,
Shai
--
Shai Shen-Orr
Crown Human Genome Center and Bioinformatics Unit,
Weizmann Institute of Science
Home page and more contact info: http://bioinfo.weizmann.ac.il/~lvssso
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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