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?
Thanks,
Hadley
Making a windows packages with zip
5 messages · Hadley Wickham, Uwe Ligges, Duncan Murdoch
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
Either the latter or ask the Windows users to install the source package.
Installing a source package doesn't seem to help:
install.packages("classifly", repos="http://ggobi.org/r/", type="source")
Warning message:
installation of package 'classifly' had non-zero exit status in:
install.packages("classifly", repos = "http://ggobi.org/r/",
(Unfortunately I don't have access to a windows machine at present -
this is what a user reported)
Hadley
hadley wickham wrote:
Either the latter or ask the Windows users to install the source package.
Installing a source package doesn't seem to help:
install.packages("classifly", repos="http://ggobi.org/r/", type="source")
Warning message:
installation of package 'classifly' had non-zero exit status in:
install.packages("classifly", repos = "http://ggobi.org/r/",
(Unfortunately I don't have access to a windows machine at present -
this is what a user reported)
Oh well, certainly the user forgot to install the required tools as mentioned in the "R Installation and Administration" manual. Uwe Ligges
Hadley
On 6/12/2006 11:25 AM, Uwe Ligges wrote:
hadley wickham wrote:
Either the latter or ask the Windows users to install the source package.
Installing a source package doesn't seem to help:
install.packages("classifly", repos="http://ggobi.org/r/", type="source")
Warning message:
installation of package 'classifly' had non-zero exit status in:
install.packages("classifly", repos = "http://ggobi.org/r/",
(Unfortunately I don't have access to a windows machine at present -
this is what a user reported)
Oh well, certainly the user forgot to install the required tools as mentioned in the "R Installation and Administration" manual.
Or has the path incorrect while running Rgui. I normally do all source installs from the command line where I have the path set to work properly; if I start R from a shortcut, none of the tools are visible, so the install.packages command requires the pre-compiled packages. Duncan Murdoch