Displaying 1 result from an estimated 1 matches for "birdsuit".
Did you mean:
birdsuite
2009 Jun 18
1
Calling library functions from outside R
...chieve that by building a separate R client file, which
reads in the command line arguments, loads the library, and calls the
main function. The commandLineArgs function below uses commandArgs(),
and searches the vector for the keys/values to make life easier.
(code available at inside "birdsuite executables" at http://www.broad.mit.edu/science/programs/medical-and-population-genetics/birdsuite/birdsuite-downloads-0)
Example:
---
library (broadgap.utils)
pedigreeFile<-commandLineArg("pedigreeFile", verbose=T)
outPedigreeFile<-commandLineArg("outPedigreeFile"...