[R-SIG-Win] Question about rtools provided shell

Dirk Eddelbuettel edd at debian.org
Sat Apr 30 00:55:43 CEST 2016


On 29 April 2016 at 22:37, Jeroen Ooms wrote:
| On Fri, Apr 29, 2016 at 10:33 PM, Tim Keitt <tkeitt at utexas.edu> wrote:
| > I am trying to be clever (whether that's a good idea is for another thread
| > ;) and write an R script that downloads and builds the postgres libpq
| > library when its not installed. (The idea is to call this script during
| > source package installation.)
| 
| We do exactly this in the RPostgres package:
| https://github.com/rstats-db/RPostgres . You want to check the
| src/Makevars.win file and tools/winlibs.R. Feel free to steal/copy
| whatever you need.

And RPostgreSQL builds it from embedded sources -- putting the download step
in should not be hard.

https://github.com/cran/RPostgreSQL/blob/master/src/Makevars.win

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org



More information about the R-SIG-windows mailing list