[Rd] Detecting development environment

Mike Marchywka marchywka at hotmail.com
Mon Jun 13 16:32:05 CEST 2011





----------------------------------------
> From: hadley at rice.edu
> Date: Mon, 13 Jun 2011 09:21:07 -0500
> To: r-devel at r-project.org
> Subject: [Rd] Detecting development environment
>
> Hi all,
>
> Is there a straight-forward, cross-platform way of determining if a
> user has all the tools needed to develop R packages (i.e. gcc etc)?
> It doesn't need to be 100%, but should give a rough idea. One idea I
> had was simply to see if system("R CMD install --help") worked.


You could copy a configure script from just about anywhere and
adapt it. Not sure what you would do on 'dohs but the script
should be  able to support cygwin pretty easily.



>
> Hadley
>
> --
> Assistant Professor / Dobelman Family Junior Chair
> Department of Statistics / Rice University
> http://had.co.nz/
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel 		 	   		  


More information about the R-devel mailing list