search for: rf_scalarinteg

Displaying 7 results from an estimated 7 matches for "rf_scalarinteg".

Did you mean: rf_scalarinteger
2010 Dec 02
1
Strange problems with compiling dll
...mpile it I have 5 errors, and all of them come form linker and say next (Code::Blocks): ||=== mcb2, Release ===| obj\Release\conv.o:conv.c|| undefined reference to `INTEGER'| obj\Release\conv.o:conv.c|| undefined reference to `INTEGER'| obj\Release\conv.o:conv.c|| undefined reference to `Rf_ScalarInteger'| obj\Release\conv.o:conv.c|| undefined reference to `Rf_ScalarInteger'| obj\Release\conv.o:conv.c|| undefined reference to `Rf_ScalarInteger'| ||=== Build finished: 5 errors, 0 warnings ===| I found out that I need to link Rdll.lib, but to make it I should use these instructions...
2010 Dec 03
1
Strange problems with compiling dll
...compile it I have 5 errors, and all of them come form linker and say next (Code::Blocks): ||=== mcb2, Release ===| obj\Release\conv.o:conv.c|| undefined reference to `INTEGER'| obj\Release\conv.o:conv.c|| undefined reference to `INTEGER'| obj\Release\conv.o:conv.c|| undefined reference to `Rf_ScalarInteger'| obj\Release\conv.o:conv.c|| undefined reference to `Rf_ScalarInteger'| obj\Release\conv.o:conv.c|| undefined reference to `Rf_ScalarInteger'| ||=== Build finished: 5 errors, 0 warnings ===| I found out that I need to link Rdll.lib, but to make it I should use these instructions m...
2023 Apr 29
1
Forcing a PROTECT Bug to Occur
...deallocated memory, or maybe print out nonsense results because the unprotected memory got overwritten, but I can't make either happen. Here's my current code (all in R, using the inline package for simplicity): > gctorture(TRUE) > z = inline::cfunction(body=" SEXP vec_1 = Rf_ScalarInteger(99); SEXP vec_2 = Rf_allocVector(VECSXP, 10); SET_VECTOR_ELT(vec_2, 1, vec_1); Rf_PrintValue(vec_2); ") My thinking was that, with torture mode enabled, the allocation of vec_2 should ensure that vec_1 is collected, and then trying to put it into vec_2 and then print it would th...
2023 Apr 30
0
Forcing a PROTECT Bug to Occur
...> > but I can't make either happen. > > > > Here's my current code (all in R, using the inline package for > simplicity): > > > >> gctorture(TRUE) > >> z = inline::cfunction(body=" > >? ? ? SEXP vec_1 = Rf_ScalarInteger(99); > >? ? ? SEXP vec_2 = Rf_allocVector(VECSXP, 10); > >? ? ? SET_VECTOR_ELT(vec_2, 1, vec_1); > >? ? ? Rf_PrintValue(vec_2); > > ") > > > > My thinking was that, with torture mode enabled, the allocation > of vec_2 >...
2008 May 07
1
[BioC] RCurl loading problem with 64 bit linux distribution
...3bf0 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 U Rf_install U Rf_length...
2008 May 07
1
[BioC] RCurl loading problem with 64 bit linux distribution
...3bf0 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 U Rf_install U Rf_length...
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