Rcpp C++ binary object not found when adding a new function to an old R package
I am running the latest R and Rcpp under MacOS Sonoma. I am attempting to add a new function call C++ code to a very old package (Hmisc), setting things up using Rcpp::compileAttributes(). The new R function's .Call() to the C++ binary object results in object not found. Here's what I have in place: DESCRIPTION: Imports: Rcpp and LinkingTo: Rcpp NAMESPACE: export('pMedian') and useDynLib(Hmisc, .registration=TRUE, .fixes='F_') .fixes='F_' handles old Fortran binary objects in the package src/init.c: several references to the old Fortran routines, nothing about the new C++ routine src/RcppExpor
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.