Re: [R] Sweave

From: Sarah Goslee <sarah.goslee_at_gmail.com>
Date: Wed, 20 Apr 2011 12:16:41 -0400

Hi,

On Wed, Apr 20, 2011 at 12:11 PM, R Heberto Ghezzo, Dr <heberto.ghezzo_at_mcgill.ca> wrote:
> Hello,
> I never used Sweave before but now I try and got:

Have you installed LaTeX on your computer? It doesn't come installed on Windows machines by default. I would suggest MiKTeX http://www.miktex.org/ but people who use Windows more often than I do may have other ideas.

Sarah

>>  rnwfile <- system.file("Sweave", "example-1.Rnw", package = "utils")
>>  Sweave(rnwfile)
> Writing to file example-1.tex
> Processing code chunks with options ...
>  1 : echo term verbatim
>  2 : term verbatim pdf
> You can now run (pdf)latex on 'example-1.tex'
>>  tools::texi2dvi("example-1.tex", pdf = TRUE)
> Error in tools::texi2dvi("example-1.tex", pdf = TRUE) :
>  pdflatex is not available
>>
> The code is from Sweave.pdf file in utils/doc
> I am using R-2.13.0 in Win7  Toshiba laptop
> Please any help?
>
> R.Heberto Ghezzo Ph.D.
> Montreal - Canada
> __

-- 
Sarah Goslee
http://www.functionaldiversity.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 Wed 20 Apr 2011 - 16:19:03 GMT

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 Wed 20 Apr 2011 - 16:40:32 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