search for: r_usedynamicsymbol

Displaying 18 results from an estimated 18 matches for "r_usedynamicsymbol".

Did you mean: r_usedynamicsymbols
2018 Feb 23
2
Problem with R_registerRoutines
Dear list, I am trying to update a package to pass the CRAN-checks. But I am struggling with the following note: File 'psgp/libs/i386/psgp.dll': Found no calls to: 'R_registerRoutines', 'R_useDynamicSymbols' File 'psgp/libs/x64/psgp.dll': Found no calls to: 'R_registerRoutines', 'R_useDynamicSymbols' It is good practice to register native routines and to disable symbol search. I did already run: tools::package_native_routine_registration_skeleton(".") This g...
2018 Feb 23
2
Problem with R_registerRoutines
...at 10:28 AM, <Jon.SKOIEN at ec.europa.eu> wrote: > Dear list, > > I am trying to update a package to pass the CRAN-checks. > But I am struggling with the following note: > > File 'psgp/libs/i386/psgp.dll': > Found no calls to: 'R_registerRoutines', 'R_useDynamicSymbols' > File 'psgp/libs/x64/psgp.dll': > Found no calls to: 'R_registerRoutines', 'R_useDynamicSymbols' > > It is good practice to register native routines and to disable symbol > search. > > > I did already run: > tools::package_native_routine_r...
2017 May 10
3
registering Fortran routines in R packages
...lower case in the Fortran code). Unfortunately, it does not help since I get init.c:97:25: error: use of undeclared identifier 'halton_'; did you mean 'halton2'? {"halton", (DL_FUNC) &F77_SUB(halton), 7}, My current solution is to comment FortEntries array and use R_useDynamicSymbols(dll, TRUE) for a dynamic search of Fortran routines. Regards, Christophe --------------------------------------- Christophe Dutang LMM, UdM, Le Mans, France web: http://dutangc.free.fr <http://dutangc.free.fr/> > Le 9 mai 2017 ? 14:32, Berend Hasselman <bhh at xs4all.nl> a ?crit :...
2018 Feb 23
0
Problem with R_registerRoutines
...at 10:28 AM, <Jon.SKOIEN at ec.europa.eu> wrote: > Dear list, > > I am trying to update a package to pass the CRAN-checks. > But I am struggling with the following note: > > File 'psgp/libs/i386/psgp.dll': > Found no calls to: 'R_registerRoutines', 'R_useDynamicSymbols' > File 'psgp/libs/x64/psgp.dll': > Found no calls to: 'R_registerRoutines', 'R_useDynamicSymbols' > > It is good practice to register native routines and to disable symbol > search. > > > I did already run: > tools::package_native_routine_r...
2018 Feb 23
0
Problem with R_registerRoutines
...>> Dear list, >> >> I am trying to update a package to pass the CRAN-checks. >> But I am struggling with the following note: >> >> File 'psgp/libs/i386/psgp.dll': >> Found no calls to: 'R_registerRoutines', 'R_useDynamicSymbols' >> File 'psgp/libs/x64/psgp.dll': >> Found no calls to: 'R_registerRoutines', 'R_useDynamicSymbols' >> >> It is good practice to register native routines and to disable symbol >> search. >> >>...
2017 May 10
1
registering Fortran routines in R packages
...an code). Unfortunately, it does not help since I get > > init.c:97:25: error: use of undeclared identifier 'halton_'; did you mean 'halton2'? > {"halton", (DL_FUNC) &F77_SUB(halton), 7}, > > My current solution is to comment FortEntries array and use R_useDynamicSymbols(dll, TRUE) for a dynamic search of Fortran routines. Have a look at my package geigen and its init.c. Could it be that you are missing extern declarations for the Fortran routines? Berend ______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/...
2018 Feb 27
0
Problem with R_registerRoutines
...: >> Dear list, >> >> I am trying to update a package to pass the CRAN-checks. >> But I am struggling with the following note: >> >> File 'psgp/libs/i386/psgp.dll': >> Found no calls to: 'R_registerRoutines', 'R_useDynamicSymbols' >> File 'psgp/libs/x64/psgp.dll': >> Found no calls to: 'R_registerRoutines', 'R_useDynamicSymbols' >> >> It is good practice to register native routines and to disable symbol >> search. >> >> &g...
2018 Feb 27
0
R-devel Digest, Vol 180, Issue 24
...: >> Dear list, >> >> I am trying to update a package to pass the CRAN-checks. >> But I am struggling with the following note: >> >> File 'psgp/libs/i386/psgp.dll': >> Found no calls to: 'R_registerRoutines', 'R_useDynamicSymbols' >> File 'psgp/libs/x64/psgp.dll': >> Found no calls to: 'R_registerRoutines', 'R_useDynamicSymbols' >> >> It is good practice to register native routines and to disable symbol >> search. >> >> &g...
2008 Oct 08
1
error installing lattice package
...implicit declaration of function `R_registerRoutines' init.c:15: error: `dll' undeclared (first use in this function) init.c:15: error: (Each undeclared identifier is reported only once init.c:15: error: for each function it appears in.) init.c:16: warning: implicit declaration of function `R_useDynamicSymbols' init.c:16: error: `FALSE' undeclared (first use in this function) make: *** [init.o] Error 1 ERROR: compilation failed for package 'lattice' ** Removing '/usr/lib/R/library/lattice' ** Restoring previous '/usr/lib/R/library/lattice' Thanks, Scott Waichler Pacific...
2007 Mar 19
3
Rinternals.h and undefined symbols
Hi, I'm trying to register my native routines using R_registerRoutines (...). I can compile the code, but the loader cannot resolve the symbol: undefined symbol: _Z18R_registerRoutinesP8_DllInfoPK12R_CMethodDefPK15R_CallMethodDefS3_S6 _ $ nm bgx.Rcheck/bgx/libs/bgx.so | grep R_registerRoutines U _Z18R_registerRoutinesP8_DllInfoPK12R_CMethodDefPK15R_CallMethodDefS3_S6
2006 Jun 08
1
Problems Building R-2.3.1 on Alpha server ES40 running Tru64 V5.1B PK#5
...b -L/opt/zlib/lib -lncurses -ljpeg -lpng -lz -rpath /opt/libpng /lib:/opt/libjpeg/lib:/opt/ncurses/lib:/opt/gnu/lib:/usr/shlib:/opt/zlib /lib:/opt/R/lib -o MASS.so MASS.o lqs.o ld: Warning: Unresolved: exp fabs pow sqrt isnan Rf_error R_alloc Rprintf R_chk_calloc R_chk_free vmmin R_registerRoutines R_useDynamicSymbols log GetRNGstate PutRNGstate unif_rand R_rsort Rf_rPsort R_CheckUserInterrupt dqrsl_ dqrdc2_ make[3]: Leaving directory `/cluster/members/member0/tmp/R.INSTALL.OVYGvZ/VR/MASS/src' chmod: cannot access `/usr/ruby-deploy/swkits/RUBY/SOFTWARE/3rdPartySW/R/R-2.3.1/build/librar y/MASS/libs//*':...
2017 May 09
2
registering Fortran routines in R packages
Dear list, I?m trying to register Fortran routines in randtoolbox (in srt/init.c file), see https://r-forge.r-project.org/scm/viewvc.php/pkg/randtoolbox/src/init.c?view=markup&root=rmetrics. Reading https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Registering-native-routines and looking at what is done in stats package, I first thought that the following code will do the job:
2024 May 30
1
How to call directly "dotTcl" C-function of the tcltk-package from the C-code of an external package?
...calls. Index: library/tcltk/src/init.c =================================================================== --- library/tcltk/src/init.c (revision 84264) +++ library/tcltk/src/init.c (revision 84265) @@ -66,6 +66,6 @@ { R_registerRoutines(dll, CEntries, NULL, NULL, ExternEntries); R_useDynamicSymbols(dll, FALSE); - R_forceSymbols(dll, FALSE); + R_forceSymbols(dll, TRUE); } I don't know what that was all about, and I'm also a bit puzzled a) that the .External lookup is so slow that you need to bypass it (would have thought that the byte compiler could speed it up) b) that you d...
2024 May 28
1
How to call directly "dotTcl" C-function of the tcltk-package from the C-code of an external package?
I have a use case with tcltk-package where I need to repeatedly call Tcl/Tk functions very quickly. For such purpose, the standard R-interface turned out to be too slow, and better option has been to call package's C-function dotTcl directly from my own C-code. Before R 4.4.0 it was possible to use getNativeSymbolInfo("dotTcl","tcltk")$address (or
2010 Feb 18
3
R CMD check: OK in LINUX. Crashes in Windows!
Hi, I have followed the recommended steps for creating a package (rctest). As of now, my goal is simply to understand how various pieces fit together. The package includes: (1) C code with source in sub-directories, compiled to create a static library. (a) There is a single C-struct (dns) a simple 'matrix': {int m; int n; double *d;} (b) C code to create random matrix of a certain size.
2008 May 07
1
[BioC] RCurl loading problem with 64 bit linux distribution
...0003ea0 T R_getCurlMultiHandle 0000000000006a00 T R_init_RCurl 0000000000003bf0 T R_internalWriteTest 0000000000004a50 T R_popCurlMultiHandle 0000000000006600 T R_post_form 0000000000004aa0 T R_pushCurlMultiHandle U R_registerRoutines U R_tryEval U R_useDynamicSymbols 00000000000057e0 T Rcurl_set_header U Rf_ScalarInteger U Rf_ScalarReal U Rf_ScalarString U Rf_allocVector U Rf_asInteger U Rf_error U Rf_eval U Rf_getAttrib...
2008 May 07
1
[BioC] RCurl loading problem with 64 bit linux distribution
...0003ea0 T R_getCurlMultiHandle 0000000000006a00 T R_init_RCurl 0000000000003bf0 T R_internalWriteTest 0000000000004a50 T R_popCurlMultiHandle 0000000000006600 T R_post_form 0000000000004aa0 T R_pushCurlMultiHandle U R_registerRoutines U R_tryEval U R_useDynamicSymbols 00000000000057e0 T Rcurl_set_header U Rf_ScalarInteger U Rf_ScalarReal U Rf_ScalarString U Rf_allocVector U Rf_asInteger U Rf_error U Rf_eval U Rf_getAttrib...
2015 Aug 14
2
Build R on Haiku
Hi R-devel, I'm trying to get R 3.2.1 working on Haiku (an open source OS inspired by BeOS, not Linux based) on i586. With a few small changes to library paths and ifdefs I am able to get a seemingly working R binary. The build process stops with the 'tools' package. The last lines from make are below. Does anyone have any tips? I'm rather new to debugging at this low level. Are