[R] texi2pdf texinputs arguments
Henrik Bengtsson
hb at biostat.ucsf.edu
Fri Apr 19 00:34:12 CEST 2013
I'm pretty sure the intended design is to always use the current
working directory as the output directory, cf. 'Value' section in
help("texi2dvi", package="tools"):
"Used for the side effect of creating a dvi or PDF file in the current
working directory (and maybe other files, especially if clean =
FALSE)."
So, use setwd() before calling texi2dvi() if you like a different directory.
/Henrik
On Thu, Apr 18, 2013 at 3:23 PM, Duncan Mackay <mackay at northnet.com.au> wrote:
> Dear All
>
> I am trying to specify the output directory and the directory for the log
> files (the same) for texi2dvi.
>
> The default for my windows computer is C:\Users\...\Documents which I do not
> want.
> The help guide:
> texinputs NULL or a character vector of paths to add to the LaTeX and
> bibtex input search paths.
> is a little cryptic for me this morning
>
> I have tried
> texi2dvi(file = "d:/Cic/Sweave/Figs/Sheep3/FS/14/sFSheepFS14.tex",
> pdf=TRUE,clean=F, texinputs =
> "--include-directory=d:/Cic/Sweave/Figs/Sheep3/FS/14")
> and other variants
>
> Any guide on how to specify the output directory would be greatly
> appreciated.
>
> Regards
>
> Duncan
>
> Duncan Mackay
> Department of Agronomy and Soil Science
> University of New England
> Armidale NSW 2351
> Email: home: mackay at northnet.com.au
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list