putValueInScript: Put Method

Description Usage Arguments See Also

Description

It puts a value of a variable in a S3 ParsedGroovyScriptIOVar object

Usage

1
2
3
4
5
6
7
putValueInScript(x, name, value,
  temporary_working_directory = system.file("temporary_rastermaps", package =
  "rjgrassGroovySmartBridge"), overwrite = TRUE, ...)

putInputValuesInScript(x, inputVar, io.type = c("input", "output"),
  putOutputNames = FALSE, outwpath = system.file("temporary_rastermaps",
  package = "rjgrassGroovySmartBridge"), ...)

Arguments

x

a S3 ParsedGroovyScriptIOVar object

name

name of the variable

value

value of the variable

temporary_working_directory, outwpath

character string containing the path of the temporary working directory. It is used to save temporary raster maps.

overwrite

logical value. If TRUE the data files are overwritten. See writeRaster.

...

further arguments

inputVar

list with the value input of the input variables

io.type

vector of string indicating input and output types for the Groovy script file and x S3 ParsedGroovyScriptIOVar object. Default is c("input","output").

putOutputNames

logical value. Default is FALSE. If it is TRUE, the object x is filled with the output variables and their values instead of the input ones.

See Also

executeGroovyFile


ecor/rjgrassSmartGroovyBridge documentation built on May 15, 2019, 10:06 p.m.