View source: R/createMakefiles.R
Create the text for a gnu make target that runs a function using R CMD BATCH and callFunction.R
1 2 | createMakeBatchRule(target, depends = c(), fun, funargs = c(),
scripts = c(), logfile)
|
target |
character: the target name |
depends |
character vector: the dependencies (omit callFunction.R and scripts; these will be automatically added) |
fun |
character: the function name, to be ultimately evaluated in an environment where the scripts have been sourced and library(vizlab) has been called. if fun is missing, the command section of the make target declaration will be omitted |
scripts |
character vector: the scripts or script directories to load. omit 'scripts' because this will be automatically preprended |
logfile |
character: the filename where the R CMD BATCH logfile should be saved. omit 'vizlab/make/log' because this will be automatically prepended |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.