[Rd] system() in packages

Seth Falcon sfalcon at fhcrc.org
Fri Apr 27 17:01:53 CEST 2007


Robin Hankin <r.hankin at noc.soton.ac.uk> writes:
> My question is, how to deal with the possibility that pari/gp is not
> installed?

You could add a configure script to your package to detect the
availability of the tools you want to rely on.

On package load, you could try a simple call and determine whether it
errored out or not and set action based on that.

+ seth

-- 
Seth Falcon | Computational Biology | Fred Hutchinson Cancer Research Center
http://bioconductor.org



More information about the R-devel mailing list