similar to: Rpy Import Error

Displaying 20 results from an estimated 100 matches similar to: "Rpy Import Error"

2003 Sep 13
1
R 1.8.0 (to be) and RPy 0.3.1
I look every now and then at RPy. It is not yet a Debian package as it had the odd problem here or there -- initially an Atlas interaction, currently something with long_jump() which cannot be found when R's dynamic library is loaded. [1] It is called R_eval.c: /* Abort the current R computation and signal a KeyboardInterrupt exception */ void interrupt_R(int signum) { interrupted = 1;
2000 Oct 24
1
R_eval in tcltk library
Is there a method with the current tcltk library in R to call back an R function within the .Tcl("...") interpreter? I can't find anything documented, and I don't understand the usefulness of the .Tcl.callback() function. Browsing through the tcltk source code I found two functions R_eval and R_call that seem to take input from the .Tcl interpreter and parse them through the R
2019 May 19
4
most robust way to call R API functions from a secondary thread
Hi, As the subject suggests, I am looking for the most robust way to call an (arbitrary) function from the R API from another but the main POSIX thread in a package's code. I know that, "[c]alling any of the R API from threaded code is ?for experts only? and strongly discouraged. Many functions in the R API modify internal R data structures and might corrupt these data structures if
2019 May 20
1
most robust way to call R API functions from a secondary thread
Stepan, Andreas gave a lot more thought into what you question in your reply. His question was how you can avoid what you where proposing and have proper threading under safe conditions. Having dealt with this before, I think Andreas' write up is pretty much the most complete analysis I have seen. I'd wait for Luke to chime in as the ultimate authority if he gets to it. The
2002 Mar 11
2
Help with Python, R and RPY
Hi All: Walter Moreira wrote a small extension module for using the R programming language from within Python. Tim Church's example at http://www.cmat.edu.uy/~walterm/rpy was so compelling, I could not resist installing it on my Linux Mandrake 8.1 box. But I ran into problems. I have installed on Mandrake 8.1 both python and R: R-base-1.4.1-1mdk.i586.rpm
2014 Feb 25
1
What this error means
Hi , I am running R from C using the interpreter . Now i execute detach("package:td", unload=TRUE) And I get the following error . Any idea what it means ? *** caught segfault *** address 0x102, cause 'memory not mapped' Traceback: 1: sys.parent() 2: sys.function(sys.parent()) 3: formals(sys.function(sys.parent())) 4: match.arg(event) 5: packageEvent(pkgname,
2003 Nov 12
2
Using tcltk language with R system
Hello, Does anybody know how can i call a R function in a tcltk file? I made a tcltk file, but I need call functions in R. i.e: in R I can put .Tcl("tcltk statement"). There are a same command to call R in a tcltk file? I want to make a R Gui using tcltk language, do you recommend use a tcltk or a R pack tcltk and don't use tcltk language? Thanks for your attention.
2010 Jul 21
1
Plot window does not update in embedded code
Dear list, I am trying to embed R into a C++ program. After some tinkering, reading the documentation and browsing the source code I have this more or less working. A very very condensed and very simplified version of the code is included below. The program can create plots. However, after the plot is initially drawn it is no longer updated. When scaling or updating the plot the window becomes
1997 Apr 28
3
R-alpha: R-0.49: 2 problems
I found the following 2 problems (no debugging, sorry). * qt(0.975, 3) never returns. Can someone please check that? Happens for me on Debian GNU/Linux/ix86 compiled with CFLAGS="-O2 -g". * Yet another stupid way to cause a segfault: R> x Error: Object "x" not found R> debug(t.test) R> t.test(rnorm(10)) debug: choices <- c("two.sided",
2023 Apr 23
1
Warnings created during R_eval or R_tryEval not shown before R ending or R error.
Hi, I have an embedded R, with the evaluation of expressions happening over time during the lifespan of the process. I tried either `R_eval()` and `R_tryEval()` for the evaluation. The issue I have is that the processing of warnings does not happen until the process exits and/or R is shut down. Evaluating `warnings()` returns NULL (NILSXP). It seems like the warnings are stuck in a list out of
2005 Jan 17
3
RHEL 4 => CentOS 4
Hi, I would like to try to switch from CentOS 3.4 => CentOS 4 beta. I hava a couple of questions: -is possible to upadte/upgrade my test box from 3.4 => 4 and what are the yum.conf settings/requirements? -is it easy to update your CentOS 4 beta => CentOS 4 when the stable version comes out? Thanks in advance! -- Kind Regards, Michiel van Es
2002 Sep 01
5
IceS: compile problem with Python
Hello! I can't compile IceS 0.2.3 with Python 2.2 (X86, Red Hat Linux 7.3) ==================================== [root at radio ices-0.2.3]# ./configure --with-lame --with-python=/usr/bin --with-python-includes=/usr/include/python2.2 --with-python-libraries=/usr/lib/python2.2 ==================================== Configure script tell me: ==================================== <....>
2023 Apr 26
1
Warnings created during R_eval or R_tryEval not shown before R ending or R error.
? Sun, 23 Apr 2023 13:33:16 -0400 Laurent Gautier <lgautier at gmail.com> ?????: > When tracing what happens during an error I found that > verrorcall_dflt() in src/main/errors.c calls PrintWarnings(). That > function is not part of R's C-API though. I've tried reading the source code and came to a similar conclusion. PrintWarnings() is required for warnings() to work
2004 Aug 06
1
IceS: compile problem with Python
> Leave out the --with-python-libraries line. The libraries are probably > in /usr/lib, not /usr/lib/python2.2. That is, if you've made sure to > install the python-devel rpm. Python and python-devel installed correctly.... I tried without --with-python-libraries line; with --with-python-libraries= /usr/lib; --with-python=/usr; --with-python=/usr/bin; --with-python; etc with
2019 May 20
0
[External] most robust way to call R API functions from a secondary thread
Your analysis looks pretty complete to me and your solutions seems plausible. That said, I don't know that I would have the level of confidence yet that we haven't missed an important point that I would want before going down this route. Losing stack checking is risky; it might be eventually possible to provide some support for this to be handled via a thread-local variable. Ensuring
2019 May 20
0
most robust way to call R API functions from a secondary thread
Hi Andreas, note that with the introduction of ALTREP, as far as I understand, calls as "simple" as DATAPTR can execute arbitrary code (R or native). Even without ALTREP, if you execute user-provided R code via Rf_eval and such on some custom thread, you may end up executing native code of some package, which may assume it is executed only from the R main thread. Could you (1)
2006 Jun 02
2
Helping out - simple bugs to help familiarize with R design, source, etc
Hi All, Well I finally have found the time to get svn working and I have successfully built my own tuned atlas (multi-threaded version) libs and have both the r-devel and r-patched trees building daily on my box. The problem is I still do not have a good idea of the layout and design of R, and typically I "learn by doing" by trying to fix a bug that hits me. Unfortunately ;-)
2004 Nov 26
1
package dependency problem
Post Turkey Day (#1 Shopping Day) Greetings! I am running CentOS-3 as a desktop distribution. Everything is fine except for Idle, the integrated development environment that comes with Python. Python is version 2.2, but Idle is version 0.8. The Idle 0.8 keyboard is driving me nuts. On my Windows box, I downloaded from www.python.org and installed Python, and got Python 2.3 and Idle 1.0.8,
2004 Jun 08
1
Nested shared library calls in Linux
Hi, I have an interface from R to the wxPython GUI toolkit which works under Windows: http://bioinf.wehi.edu.au/folders/james/wxPython/ (as long as you build RSPython with a shared (not static) Python library). But on Linux I get an error: > library(RSPython) > importPythonModule("wx") Error in .PythonEval(cmd) : Error in Python call:
2004 Apr 14
2
Problem creating new domain in unstable
Hi, I just had a try using the xeno-unstable. When I used the xc_dom_create.py to create a new domain I got the followings: ============================================== Traceback (most recent call last): File "/usr/bin/xc_dom_create.py", line 332, in ? (current_id, current_port) = make_domain() File "/usr/bin/xc_dom_create.py", line 238, in make_domain