michael watson (IAH-C)
2005-Jan-04 11:31 UTC
[R] Difference between "R CMD build --binary" and "R CMD INSTALL --build"
As the title suggests, when building R packages on Windows, what is the difference between: R CMD build --binary mypack And R CMD INSTALL --build mypack ?? The former is suggested by my previous notes and seems to work, and the latter is suggested by http://www.biostat.jhsph.edu/~kbroman/Rintro/Rwinpack.html, and also seems to work. Thanks in advance Mick
Duncan Murdoch
2005-Jan-04 11:53 UTC
[R] Difference between "R CMD build --binary" and "R CMD INSTALL --build"
On Tue, 4 Jan 2005 11:31:27 -0000, "michael watson \(IAH-C\)" <michael.watson at bbsrc.ac.uk> wrote:>As the title suggests, when building R packages on Windows, what is the >difference between: > >R CMD build --binary mypack > >And > >R CMD INSTALL --build mypack > >?? The former is suggested by my previous notes and seems to work, and >the latter is suggested by >http://www.biostat.jhsph.edu/~kbroman/Rintro/Rwinpack.html, and also >seems to work.The former builds the package in a temporary directory. The latter installs the package in the standard library location, then builds from the installed copy. This does a better job because it allows help links to other packages. Duncan