Name Mode Size
.github 040000
R 040000
inst 040000
man 040000
src 040000
tools 040000
vignettes 040000
.Rbuildignore 100644 0 kb
.gitignore 100644 0 kb
BinaryFiles 100644 0 kb
DESCRIPTION 100644 0 kb
INSTALL 100644 2 kb
LICENSE 100644 34 kb
NAMESPACE 100644 0 kb
NEWS.md 100644 0 kb
README.md 100644 1 kb
cleanup 100755 0 kb
cleanup.win 100644 0 kb
configure 100755 115 kb
configure.ac 100644 2 kb
configure.win 100644 1 kb
README.md
# Protocol buffers library as an R package This package provides the C++ headers and static library of Protocol buffers 2.6.0 for other R packages to compile and link against. Here is the instructions of using it: ### Install the package ```r devtools::install_github("RGLab/RProtoBufLib") ``` ### Modified **DESCRIPTION** file - add `RProtoBufLib` to `LinkingTo` field so that the user package knows where to find the headers ``` LinkingTo: Rcpp, RProtoBufLib ``` ### Modified **src/Makevars** file - point the linker to the `libprotobuf.a` file so that the user package will statically linked to it. ```bash PKG_LIBS =`${R_HOME}/bin/Rscript -e "RProtoBufLib::LdFlags()"` ```