From marchywka at hotmail.com  Mon Jun 13 16:32:05 2011
From: marchywka at hotmail.com (Mike Marchywka)
Date: Mon, 13 Jun 2011 10:32:05 -0400
Subject: [Rd] Detecting development environment
In-Reply-To: <BANLkTi=+=sr5Xa=_L9cFSj_fP0XiHgohsA@mail.gmail.com>
References: <BANLkTi=+=sr5Xa=_L9cFSj_fP0XiHgohsA@mail.gmail.com>
Message-ID: <BLU166-w3313DB99511AB561872656BE690@phx.gbl>





----------------------------------------
> 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 		 	   		  


[Rd] Detecting development environment
Mike Marchywka