0

Mac OS X 10.7.5 では、Rcpp と RInside を R 3.0.2 にインストールしました。RInside フォルダーに移動すると、lib フォルダーと libs フォルダーの両方が表示されます。ただし、Rcpp フォルダには、Rcpp.so と Rcpp.so.dSYM ディレクトリを含む libs フォルダしかありません。g ++でリンクできるように、RcppにlibRcpp.aやlibRcpp.dylibなどのlibフォルダーを含める必要がありますか?

ありがとうございました!

4

1 に答える 1

1

@josilber によるコメントは完全に正しいです。0.11.0 リリースでは、Rcpp 用のユーザー向けライブラリは必要なくなりました。そのNEWSファイルが言ったように:

  \item Functions provided/used by \cpkg{Rcpp} are now registered
  with R and instantiated by client package alleviating the new for
  explicit linking against \code{libRcpp} which is therefore no
  longer created.

それに応じて、RInside や他の多くのパッケージが更新されました。RInside の ChangeLog から:

* inst/examples/*/Makefile: Note that Rcpp (>= 0.11.0) no longer
requires the RCPPLIBS variable

    [...]

* src/Makefile: PKG_LIBS no longer points to Rcpp's library
* inst/examples/standard/Makefile: Note that Rcpp (>= 0.11.0) no
longer requires the RCPPLIBS variable
于 2014-03-01T16:59:18.223 に答える