Communicating with R
The applet parameter R is set for all the communication with R.Applet parameters.
TITLE | Set a title to display. |
R | Set the R code to pass onto a remote server for execution when the button is pressed. |
VALUE | Set an initial value to be read when it is called. |
is created by the ISR style command:
\
applet{comboBox}{sample}{width=240 height=25}
{TITLE="R version"; VALUE=""; R="@sample = R.version.string"}
Extension of R code. Before R code is passed down for execution, LaTeX style extension has to be preprocessed. This enables us to take advantage of applet-to-applet communications to exchange data between the applets.
@applet-name< |
applet-name has to be a textBox.class applet name. It redirects all the following text output to this textBox.class multiple-line display. |
@applet-name= ... | applet-name has to be a comboBox.class applet name. It sets a value in a single-line display of this comboBox.class if it has a place to display. |
@applet-name:column-name= ... | applet-name has to be a dataTable.class applet name. It sends an array data to column-name of this dataTable.class. |
@applet-name:`[[column number]]`= ... | (DEFUNCT) It set the column data specified by column number of the dataTable.class. It only work for code.R but it has no effect on e-stat. |
... @applet-name ... | applet-name has to be a comboBox.class applet name. It is replaced by a value (or an array data) in this comboBox.class. |
... @applet-name:column-name ... | applet-name has to be a dataTable.class applet name. It is substituted with the column data specified by column-name of this dataTable.class. |
... @`applet-name` ... | applet-name has to be a comboBox.class applet name. It replaces to the column name selected from the list of column names of databox at the comboBox.class. |
... @applet-name:`[column number]` ... | It is substituted with the column data specified by column number of this dataTable.class. |
© TTU Mathematics