powered by
Convert a R data.frame to a DuckDB relation object
rel_from_df(con, df)
the duckdb_relation object wrapping the data.frame
duckdb_relation
a DuckDB DBI connection object
the data.frame
con <- DBI::dbConnect(duckdb()) rel <- rel_from_df(con, mtcars)
Run the code above in your browser using DataLab