[R] building zip?

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Fri May 23 13:23:22 CEST 2003


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.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907




More information about the R-help mailing list