search for: rf_findvar

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

2004 Oct 08
2
R-2.0.0 findVar and findFun question
Dear all, when working on a project with embedded R, I found out that R-2.0.0 causes a problem where older versions worked OK. Rf_findVar(...) causes the following error when used to find a generic function (such as print): fun = Rf_findVar(...); R_tryEval(fun, ...); Error in function (object, ...) : Invalid generic function in usemethod Alternatively, using Rf_findFun(...) seems OK in this context, but crashes if you call it wit...
2007 Jul 04
2
problem with findFun call from embedded R
...t RNamedCall.c:54 #6 0x0000000000400d59 in main (argc=1, argv=0x7fffa13ab838) at RNamedCall.c:16 8<------------------------ And then stepping into line 719 generates the segfault: 8<------------------------ (gdb) s Program received signal SIGSEGV, Segmentation fault. 0x00002aaaaab701ce in Rf_findVar (symbol=0x6c12b8, rho=0x0) at envir.c:998 998 if (TYPEOF(rho) == NILSXP) 8<------------------------ I believe this is happening because findFun() was not executed inside a valid context, and therefore R_ToplevelContext->cjmpbuf is invalid. My question is -- is the above an abuse of...
2006 Nov 27
1
R.DLL mapping by P/Invoke
...[DllImport("R.DLL", /*CallingConvention = CallingConvention.Cdecl,*/ CharSet = CharSet.Ansi)] static extern IntPtr Rf_install(string name); [DllImport("R.DLL", /*CallingConvention = CallingConvention.Cdecl,*/ CharSet = CharSet.Ansi)] static extern IntPtr Rf_findVar(IntPtr symbol, IntPtr env); [DllImport("R.DLL", /*CallingConvention = CallingConvention.Cdecl,*/ CharSet = CharSet.Ansi)] static extern void Rf_setVar(IntPtr symbol, IntPtr value, IntPtr env); #endregion #region <R.DLL interop types> enum RP...
2002 Jan 02
1
Building R-1.4 on Tru64
...ocal/lib /usr/ucb/ld: Warning: Unresolved: TYPEOF Rf_error Rf_protect Rf_substitute Rf_unprotect Rf_duplicate Rf_VectorToPairList R_NilValue Rf_NewEnvironment R_set_standardGeneric_ptr R_GlobalEnv R_set_quick_method_check Rf_install Rf_allocVector LOGICAL R_PreserveObject Rf_mkChar SET_STRING_ELT Rf_findVar R_UnboundValue VECTOR_ELT R_NamesSymbol Rf_getAttrib Rf_length STRING_ELT R_CHAR R_do_slot Rf_asChar PRINTNAME Rf_isNull CAR CDR R_data_class Rf_isFunction Rf_findFun SETCAR Rf_eval INTEGER CLOENV Rf_findVarInFrame Rf_isSymbol ENCLOS SYMVALUE Rf_asLogical R_MissingArg Rf_isPrimitive do_set_prim_met...
2007 Oct 17
0
Using R.dll in .NET IPC
...[DllImport("R.DLL", /*CallingConvention = CallingConvention.Cdecl,*/ CharSet = CharSet.Ansi)] static extern IntPtr Rf_install(string name); [DllImport("R.DLL", /*CallingConvention = CallingConvention.Cdecl,*/ CharSet = CharSet.Ansi)] static extern IntPtr Rf_findVar(IntPtr symbol, IntPtr env); [DllImport("R.DLL", /*CallingConvention = CallingConvention.Cdecl,*/ CharSet = CharSet.Ansi)] static extern void Rf_setVar(IntPtr symbol, IntPtr value, IntPtr env); #endregion #region <R.DLL interop types> enum RP...
2010 May 06
1
R on kdeedu-svn library problem
...9; $SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:138: undefined reference to `R_GlobalEnv' $SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:138: undefined reference to `Rf_install' $SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:138: undefined reference to `Rf_findVar' $SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:138: undefined reference to `Rf_protect' $SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:139: undefined reference to `R_NilValue' $SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:143: undefined reference to...
2004 Mar 13
0
64bit build on IBM
...0711-317 ERROR: Undefined symbol: .Rf_addDevice ld: 0711-317 ERROR: Undefined symbol: .GEinitDisplayList ld: 0711-317 ERROR: Undefined symbol: R_interrupts_pending ld: 0711-317 ERROR: Undefined symbol: .Rf_onintr ld: 0711-317 ERROR: Undefined symbol: .R_alloc ld: 0711-317 ERROR: Undefined symbol: .Rf_findVar ld: 0711-317 ERROR: Undefined symbol: .Rf_elt ld: 0711-317 ERROR: Undefined symbol: .Rf_GetDevice ld: 0711-317 ERROR: Undefined symbol: R_InputHandlers ld: 0711-317 ERROR: Undefined symbol: .getInputHandler ld: 0711-317 ERROR: Undefined symbol: .removeInputHandler ld: 0711-317 ERROR: Undefined symb...
2002 Jul 11
1
dyn.load tcl/tk (PR#1774)
...List Rf_asInteger Rf_duplicate Rf_GetOption Rf_install Rf_isList Rf_isVector Rf_length Rf_listAppend Rf_nthcdr Rf_PrintDefaults Rf_protect Rf_unprotect SET_STRING_ELT SET_TAG SETCAR SETCDR Rf_begincontext Rf_endcontext Rf_str2type Rf_errorcall Rf_EncodeElement vmaxget vmaxset R_alloc Rprintf Rf_elt Rf_findVar Rf_GetDevice devNumber GEplayDisplayList addInputHandler getInputHandler removeInputHandler R_InputHandlers Rf_KillDevice R_setX11Routines gmake[5]: Entering directory `/soft/R/R-1.5.1/src/modules/X11' mkdir -p -- /soft/R/R-1.5.1/modules gmake[5]: Leaving directory `/soft/R/R-1.5.1/src/modules/...