Skip to content
Prev 6719 / 15075 Next

Rd2dvi --pdf

On Mon, 4 Jan 2010, Matthew Fero wrote:

            
No.  See the FAQ, specifically section 2.1 and

http://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html#TeX-suite-of-tools-for-documentation-_0028optional_0029

Note that these days the 'R Mac binary installer' contains much less 
than it used to, basically just R (not Tcl/Tk for example).
Unfortunately the CRAN binary of R (which I presume you are using) 
hardocodes the path to the TeX distribution (to values appropriate to 
MacTeX).  Depending on the architecture you are using, look in the 
file named like 
/Library/Frameworks/R.framework/Resources/etc/i386/Renviron and either 
edit the file or set the appropriate environment variables 
appropriately.

MacTeX is not 'lightweight' but you do need quite a lot (including 
fonts) to process Rd format.  So unless you install a comprehensive 
distribution or have one that updates itself on the fly, you are 
likely to spend a lot of time chasing down additional TeX packages.