-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
The default digits = 5 in the S4 method for toJSON (for numeric) is pretty low. No doubt this keeps default output to a healthy size, but it's insufficient in some applications, like mapping. See, for example, jcheng5/leaflet-shiny#13 and ramnathv/rCharts#248.
Perhaps toJSON() might allow for user-level specification of numeric precision, defaulting to options()$digits instead of 5.
Metadata
Metadata
Assignees
Labels
No labels