Displaying 4 results from an estimated 4 matches for "r_toplevel".
Did you mean:
__toplevel
2009 Apr 14
0
top level condition handlers
...Hands(classes, handlers, parentenv, NULL,
TRUE))
expr
}
<environment: namespace:base>
but it does not work, probably because the handler stack is reset
somewhere.
Would it work if I poke into the RTopLevel.handlerstack instead of the
R_HandlerStack as .addCondHands is doing ?
R_Toplevel.handlerstack = R_HandlerStack;
R_Toplevel.restartstack = R_RestartStack;
R_GlobalContext = R_ToplevelContext = &R_Toplevel;
Romain
--
Romain Francois
Independent R Consultant
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
2015 Aug 21
0
Problems with embedded R, ReplDLL
Along with getting pqR to work on Windows, I've also been testing it
in the context of embedded R, and in the process have found some
problems with the examples given of embedded R use.
One problem can be seen in R_ReplDLLinit, in src/main/main.c:
void R_ReplDLLinit(void)
{
SETJMP(R_Toplevel.cjmpbuf);
R_GlobalContext = R_ToplevelContext = R_SessionContext = &R_Toplevel;
R_IoBufferWriteReset(&R_ConsoleIob);
prompt_type = 1;
DLLbuf[0] = DLLbuf[CONSOLE_BUFFER_SIZE] = '\0';
DLLbufp = DLLbuf;
}
The call of SETJMP makes no sense. Nothing that follows in...
2006 May 25
1
compiling tests/Embedding
...;
/bin/pwd`/lib -lR
gcc -o Rtest Rtest.o embeddedRCall.o
-L/autofs/tewa_data5/ost/R/R-2.3.0/lib -lR -Wl,--rpath
-Wl,/data5/ost/R/R-2.3.0/lib
embeddedRCall.o(.text+0x1e): In function `Test_tryEval':
/autofs/tewa_data5/ost/R/R-2.3.0/tests/Embedding/embeddedRCall.c:81:
undefined reference to `R_ToplevelExec'
collect2: ld returned 1 exit status
make: *** [Rtest] Error 1
ost at hawk0:/data5/ost/R/R-2.3.0/tests/Embedding> cd
/autofs/tewa_data5/ost/R/R-2.3.0/lib
ost at hawk0:/autofs/tewa_data5/ost/R/R-2.3.0/lib> nm libR.so | grep R_Top
000000000042c920 B R_Toplevel
000000000042cae8 B R_Topl...
1998 Apr 06
1
R-beta: matrix multiplication not Fortran
A non-text attachment was scrubbed...
Name: not available
Type: text
Size: 1287 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-help/attachments/19980406/39dc7891/attachment.pl