spawnRcmd | R Documentation |
launch one (or more) R commands as a separate child process.
spawnRcmd(rCommands, Rpackage = "DuffyTools", logFile = "spawnRcmd.log.txt")
rCommands |
one character string that is a series of valid R comands to execute. Care must be taken to have embedded character strings awways come through intact. |
Rpackage |
one R package to preload, via |
logFile |
created text file that captures stdout and stderr of the child process. |
This is a rather crude method to spawn off separate subtasks to speed up overall processing.
Interrupting the main R session via ctrl-C will send a kill signal to all spawned child processes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.