[R] Using packages built in linux in windows

Jeff Newmiller
Wed, 01 Sep 2010 16:05:10 -0000

Normally, a binary package built on one platform will not work on another. While
it is possible to cross-compile, in most cases it is best to assemble the
necessary development environment oNoten the target platform (including the
appropriate libraries compiled for that platform) and build the package there.

Note that Cygwin libraries are not recommended for use in R packages on Windows.
See the notes on compiling for Windows linked at CRAN.

"rajesh j" <akshay.rajesh at gmail.com> wrote:

>Hi,
>
>I built a package in linux and would like to use it in windows. I cant build
>the package again in windows because it would miss the necessary libraries
>etc(I'm using Rcpp). So I need to generate a binary version and try to
>install it in windows. I tried this and I get the error
>
>/cygdrive/RTools/bin/cp: target 'xf->>' is not a directory
>
>Can someone help me with this?
>
>
>
>--
>Rajesh.J
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>R-help at r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.

---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live
Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
---------------------------------------------------------------------------
Sent from my phone. Please excuse my brevity.