knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of parquetr is to let you read and write parquet files with R without a spark connection. At present it is simply a wrapper for pandas read_parquet
and to_parquet
via reticulate, but hopefully will improve and expand in the future.
You can install the development version of parquetr with devtools::install_github('alexpavlakis/parquetr')
Parquetr makes it easy to read and write parquet files.
library(parquetr) # Write iris as a parquet file tf <- tempfile() write_parquet(iris, tf) # Read the parquet file back as a tibble iris2 <- read_parquet(tf) head(iris2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.