Re: [Rd] Cross-compiling package

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Sun, 12 Jun 2011 19:28:27 +0100 (BST)

On Sun, 12 Jun 2011, Uwe Ligges wrote:

> On 12.06.2011 18:57, Sylvain Loiseau wrote:
>> Hello,
>>
>> I'm facing problems with compiling a package (containing only R-code and
>> dataset) under OSX for Windows.

Packages are 'installed': compilation is only involved if they contain C/Fortran/C++/... source code. It seems using the wrong term has misled people.

>> Is there a command line producing a zip archive that can be installed on
>> Windows using the windows R GUI ?
>
> Well, cross compiling was always rather difficult. Why not just you the
> winbuilder service, if you do not have access to a Windows box:
> http://win-builder.r-project.org/
> It also provides you with check results for the Windows platform.

Good point, but there is no 'cross-compiling' involved here.

Suppose I have a package 'mypkg' installed on Mac OS X (to give it the correct name). Then in a Terminal window

cd <directory above mypkg>
zip -r9X mypkg_ver.zip mypkg

where you need to set 'ver' to be the version number of the package, read from mypkg/DESCRIPTION.

>
> Best,
> Uwe Ligges
>
>
>
>> Best,
>> Sylvain
>> ______________________________________________
>> R-devel_at_r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>
> ______________________________________________
> R-devel_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Sun 12 Jun 2011 - 18:30:54 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 13 Jun 2011 - 14:30:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive