as.environment | R Documentation |
These functions allow a db.table
or
db.view
object to be treated as an environment,
in a manner analogous to data frames.
## S3 method for class 'db.obj'
as.environment(x, ...)
## S3 method for class 'db.obj'
with(data, expr, ...)
x, data |
A |
expr |
For |
... |
Other arguments; unused. |
For as.environment
, the created environment. Note that no data is transferred to the client; all objects in the environment are queries pointing back to the host.
For with
, a db.Rquery
stored query object
representing the expression. Use lk
, lookat
or as.data.frame
to execute the query on the host and retrieve its contents.
Author: Hong Ooi, Pivotal Inc. hooi@pivotal.io
Maintainer: Frank McQuillan, Pivotal Inc. fmcquillan@pivotal.io
as.environment
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.