"R" (External Evaluation System)
- ExternalEvaluate["R",code] executes the code string in R and returns the result as a Wolfram Language expression.
- The following R built-in types are supported:
logical True | False Boolean True/False values integer Integer integer double Real real number complex Complex complex number character String string of characters array List list of objects vector List list of objects with the same data type list List list of objects of different types matrix List multidimensional list data frame RDataFrame RLink data type NA Missing missing value
Examplesopen allclose all
Basic Examples (3)
Type > and select R from the drop-down menu to get a code cell that uses ExternalEvaluate to evaluate:
Introduced in 2020