powered by
Tests whether a command is installed and callable by system(). Will return a warning if run on windows when linux.more=TRUE
check.linux.install(cmd = c("plink", "perl", "sed"), linux.mode = FALSE)
character vector of commands to test
logical, alternate way of command testing that only works on linux and mac OS X, to turn this on, set to TRUE.
returns true or false for each command in 'cmd'
# NOT RUN { check.linux.install("R") # should be standard check.linux.install(c("perl","sed","fake-cmd")) # }
Run the code above in your browser using DataLab