Skip to content

building zip?

3 messages · Kurt Sys, Peter Dalgaard, Roger Bivand

#
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).


tnx,
Kurt
#
Kurt Sys <kurt.sys at UGent.be> writes:
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.
#
On 23 May 2003, Peter Dalgaard BSA wrote:

            
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.