From ligges at statistik.uni-dortmund.de  Mon Jun 12 12:03:35 2006
From: ligges at statistik.uni-dortmund.de (Uwe Ligges)
Date: Mon, 12 Jun 2006 12:03:35 +0200
Subject: [Rd] Making a windows packages with zip
In-Reply-To: <f8e6ff050606120256v89f05f3q4e55939b41b3bcd9@mail.gmail.com>
References: <f8e6ff050606120256v89f05f3q4e55939b41b3bcd9@mail.gmail.com>
Message-ID: <448D3BF7.9040608@statistik.uni-dortmund.de>

hadley wickham wrote:
> In the past I have been able to make windows packages (containing only
> R code) from my mac by simply zipping the installed package directory,
> eg.
> 
> R CMD install asmrsim
> cd ~/Library/R/library/
> zip -r9X asmrsim asmrsim
> 
> (using code copied from this list, from Duncan Murdoch, I think)
> 
> However, since 2.3.0, windows users now get the following error:
> 
> Error in library(pkg, character.only = TRUE) :
>        'asmrsim' is not a valid package -- installed < 2.0.0?
> 
> 
> Obviously, the zip file was a hack in the first place, but is there
> any way to continue to make windows packages easily, or should I grit
> my teeth and install the cross compilation tool chain?


Either the latter or ask the Windows users to install the source package.

Uwe Ligges


> Thanks,
> 
> Hadley
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] Making a windows packages with zip
Uwe Ligges