From ggrothendieck at gmail.com  Mon Oct  3 18:10:23 2005
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Mon, 3 Oct 2005 12:10:23 -0400
Subject: [Rd] Problem Sweaving vignettes: MiKTeX's texi2dvi reports
	errors
In-Reply-To: <17217.21180.971714.394488@galadriel.ci.tuwien.ac.at>
References: <Pine.LNX.4.61.0510022053330.21391@gannet.stats>
	<0INS00H0BI982YZ1@vms040.mailsrvcs.net>
	<971536df0510030831p5c511783m462ac8aebb657ea3@mail.gmail.com>
	<17217.21180.971714.394488@galadriel.ci.tuwien.ac.at>
Message-ID: <971536df0510030910t3c381c4cm5d208180ee7afefb@mail.gmail.com>

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
>



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