search for: r_eval

Displaying 11 results from an estimated 11 matches for "r_eval".

Did you mean: rf_eval
2000 Oct 24
1
R_eval in tcltk library
...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 evaluator. Unfortunately I get Segmentation Fault (core dump) whenever I execute .Tcl("R_eval") or .Tcl("R_call"). Also, the results from these functions appears to be lost somewher. Both f...
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 `warnings()`'s reach, waiting to be...
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
2003 Oct 27
1
Rpy Import Error
I am trying to install Rpy to test it out as an R interface for a project that I am working on. However, I get the following error. Any clues as to what might be going on? I have alo tried RSPython, but I gave up due to errors. RSPython segfaults when started from R and gives an error message I can;t remember from python. Thanks, Brett >>> import rpy Traceback (most recent call
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.
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; jump_now(); } By commenting it out, the package builds and is usable (modulo the absence of interrupt handling, I suppose). Could someone give me a poi...
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,
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 ;-)
2001 Feb 11
6
embedding R?
My apologies if this is a FAQ, I searched the mailing list archives before posting. Background: I am a long time user of SPlus, and a recent user of R. My work normally involves converting the raw output of something interesting into data to be analyzed in S/R, for which I use Perl extensively. I then import the data into S/R, perform the analyses I need, dumping the values into a new file,
2003 Apr 16
2
R-1.7.0 is released
...llows arbitrary values for y in start/end = c(x, y): it always allowed y < 1 but objected to y > frequency. o unique.default() now works for POSIXct objects, and hence so does factor(). o Package tcltk now allows return values from the R side to the Tcl side in callbacks and the R_eval command. If the return value from the R function or expression is of class "tclObj" then it will be returned to Tcl. o A new HIGHLY EXPERIMENTAL graphical user interface using the tcltk package is provided. Currently, little more than a proof of concept. It can be started by call...
2003 Apr 16
2
R-1.7.0 is released
...llows arbitrary values for y in start/end = c(x, y): it always allowed y < 1 but objected to y > frequency. o unique.default() now works for POSIXct objects, and hence so does factor(). o Package tcltk now allows return values from the R side to the Tcl side in callbacks and the R_eval command. If the return value from the R function or expression is of class "tclObj" then it will be returned to Tcl. o A new HIGHLY EXPERIMENTAL graphical user interface using the tcltk package is provided. Currently, little more than a proof of concept. It can be started by call...