-
Notifications
You must be signed in to change notification settings - Fork 277
user>ravro>Home
This R package allows reading and writing of files in the avro serialization format.
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.
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.
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.
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.