QScript DropboxROutput
Jump to navigation
Jump to search
DropboxROutput
Dropbox calculations are outputs generated by R, and are entered into dropboxes. See Using R in Q for more details.
code
The R code which gets executed.
data
An interface that enables the querying of a Calculation's data
equals(obj)
Whether two objects are the same.
obj | The object to compare against. |
Returns: | true or false |
Example: | data_file.getQuestionByName('Q2').equals(data_file.questions()[0])
|
error
Errors with the R code or found in the execution of the R code. A string. Returns null if there is no error.
messages
Messages produced in the execution of the R code. A string. Returns null if there are no messages.
outputClasses
Returns an array of strings, which are the R classes of the output of this R calculation. If the Calculation is in error then an exception will be thrown. If the Calculation is not in Automatic mode and the R code has not been calculated before, null will be returned (and you may call update() in QScript in order to force the R code to be calculated).
text
Textual output of the R code. Returns null if the item has not produced text output, or perhaps is in error.
type
Returns "R Output".
warning
Warning messages produced in the execution of the R code. A string. Returns null if there is no warning.