[R] help with texi2dvi

Gabor Grothendieck ggrothendieck at gmail.com
Fri May 13 17:13:03 CEST 2005


On 5/13/05, Matthieu Cornec <matthieu.cornec at gmail.com> wrote:
> Hello,
> 
> Does anyone know how to write the files created by the call of
> "texi2dvi" in another directory ?

Here are two possibilities:

1. Copy the input files into whatever directory you want using
file.copy and then setwd to that directory and run texi2dvi.
Afterwards delete the copied files using file.remove and setwd
back.  See
?file.copy
?file.remove
?setwd

2. Create a batch file to do the same
thing and then use the texi2dvi= argument of texi2dvi
or set it via options so that the R texi2dvi uses that batch file 
rather than the real texi2dvi.  see ?texi2dvi and ?options




More information about the R-help mailing list