[R] How to run R in batch mode

Beatriz ramos.beatriz at gmail.com
Fri Nov 18 17:12:10 CET 2005


I've only wirtten
library(limma)
in my "test.txt" file and I've tried with test.R and test.r too

I' don't know the problem

Thank you


Paul Roebuck wrote:

>On Fri, 18 Nov 2005, Beatriz wrote:
>
>  
>
>>I want to run R in batch mode but it doen't work (Error: syntax error)
>>
>>I've found this in R help:
>>R CMD BATCH [options] infile [outfile]
>>
>>I have tried differents commands:
>>(I have been working in the same directory I have "test.txt" file and
>>"test2.txt" would be the output file)
>>
>> > R CMD BATCH test.txt
>>
>>[SNIP additional tries]
>>
>>I don't know what is wrong. Could you help me, please?
>>    
>>
>
>Isn't it possible that it is working just fine and you really
>do have a syntax error in your R source file (better named
>as 'test.R') instead?
>
>----------------------------------------------------------
>SIGSIG -- signature too long (core dumped)
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>  
>




More information about the R-help mailing list