powered by
Extract the value chosen in an IntParam
IntParam
intParamValue(parameters, name)
The parameters object (see parseParameters)
parseParameters
The name of the parameter
The selected number
# NOT RUN { tmp <- tempfile(fileext = ".xml") write('<IntParam Name="test_int">\n<Value>2</Value>\n</IntParam>', file=tmp) parameters <- parseParameters(tmp) intParamValue(parameters, "test_int") # }
Run the code above in your browser using DataLab