format_for_send: Convert R objects to strings

Description Usage Arguments Details

Description

Prepare R objects for sending to postgresql

Usage

1

Arguments

obj

any object

Details

R objects that will be written to postgresql must be converted to characters as all data is transferred to the server as text. The S3 method foramt_for_send accomplishes this. It accepts any object and returns a character representation.

You can define new conversions by supplying your own S3 override of format_for_send.


rpg documentation built on May 2, 2019, 5:49 p.m.