Displaying 1 result from an estimated 1 matches for "commandargu".
Did you mean:
commandargs
2000 Apr 05
1
Working with R batch
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 ther...