Skip to content

user>ravro>Home

Antonio Piccolboni edited this page Sep 2, 2014 · 1 revision

Overview

This R package allows reading and writing of files in the avro serialization format.

Description

The ravro package provides tools to allow reading of Avro data files into R. It provides the function read.avro TODO how about writing for reading Avro data files.

Dependencies

R Packages

Prior to installing the ravro package, the following R packages must be installed: Rcpp, rjson, bit64 and bit. These can be installed in R with the command:

install.packages(c("Rcpp","rjson","bit64"))

This command will install these packages, as well as the "bit" package, which is required by bit64.

Java

In addition, Java must be installed on the system and be available via the PATH environmental variable. Try running the following from R:

system("java -version")

The Java version must be at least 1.6.

Installation

After these dependencies have been installed, ravro can be installed from the command line:

R CMD INSTALL ravro_1.0.zip

Or through an R development environment, e.g. RStudio.

You can verify that the package is working correctly on your system with

R CMD check ravro_1.0.zip

NOTE: On Linux and Mac OS systems, you will install and/or check the source package: ravro_1.0.tar.gz.

References

Apache Avro 1.7.6 Specification.