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.raj...@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@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:<jdnew...@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.

______________________________________________
R-help@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.

Reply via email to