String class – does not get escaped in object literals

Share:

Description

Useful in the toJSObject method

Usage

1
String(x)

Arguments

x

character vector to coerce to String class

Value

vector with new class addedd

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.