setRDotNet: Turn on/off R.NET

Description Usage Arguments Examples

Description

Turn on or off the usage of the R.NET assemblies to convert CLR objects to R data structures. As of version 0.7.0, R.NET is the preferred way to convert data and is enabled by default.

Usage

1
setRDotNet(setit = TRUE)

Arguments

setit

if true enable, otherwise disable

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
library(rClr)
## R.NET is currently used to convert complicated CLR types to sensible R equivalents
setRDotNet()
cTypename <- "Rclr.TestCases"
clrCallStatic(cTypename, "CreateStringDictionary")
setRDotNet(FALSE)
clrCallStatic(cTypename, "CreateStringDictionary")

## End(Not run)

jmp75/rClr documentation built on June 11, 2019, 6:45 p.m.