Displaying 1 result from an estimated 1 matches for "read_ob".
Did you mean:
read_cb
2010 Nov 04
0
Echo to file using Rscript
...when code is copied into the R Gui. This works e.g. with the command:
R CMD BATCH --no-restore D:\path\script.r
then a file called script.Rout is generated in the same folder. It
contains the code and the corresponding output.
This does not work using:
Rscript --no-restore D:\Ketzin\Invers\V1\read_obs.r
A partial alternative is to include to the beginning of the code
sink("log.dat",type=c("output","message"))
but the file does not contain the code, only the output. Is there a way
to geneate anything analogue to the *.Rout file? if possible only with
command li...