目录

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

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.
PKG_LIBS =`${R_HOME}/bin/Rscript -e "RProtoBufLib::LdFlags()"`
关于

提供R语言与Protocol Buffers数据格式的接口,用于序列化结构化数据

41.4 MB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802047560号