[R] building zip?

Roger Bivand Roger.Bivand at nhh.no
Fri May 23 13:38:50 CEST 2003

On 23 May 2003, Peter Dalgaard BSA wrote:

> Kurt Sys <kurt.sys at UGent.be> writes:
> > Hello,
> > 
> > I know this might sound stupid, but here's my problem. I try to build
> > packages, which gives absolutely no problem as long as I do this in
> > Linux. I get my .tar.gz-package. However, for windows, one needs
> > .zip-files (I guess), but for one reason or another, this seems not to
> > work.
> > I'm sorry about this question, but I'm not a windows-specialist (nor
> > Linux-guru). I don't see how to make 'zip'-packages in linux and
> > trying this in Windows ('Rcmd build <package>' at the DOS prompt),
> > tells me it can't find perl script 'c:\Progra~1\R/bin/build' (or
> > something like that).
> You can use tar.gz files on Windows too, you just need to have the 
> toolchain installed (which most people don't). 
> I suspect you need to install the source tools. There's a check box
> for that when you install R (off by default; I actually thought I had
> convinced Duncan to change it, but apparently not). If you do have
> them installed, my best guess is that you need perl itself or that it
> is not configured right. 
> However, that won't end your troubles... You do need to read the
> readme.packages file for what to do next. Basically, you have to
> install the package from source and zip the resulting installed
> package directory.
Actually, Rcmd build --binary <pkg> does a great job of making the binary 
package *.zip automatically - if Rcmd check runs cleanly, building the 
binary will too.


Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Breiviksveien 40, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
e-mail: Roger.Bivand at nhh.no

More information about the R-help mailing list