check.linux.install | R Documentation |
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)
cmd |
character vector of commands to test |
linux.mode |
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'
Nicholas Cooper njcooper@gmx.co.uk
check.linux.install("R") # should be standard check.linux.install(c("perl","sed","fake-cmd"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.