[R] Package development on Windows - latest guidance?

Duncan Murdoch murdoch at stats.uwo.ca
Sat Oct 28 19:33:28 CEST 2006


On 10/28/2006 1:08 PM, Michael Prager wrote:
> Thanks to Gabor G., Duncan M., and Hong O. for helpful
> replies.  I've made some progress, but have two questions.
> 
> Can anyone explain *how* R CMD searches for latex?  I have
> provided a batch file (shell script) and and alias (I use a
> Windows command shell with aliasing) that each provide the
> proper VTeX command when "latex" is typed from the command
> line. The batch file in on my PATH, but "R CMD check" still
> fails when it searches for latex.  Is there any way around
> this, or will I have to relent and install MikTeX solely for
> this purpose? 
> 
> Also, R CMD build makes a tarball.  Can I simply ZIP the same
> material that's in the tarball to make a working Windows
> installable package?

Oops, missed the second question.  No, that won't work.  Use "R CMD 
INSTALL --build" or (if you don't want to install) "R CMD build 
--binary".  The former is better, because help links won't work properly 
with the latter.

Duncan Murdoch



More information about the R-help mailing list