[R] dealing with sweave.sty and pgfSweave

From: ravi <rv15i_at_yahoo.se>
Date: Sat, 21 May 2011 23:53:47 +0100 (BST)

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,

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 Sat 21 May 2011 - 23:00:28 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:30:08 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