similar to: R embedded reinitialization error (PR#12644)

Displaying 20 results from an estimated 300 matches similar to: "R embedded reinitialization error (PR#12644)"

2009 Mar 05
0
calling Rf_initEmbeddedR twice gives an error
Dear all, I've written a R to python/octave/r translator that (so you can call python from R etc and vice versa) enabling you to e.g. call matplotlib which just runs fine on the first command when I do Rf_initEmbeddedR(2, argv); Rf_endEmbeddedR(0); Rf_initEmbeddedR(2, argv); Rf_endEmbeddedR(0); I get this error Error in .Call("R_isMethodsDispatchOn", onOff,
2010 Nov 19
1
JRI and error message from R_isMethodsDispatchOn
Dear R users, I have a small project written in Java and need some statical tools. Therefore, I used JRI (in rJava package) as an interface between R and Java to write some wrappers for my work. However, I received error message from R while I have more than one java method which wraps R: Error in .Call("R_isMethodsDispatchOn", onOff, PACKAGE = "base") : Incorrect
2010 Apr 17
0
Error when creating 2 R instances on the same context.
Hello, I'm getting an error when trying to create a secound R instance on the same context, in my system R calls Fortran code that calls C++ code that ultimately call R code again, but on this secound call I get this error. Error in .Call("R_isMethodsDispatchOn", onOff, PACKAGE = "base") : Incorrect number of arguments (2), expecting 1 for R_isMethodsDispatchOn Error in
2004 Apr 06
1
A question about embedded R
Hello everyone, I met a strange problem when I call R expression from C++, here is the details: I edited a function eval_R_command(); double eval_R_command(const char *funcName) { SEXP exp,e; ParseStatus status = PARSE_OK; int i,n; double val; PROTECT(exp=NEW_CHARACTER(1)); SET_STRING_ELT(exp, 0, COPY_TO_USER_STRING(funcName)); PROTECT(e = R_ParseVector(exp, 1,
2005 Mar 17
1
Compiling "embedding R" examples
Hi, I am working at a major financial institution and we would like to embed R in one of our front office application. The application is written in C/C++ so I started by trying to compile the examples in "tests/Embedding" of R 2.0.1. I have modified "tests/Embedding/Makefile" according https://stat.ethz.ch/pipermail/r-help/2005-February/064341.html and set
2006 May 25
1
compiling tests/Embedding
I am compiling the Embedding examples in the tests directory and get an undefined reference. I include the make output as well as grep'd output of nm on libR.so and compiler and arch information. Do I have an improperly built R shared library or is there a problem with the Embedding tests or something else I am not seeing? Thanks for any help! George ost at
2003 Aug 14
0
Simple C-R interface, SEXP and other declarations
I am trying to integrate OpenOffice Calc (OO) with R. One of the steps I am taking is to create a very simple command line C program with the R shared lib embedded in it. It would simply pass an R/S expression to R, print the result, and catch errors. I know this is "overkill," but it is a step toward something larger. Has anyone done this before? If so, I would love to check out
2005 Mar 17
3
Compiling "R Embedded" examples
Hi, This question was first posted wrongly on R-help. Apologize for the inconvenience. I am working at a major financial institution and we would like to embed R in one of our front office application. The application is written in C/C++ so I started by trying to compile the examples in "tests/Embedding" of R 2.0.1. I have modified "tests/Embedding/Makefile" according to
2007 Apr 12
1
Seek problem 2 - reinitialization of the decoder
Hi people, Next issue at hand here is after I have done a seek in a theora file. At this point, I have to reinitialize the decoder so the viewing can continue. Again, I have code that works most of the time, but, well... Just after the last file position seek, this code is run: while ((result = ogg_sync_pageout(&sync, &page)) == 0) bufferData(); while
2005 Feb 04
5
simple example of C interface to R
i'd like to use the C interface to R in a program i'm writing. as a starting point, i'm trying to create a very simple C program that uses R. i've read the R documentation on this, but i'm having trouble figuring out where SEXP is defined and how to use it. i noticed someone else on this list also tried to use the C interface, but they ran into similar problems:
2002 Apr 17
1
Problems embedding R in a C application
Hello, I've encountered two serious issues that have stopped me in my tracks, and I would be most grateful to anyone who can provide some answers. I am using the examples provided on the page "Testing the Embeddable R Library". I am writing a C application, that I want to embedd R into (I'm not interested in embedding my application in R, that's not an option). I'm
2010 May 25
0
R without dynamic libraries: anyone working on this?
Hi all, I'm building R for a context where I can't load dynamic libraries. I've configured the build appropriately but from what I can tell it's not currently supported: there are compile errors here and there and the mechanism for looking up base symbols (CFunTab in Rdynload.c??) seems to have been ripped out. I'm going to add enough code so that R_FindSymbol will at least
2019 Oct 23
1
[PATCH] drm/virtio: print a single line with device features
On Tue, 22 Oct 2019, Daniel Vetter <daniel at ffwll.ch> wrote: > On Fri, Oct 18, 2019 at 01:38:32PM +0200, Gerd Hoffmann wrote: >> Signed-off-by: Gerd Hoffmann <kraxel at redhat.com> >> --- >> drivers/gpu/drm/virtio/virtgpu_kms.c | 9 ++++----- >> 1 file changed, 4 insertions(+), 5 deletions(-) >> >> diff --git
2019 Apr 05
2
Parsing code with newlines
Hello! This is my first post here. I came across the very same problem. It can be reproduced within modified tests/Embedding/RParseEval.c Actually this example has another issue, namely it doesn't wrap everything in R_ToplevelExec . This is a major show stopper for newcomers as that function is barely mentioned anywhere and longjmp into terminated setuploop function followed by R_suicide
2006 Jun 20
1
Bug with evdev corepointers
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello everybody, Those who are active in #Xgl on freenode know that I've had segfaults when starting Xgl during the last few weeks (which is also why there was no progress on my g-w-d rewrite). Today I found the time to debug Xgl and to find the bug. My mouse was configured as evdev device in xorg.conf, and to use it, it was set as the
2019 Dec 10
2
[PATCH] D69853: [OpenMP][NFCI] Introduce llvm/IR/OpenMPConstants.h
Johannes, This patch seems to be causing test failures when I just do "ninja check", without running "ninja" or "ninja all" first. $ CC=clang CXX=clang++ cmake -G Ninja ~/git/llvm-project/llvm -DLLVM_USE_LINKER=lld -DLLVM_PARALLEL_LINK_JOBS=4 -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=X86 && ninja check [...] FAIL: LLVM ::
2016 Aug 31
2
autoexpunge clarification
Thanks Philon, I did read the extra bullets, as indicated in my email below. But your "When the user quits and thus closes his mailbox/connection" is more clear than "after the client is already disconnected", since the latter is really anytime, rather than at the time they quit. I can guess that the bulletin about LMTP similarly means at the end of each time LMTP delivers
2019 Apr 10
0
Parsing code with newlines
On 4/5/19 8:14 AM, Mikhail Titov wrote: > Hello! > > This is my first post here. I came across the very same problem. > It can be reproduced within modified tests/Embedding/RParseEval.c Please check https://www.r-project.org/posting-guide.html and update your post if you still need to get help here - from your current post I am not sure what you did, what was the error you got and
2016 Aug 30
2
autoexpunge clarification
I'm trying to understand autoexpunge, but the documentation is just not clear. Hopefully, someone can clear up a few questions. http://wiki.dovecot.org/MailboxSettings says the following: autoexpunge=<time>: (v2.2.20+) Automatically at user deinitialization expunge all mails in this mailbox whose saved-timestamp is older than <time> (e.g. autoexpunge=30d). This removes the
2007 Oct 13
1
R API - optim
I am trying to use the R API to call optim functions (nmmin, vmmin, lbfgsb, etc.) through a C program but I couldn't find the shared library to link under the R-2.6.0 build which is compiled under Linux (REL5). main.cpp:35: undefined reference to `Rf_initEmbeddedR(int, char**)' main.cpp:41: undefined reference to `nmmin' Thanks in advance for any help. ------------------------