gmt.system {gmt} | R Documentation |
Invoke a system command, possibly directing the output to a file.
gmt.system(cmd, file=NULL, append=FALSE)
cmd |
system command to be invoked, as a string. |
file |
filename to which output should be directed. |
append |
whether output should be appended to existing file. |
Command output as a vector of strings.
This function is primarily an internal function, but users may find it
handy for their own plotting functions. It is platform-independent,
unlike the shell
function.
Arni Magnusson arnima@u.washington.edu.
gmt-package
gives an overview of the package.
## Not run: ## Assuming that GMT is in path gmt.system("gmtdefaults -Ds", file=".gmtdefaults4") ## End(Not run)