0

I have the source code (X.tar.gz file) for an R package. How can I build the binary file for Mac OS of the source code file? My computer OS is linux.

Thanks for the help.

user30314
  • 183
  • 1
  • 11
  • 1
    Cross-building in this way is not easy. – Ben Bolker Mar 10 '14 at 16:04
  • 1
    possible duplicate of [How do I cross compile R packages for MacOS from a Linux environment?](http://stackoverflow.com/questions/9760609/how-do-i-cross-compile-r-packages-for-macos-from-a-linux-environment) – Ben Bolker Mar 10 '14 at 16:04
  • @BenBolker Thanks for the reply. I think I will get a Mac computer to build it. In this case, is it enough to run: R CMD INSTALL x.tar.gz -build , or I need some prerequisites to install? – user30314 Mar 11 '14 at 07:31
  • you need Xcode installed – Ben Bolker Mar 11 '14 at 12:38

0 Answers0