findProgram {PBSmodelling} | R Documentation |
Returns the complete filename and path of a program in the PATH environment variable. findProgram is similar to the which command under Unix, but works under Windows too.
findProgram( name, includename=FALSE )
name |
name of a program to locate |
includename |
boolean: if true, include the filename in the path returned, otherwise just the directory. |
A string containing the location of the program. NULL is returned if the program is not located.
Alex Couture-Beil
findProgram( "gcc" ) findProgram( "notepad" ) findProgram( "R", TRUE )