LabTalk Object Type:
The R (or RObj) object provides script access for running basic R commands and exchange data with R console.
Initiate the R application.
Clear all variables in current R session.
Execute one or multiple R command lines via string strCommand.
Send Origin dataset OriginDataset to R as variable Rvariable, data type can be -1 = auto, 0 = vector, 1 = matrix, 2 = data frame.
Receive R variable as Origin dataset OriginDataset, data type can be -1 = auto, 0 = vector, 1 = matrix, 2 = data frame.
Assign the numeric value of R variable RVariable to Origin variable LabTalkVar.
Assign the numeric value of Origin variable LabTalkVar to R variable RVariable.
Assign the string value of R string variable RVariable to Origin string variable LabTalkVar.
Assign the string value of Origin string variable LabTalkVar to R string variable RVariable.
1. Logical vector FALSE,TRUE in R will be received as 0, 1, respectively in Origin worksheet.
2. Origin's missing values "--", empty cell "" will be sent to R as NA.
Please view this page for examples.