[R] Newbie help with Sweave

Thomas Strehl xj at anonx.at
Tue Mar 25 21:30:25 CET 2008


Zembower, Kevin <kzembowe <at> jhuccp.org> writes:

> \usepackage{C:/PROGRA~1/R/R-26~1.2/share/texmf/Sweave}


Hi !

Just ran into the same problem. Reason is the line above that is inserted into
the .Rnw file by Sweave. Cause is the blank in the dir name. I solved the
problem by moving the R installation from "c:\program files\R\R-2.6.2" to
"c:\programme\R\R-2.6.2". Updated the properties in the desktop icon, updated
the PATH variable in system settings, and corrected the path to the R binary in
the emacs/ESS startup file (in case you use emacs).

Hope this helps
Thomas



More information about the R-help mailing list