Learn R Programming

SPOT (version 2.11.10)

wrapSystemCommand: wrapSystemCommand

Description

Optimize parameters for a script that is accessible via Command Line

Usage

wrapSystemCommand(systemCall)

Arguments

systemCall

String that calls the command line script.

Value

callable function for SPOT

Examples

Run this code
# NOT RUN {
# exampleScriptLocation <- system.file("consoleCallTrialScript.R",package = "SPOT")
# f <- wrapSystemCommand(paste("$(R_HOME)/bin/Rscript", exampleScriptLocation))
# spot(,f,c(1,1),c(100,100))

# }

Run the code above in your browser using DataLab