Re: [R-pkg-devel] [External] Another DLL requires the use of native symbols thread

2023-03-25 Thread luke-tierney
Take another look at R-exts, specifically https://cran.r-project.org/doc/manuals/R-exts.html#Registering-native-routines Your call R_forceSymbols(dll, TRUE); says you want foreign function calls to only work with entry points specified by R objects representing native symbols. This was

Re: [R-pkg-devel] Another DLL requires the use of native symbols thread

2023-03-25 Thread Dirk Eddelbuettel
On 25 March 2023 at 13:01, Shawn Way wrote: | Sorry to kind of repeat this but I really didn't understand the issues with the prior thread and how it relates to my issue. | | I'm getting the error message in | | B_T <- BT(Temp) | Error in BT(Temp) : DLL requires the use of native

Re: [R-pkg-devel] Another DLL requires the use of native symbols thread

2023-03-25 Thread Duncan Murdoch
On 25/03/2023 9:09 a.m., Duncan Murdoch wrote: The message says you shouldn't be using the string 'BT' in the .Fortran call, you should be using the object that was produced by R_registerRoutines. That's probably named BT (without any quotes), though you can add a prefix in useDynLib() in your

Re: [R-pkg-devel] Another DLL requires the use of native symbols thread

2023-03-25 Thread Duncan Murdoch
The message says you shouldn't be using the string 'BT' in the .Fortran call, you should be using the object that was produced by R_registerRoutines. That's probably named BT (without any quotes), though you can add a prefix in useDynLib() in your NAMESPACE file. So your call should look

[R-pkg-devel] Another DLL requires the use of native symbols thread

2023-03-25 Thread Shawn Way
Sorry to kind of repeat this but I really didn't understand the issues with the prior thread and how it relates to my issue. I'm getting the error message in B_T <- BT(Temp) Error in BT(Temp) : DLL requires the use of native symbols Execution halted And frankly, I have no idea what