findProgram | R Documentation |
Returns the complete filename and path of a program in the PATH environment variable.
This is a wrapper for Sys.which
, and may be deprecated in the future.
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, Vancouver Island University, Nanaimo BC
Sys.which
local(envir=.PBSmodEnv,expr={
print(list(
gcc = findProgram( "gcc" ),
notepad = findProgram( "notepad" ),
R = findProgram( "R", includename=TRUE ) ))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.