[R] Convert windows source package for Mac use

S Ellison S.Ellison at LGCGroup.com
Tue Feb 24 15:04:14 CET 2015


> Is there a way to convert a Windows source package so it can be installed on a Mac?

The .zip format yo mention is not a source package; it is a compiled binary. 

The _source_ packages are .tar.gz files. Those do not need to be converted for different platforms (provided the package supports different platforms) because R can install from the tar.gz.

If a .zip exists, though, the .tar.gz should too, or if it doesn't (typically because the developer is a local Windows developer and hasn't bothered to create a tar.gz they don't need) the tar.gz can be created more or less trivially using R CMD from the package source code.

The documentation you're looking for on installation is 6.3 of 'R Installation and Administration. For building packages locally from your own R source code, look at 'Writing R Extensions'



S Ellison


*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}



More information about the R-help mailing list