[NTG-context] Difficulties using the r module

Hans Hagen pragma at wxs.nl
Sun Jul 2 22:40:42 CEST 2006


Olaf Mersmann wrote:
> Hi Hans,
>
> * Hans Hagen <pragma at wxs.nl> [060702 13:25]:
>   
>> one problem could be that R has this piping; i wonder why a program that 
>> takes a 50 meg installation does not support something --output or i 
>> must have missed something
>>     
>
> R does support redirecting output to a file. Use
>
>   R CMD BATCH [options] <infile> <outfile>
>   
currently we use:

\def\runR {\executesystemcommand{texmfstart --ifchanged=\Rfile\space 
--direct R "-q --save --restore < \Rfile\space > \Rfile.out"}}

so how should it look then?

Hans


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list