parsePostgresFunction {REmbeddedPostgres}R Documentation

Parses an R Constructor from Postgres

Description

This function converts a Postgres string representation of an R function or object constructor and converts it into an evaluable expression which is then used internally (i.e. within R embedded in Postgres) to create the appropriate R object.

Usage

parsePostgresFunction(txt)

Arguments

txt the string passed by Postgres that contains the constructor expression for creating the R object for handling the Postgres function. This is registed when the Postgres function is defined via the CREATE FUNCTION statement.

Value

This returns an R expression that can be evaluated.

Author(s)

Duncan Temple Lang

References

http://www.omegahat.org/

See Also

Examples