search for: c_interfac

Displaying 8 results from an estimated 8 matches for "c_interfac".

Did you mean: c_interface
2009 Dec 13
1
How to resolve include Rcpp.h problems?
...ollowing error message in the file /home/amine/R/r-eclipse/rply.Rcheck/00install.out: * Installing *source* package 'rply' ... ** libs gcc -std=gnu99 -I/usr/share/R/include -fpic -g -O2 -c Call_interface.c -o Call_interface.o gcc -std=gnu99 -I/usr/share/R/include -fpic -g -O2 -c C_interface.c -o C_interface.o gcc -std=gnu99 -I/usr/share/R/include -fpic -g -O2 -c fifrt.c -o fifrt.o g++ -I/usr/share/R/include -fpic -g -O2 -c RCPP_test.cpp -o RCPP_test.o RCPP_test.cpp:1:18: erreur: Rcpp.h : No such file or directory RCPP_test.cpp: In function ?SEXPREC* readRIntVec(SEXPREC*)?...
2012 Nov 14
2
[LLVMdev] Linking Clang with an optional external library
...tools/driver/Makefile: +ifdef STP_INSTALL_PREFIX +LDFLAGS += -L$(STP_INSTALL_PREFIX)/lib -lstp +endif To support CMake builds as well, is it sufficient to add the following to config.h.cmake, and expect the user to pass -DWITH_STP_PREFIX= if they would like to use this feature? #cmakedefine STP_C_INTERFACE ${WITH_STP_PREFIX}/include/stp/c_interface.h One potential issue I noticed in writing this patch is that LLVM's config.h and Clang's config.h are both #include-guarded by the CONFIG_H macro, and consequently both cannot be included from the same source file. Perhaps these should be chang...
2020 Oct 19
2
Is there any way to check the class of an ALTREP?
...rary ALTERP object belongs to a class that he owns. Regards, Denes On 10/19/20 10:22 AM, Benjamin Christoffersen wrote: > It seems as if you can you use the ALTREP macro as done in this > package: https://github.com/Jiefei-Wang/SharedObject/blob/804b6ac58c63a4bae95343ab43e8b1547b07ee6b/src/C_interface.cpp#L185 > > and in base R: https://github.com/wch/r-source/blob/54fbdca9d3fc63437d9e697f442d32732fb4f443/src/include/Rinlinedfuns.h#L118 > > The macro is defined here in Rinternals.h: > https://github.com/wch/r-source/blob/abb550c99b3927e5fc03d12f1a8e7593fddc04d2/src/include/Rint...
2020 Oct 19
2
Is there any way to check the class of an ALTREP?
Hi all, I would like to determine if an ALTREP object is from my package, I see there is a function `ALTREP_CLASS` defined in RInternal.h but its return value is neither a `R_altrep_class_t` object nor an STRSXP representing a class name. I do not know how to correctly use it. Any suggestions? Thanks, Jiefei [[alternative HTML version deleted]]
2020 Oct 19
1
Is there any way to check the class of an ALTREP?
...gt; > Denes > > > > > > On 10/19/20 10:22 AM, Benjamin Christoffersen wrote: > > > It seems as if you can you use the ALTREP macro as done in this > > > package: > https://github.com/Jiefei-Wang/SharedObject/blob/804b6ac58c63a4bae95343ab43e8b1547b07ee6b/src/C_interface.cpp#L185 > > > > > > and in base R: > https://github.com/wch/r-source/blob/54fbdca9d3fc63437d9e697f442d32732fb4f443/src/include/Rinlinedfuns.h#L118 > > > > > > The macro is defined here in Rinternals.h: > > > > https://github.com/wch/r-source/blob...
2020 Oct 19
0
Is there any way to check the class of an ALTREP?
It seems as if you can you use the ALTREP macro as done in this package: https://github.com/Jiefei-Wang/SharedObject/blob/804b6ac58c63a4bae95343ab43e8b1547b07ee6b/src/C_interface.cpp#L185 and in base R: https://github.com/wch/r-source/blob/54fbdca9d3fc63437d9e697f442d32732fb4f443/src/include/Rinlinedfuns.h#L118 The macro is defined here in Rinternals.h: https://github.com/wch/r-source/blob/abb550c99b3927e5fc03d12f1a8e7593fddc04d2/src/include/Rinternals.h#L325 Den man. 1...
2020 Oct 19
0
Is there any way to check the class of an ALTREP?
...that he owns. > > Regards, > Denes > > > On 10/19/20 10:22 AM, Benjamin Christoffersen wrote: > > It seems as if you can you use the ALTREP macro as done in this > > package: https://github.com/Jiefei-Wang/SharedObject/blob/804b6ac58c63a4bae95343ab43e8b1547b07ee6b/src/C_interface.cpp#L185 > > > > and in base R: https://github.com/wch/r-source/blob/54fbdca9d3fc63437d9e697f442d32732fb4f443/src/include/Rinlinedfuns.h#L118 > > > > The macro is defined here in Rinternals.h: > > https://github.com/wch/r-source/blob/abb550c99b3927e5fc03d12f1a8e7593fd...
2004 Nov 25
3
Searching for a string in RSQLite
I'd like to search for a particular string in an SQLite database using RSQLite, but I'm running into problems constructing the query properly, because of embedded quotes and parens in the string. Is there a function that escapes these for me, or some other fixup that would let me do the queries below? In the real situation I don't have control over what strings get searched for.