Learn R Programming

pbatR (version 0.7)

pbat.set: Set Pbat Executable

Description

pbat.set sets the name of the pbat executable. NOTE: This is retained between sessions for a given user. pbat.get gets the current stored name of the pbat executable.

Usage

pbat.set( executableStr="", CLEAR=FALSE )

pbat.get()

Arguments

executableStr
String of the pbat executable name, e.g. c:/pbat/pbat25.exe. If the string is omitted, then a file-choose dialogue will appear to selet the file (suggested).
CLEAR
If set to TRUE, the executable name is cleared, regardless of the string passed in the other option.

Value

  • pbat.get returns a string of the currently stored name of the pbat executable.

Details

The default (upon installation) assumes that the executable is 'pbat' and is in the path; this function allows you to set the version you wish to use, and easily toggle between other versions of the software (in case you are testing the software it is easy to toggle to an older version).

References

http://www.biostat.harvard.edu/~clange/default.htm http://www.people.fas.harvard.edu/~tjhoffm/pbatR.html

See Also

pbat.m