clrToString: Calls the ToString method of an object

Description Usage Arguments Value Examples

Description

Calls the ToString method of an object as represented in the CLR. This function is here to help quickly test object equivalence from the R interpreter, for instance on the tricky topic of date-time conversions

Usage

1

Arguments

x

any R object, which is converted to a CLR object on which to call ToString

Value

the string representation of the object in the CLR

Examples

1
2
3
4
5
6
## Not run: 
library(rClr)
dt <- as.POSIXct('2001-01-01 02:03:04', tz='UTC')
clrToString(dt)

## End(Not run)

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