Schedule an Evaluation

DESCRIPTION:

Schedules the evaluation of a specified expression on the server.

USAGE:

expressionService.scheduledEval(serverUrl, userName, password = NA, cmd, schDate, in.format = options("time.in.format"), 
  time.zone = options("time.zone")))

ARGUMENTS:

serverUrl
A character string identifying the server's address (for example: "http://myserver:8080").
userName
A character string containing the identifier (the login name) of user (for example: "johndoe").
password
A character string used to log into the Spotfire S+ server (for example: "myPassword").
cmd
The Spotfire S+ expression to be evaluated (for example: "121^2").
schDate
A string representing the date.
in.format
The format to specify the schDate input parameter.
time.zone
A character string representing the time zone in which the date is specified. If not specified, options(time.zone) is assumed. See the S+ Help file for options() for more information.

DETAILS:

The password is not encrypted when it is sent from the client to the server. You can omit the password parameter if server does not require one.

VALUE:

A data frame with one row. (The job id is the row name.)

You can get the jobID from the output dataframe and query the server at a later time to get the job status, or to download any output files.

The column names are:

>
splusCode
>
created
>
createdBy
>
jobId
>
status
>
resultsDir
>
error
>
warnings
>
output
>
resultSpxml

SEE ALSO:

,

EXAMPLES:

## Not run: 
## userName <- "johndoe"
## password <- "mypassword"
## serverUrl <- "http://myserver:8080"
## webdavRoot = paste(serverUrl, "/SPServer/webdav", sep = "")
## resultsFolder <- paste(webdavRoot, "/results", sep = "")
##
##expressionService.scheduledEval(atlantic, userName, pwd, "121^2", "09/25/2008 19:20:15.000", in.format = "
## End(Not run)