[Rd] Problem Sweaving vignettes: MiKTeX's texi2dvi reports errors

Gabor Grothendieck ggrothendieck at gmail.com
Mon Oct 3 18:10:23 CEST 2005


There is a batch file in batchfiles at
http://cran.r-project.org/contrib/extra/batchfiles/
that copies the .sty files to miktex's directory.  This is also discussed on
Duncan's rtools MiKTeX site.  My understanding is that this will not be
necessary from R 2.2.0 onwards but was needed previously.

On 10/3/05, Friedrich.Leisch at tuwien.ac.at <Friedrich.Leisch at tuwien.ac.at> wrote:
> >>>>> On Mon, 3 Oct 2005 11:31:40 -0400,
> >>>>> Gabor Grothendieck (GG) wrote:
>
>  > I have R installed in c:\Program Files\R and I use MiKTeX and texi2dvi
>  > to process my vignettes.  I do keep my package sources elsewhere;
>  > e.g. I would keep the source for mypkg in c:\Rpkgs\mypkg .
>  > and I would install it into c:\Rpkg\library or once I am ready to use it
>  > in production into e.g. c:\Program Files\R\rw2011pat\library
>  > thus I don't think its necessary to relocate R itself.
>
> The problem is the path to the *style file* sitting in
> $RHOME/share/texmf, so having the packages in a different place has
> nothing to do with it. It is also not really necessary to relocate R
> itself, you just have to move the style file to some place where latex
> finds it (e.g., by including $RHOME/share/texmf in your TEXINPUTS path
> ... but that will make troubles when the path contains spaces and we
> are back at the beginning).
>
> .f
>



More information about the R-devel mailing list