instructions below describe what I've been doing to compile an R
package for Windows. Check out the files
in the R source distribution for the official (and recommended)
approach. Most importantly, see this page.
Also note: there is an online service (http://win-builder.r-project.org) for building and checking R packages for Windows.
Rtools.exefile. This includes:
When given the option to edit your PATH, take it (see item 5 below).
Rtools.exe, you're given the option to edit your PATH.)
c:\Rtools\bin;c:\Rtools\perl\bin;c:\Rtools\MinGW\bin;c:\R\binand then any other stuff at the end. (Most problems I've experienced have been due to incorrect directories here, or an incorrect order in the directories.)
With R version 2.14, this is easier than ever before.
I'll use, as an
example, my own package,
c:\MyRpackages(containing the file
R CMD INSTALL --build qtl_1.22-18.tar.gz
qtl_1.22-18.zipshould be created.
|Last modified: Mon Apr 9 10:16:06 2012|