Re: [R] Package development on Windows - latest guidance?

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Sat 28 Oct 2006 - 17:33:28 GMT

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



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sun Oct 29 04:51:49 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 28 Oct 2006 - 18:30:16 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.