Re: [R] dealing with sweave.sty and pgfSweave

From: Ista Zahn <izahn_at_psych.rochester.edu>
Date: Sun, 22 May 2011 10:54:20 -0400

Hi Ravi,
There are a couple of ways to do it. See chapter 4 of the MikTeX documentation.

Best,
Ista

PS. List: Is there any reason why Sweave.sty should not be distributed with the major LaTeX distributions (TeXlive, MacTeX, MikTeX)? Every time I add Sweave.sty to my texmf directory I wonder about this.

On Sat, May 21, 2011 at 6:53 PM, ravi <rv15i_at_yahoo.se> wrote:
> Hi,
> I would appreciate some help with a very basic problem in using pgfSweave. That
> is, dealing with the sweave.sty file. After some googling, I did the following :
> (1) copied the sweave.sty file to my trial folder and (2) added the line
> \usepackage{Sweave}   to the Rnw file. Are there more elegant ways of dealing
> with this issue?
>
> I have read something about letting Miktex know about the path to the sweave.sty
> file. How do I do this? I am a newcomer to Miktex and would appreciate some
> detailed instructions.
>
> On running the pgfSweave commands in Tinn-R, I did not receive any error
> messages (though I got any number of them before I arrived at the two solutions
> mentioned above). However, on running the commands in Rstudio, I received the
> following warning message :
>  In utils::RweaveLatexSetup(file, syntax, output = output, quiet = quiet,  :
> path to 'C:/Program Files/R/R-2.13.0/share/texmf/tex/latex/Sweave' contains
> spaces, this may cause problems when running LaTeX
>
> Short of reinstalling R in a separate folder, is there something that I can do
> to fix this problem?
>
> I have R2.13 on a win XP pc.
> Thanking you,
> Ravi
>
> ______________________________________________
> 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.
>

-- 
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org

______________________________________________
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.
Received on Sun 22 May 2011 - 14:58:25 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 22 May 2011 - 15:00:09 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive