| rel_from_df {duckdb} | R Documentation |
Convert a R data.frame to a DuckDB relation object
rel_from_df(con, df)
con |
a DuckDB DBI connection object |
df |
the data.frame |
the duckdb_relation object wrapping the data.frame
con <- DBI::dbConnect(duckdb::duckdb()) rel <- rel_from_df(con, mtcars)