[Rd] creating packages for Mac

Stefano Iacus stefano.iacus@unimi.it
Mon, 15 Oct 2001 19:19:27 +0200

If you don't need to compile binaries you should just give the .zip 
archives to your students and they will work fine under R for MacOS.

If you need to compile .C of fortran sources you need the "machinery" as 
on any other platform.

In the latest R-devel archive there are MPW makefiles that you can use 
to build mac binaries yourself. For the time being, I can help you in 
compiling sources and prepeare the script files. Let me know.



On Luned́, ottobre 15, 2001, at 02:53 , Ben Bolker wrote:

>   OK, a boneheaded question ...
>   I've made a set of packages for my students.
>   I'm serving these packages from my web site in the form of a set of
> tar.gz source packages (constructed with R CMD build) and a set of .zip
> Windows binary packages, constructed by cross-compiling according to 
> Brian
> Ripley's instructions (make pkg-foo in the src/gnuwin32 directory) and
> then zipping up the directories.
>   Now I'm wondering what to do for my students with Macs (besides insist
> that they work on PCs).  For the most part my packages *don't* really
> contain compiled binary information, and I'm not really planning on 
> trying
> to cross-compile Mac binaries on Linux (ugh).  All I really want to do 
> is
> provide the packages in a form that the students can unzip (or whatever)
> reasonably simply.  I could try to look at the form in which the Mac 
> stuff
> is provided and replicate that file structure (which would also mean
> finding a Linux application to create Stuffit archives), but I'm not 
> sure
> where to start.
>   I guess the other possibility is convincing one of my students to
> download the machinery for creating binary from source packages on their
> machines.
>   Any ideas?  Has anyone done this?
>  Ben
> --
> 318 Carr Hall                                bolker@zoo.ufl.edu
> Zoology Department, University of Florida    
> http://www.zoo.ufl.edu/bolker
> Box 118525                                   (ph)  352-392-5697
> Gainesville, FL 32611-8525                   (fax) 352-392-3704
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> .-.-.-
> r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-
> FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-devel-
> request@stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> ._._._
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch