Displaying 20 results from an estimated 800 matches similar to: "Package-level access to Rp->R_Quiet ?"
2009 Jan 08
1
Callbacks seems to get GCed.
Dear list,
I am trying to implement a publish-subscribe mechanism in for an embedded
R interpreter. But somehow my registered closures seem to get collected by
the GC, even though I have protected them. I have reducted my code to the
following sample. Sorry if it is a little verbose.
The first couple of call of calls still work, but at some point one of the
callbacks (callback1 in my
2003 Jul 16
2
Fatal error in SJava.
Dear r-helpers,
I have been trying to invoke R from Java in a Windows 2000 computer
(unfortunately). All my environment variables seem to be properly set,
everything seems to be in order, but I obtaining a
Fatal error: unable to open the base package
error window.
Also, the output of the invoker is
Loading RInterpreter library
R_HOME: R_HOME=C:/Programas/R
RVersion: R_VERSION=1.6.1
whereas
2008 Mar 19
1
R_ParseVector problem: it's cutting off after the decimal point
Dear all,
my aim is to integrate R in an interactive visualisation software
called Bulk Analyzer developed by VrVis (http://www.vrvis.at).
the code:
SEXP e, tmp;
ParseStatus status;
PROTECT(tmp = mkString("x <- c(1.234,-3.45)"));
PrintValue(tmp);
PROTECT(e = R_ParseVector(tmp, -1, &status, R_NilValue));
PrintValue(e);
UNPROTECT(2);
produces the following output:
[1] "x
2009 Sep 03
1
Running an expression 1MN times using embedded R
Hello,
I'm evaluating this expression
expression({ for(x in 1:5){ .Call('rh_status','x') }})
a million times from a program with R embedded in it. I have attached
reproducible code that crashes with
Program received signal SIGSEGV, Segmentation fault.
0x00002b499ca40a6e in R_gc_internal (size_needed=0) at memory.c:1309
1309 FORWARD_NODE(R_PPStack[i]);
Current language:
1999 Oct 25
1
gc_inhibit_torture definition twice?
I have a problem to understand the way gc_inhibit_torture is defined.
In include/Defn.h it is declared as extern, using the __MAIN__ trick this leads to
a definition in main/main.c.
But in main/memory.c you define (and initialize) gc_inhibit_torture again:
int gc_inhibit_torture = 1; /* gets set to zero after initialisations */
Then, in e.g. unix/system.c immediately at the beginning of
2005 Sep 22
1
Rf_initEmbeddedR in Windows
Hi All
My C++/linux program uses Rf_initEmbeddedR to start R and then calls some
R functions. Now I try to port it to Windows. Give the fact that
Rf_initEmbeddedR is missing in Windows, I try to use the implmentation in
Rserve by Simon Urbanek. When I build in MS Visual Studio, I get the
following linking error
error LNK2019: unresolved external symbol __imp__putenv referenced in
function
2012 Aug 20
0
Problem with initializiing R main loop under Windows (R.dll-version: 2.15.1)
Dear R-developers,
even though I may not be the first one to encounter the problem
described below, I would really appreciate some help or a link to a
forum where this topic is being discussed. Probably I am simply
misinformed on the usage of structRstart but see for youselve.
I did check multiple forums and the whole internet on the topic without
success.
I am using the shared library version
2006 Nov 27
1
R.DLL mapping by P/Invoke
After a long processing, I was able to create a version of a small C# class
that was able to emulate the rproxy by P/Invoke. This is mostly to find a
workaround a performance problem of the StatConnector.
It's almost work but ... I have strange memory exception when I call the
print function. The variable seems to not survive from one call to the
other.
As there is no debug symbol for
2008 Dec 18
4
rscproxy version conflict
After installing the package 'rscproxy' downloaded from the CRAN server, I
get the following error message from R 2.8.0 about a version conflict :
package 'rscproxy' successfully unpacked and MD5 sums checked
The downloaded packages are in
C:\Documents and Settings\John Meerman\Local
Settings\Temp\RtmpbK9mxN\downloaded_packages
updating HTML package
2007 Oct 17
0
Using R.dll in .NET IPC
Hi - I wrapped R.dll up using somebody code online (see below). I am comparing R on .NET IPC with R(D)COM.
I got it all working. Except, I realize that in my client code of the IPC remoting, if I call 'plot' function in R via EvaluateNoReturn, I don't seem to see any results on the R plot window (although the window pops up). Is there anything to do with the code of R.dll wrapper
2001 Feb 17
1
More comments on R-1.2.1 builds (PR#852)
On IBM RS/6000 AIX 4.2, I built R-1.2.1 with
% env CC=xlc CXX=xlC F77=f77 FC=f77 ./configure
R is now configured for powerpc-ibm-aix4.2.1.0
Source directory: .
Installation directory: /usr/local
C compiler: c89 -g
C++ compiler: xlC -g
FORTRAN compiler: f77 -g
X11 support: yes
Gnome support: no
Tcl/Tk
2004 Mar 12
2
Problems startin RAqua for Mac
I am a user of a i book G4 with OS X 10.3 and I installed RAqua 1.8.1
without any problems. When I want to start RStart the "R" Symbol appers
for one second and then disappers again and nothing else happens. I've
tried to reinstall the program and I also reinstalled my OS X wich did
not help. I really need this program for my studies. If someone knows
whats wrong please eMail
2003 Dec 31
1
programming with C++Builder 5
Hi there,
I am using C++ Builder 5 to develop windows GUI interface for a R library package. I have to pass R objects to and from C functions and also evaluate them within C functions. But I always got linking error message of "unresolved external functions" with those internal functions or macros defined in Rinternals.h file. I can not find the reason.
I have included R.h and
2003 Dec 31
1
programming with C++Builder 5
Hi there,
I am using C++ Builder 5 to develop windows GUI interface for a R library package. I have to pass R objects to and from C functions and also evaluate them within C functions. But I always got linking error message of "unresolved external functions" with those internal functions or macros defined in Rinternals.h file. I can not find the reason.
I have included R.h and
2007 Jul 11
1
make error R-5.1 on sun solaris
I hope this is enough information to determine the problem. Thanks in
advance for any help.
Configure goes ok (I think)
./configure --prefix=$HOME --without-iconv
R is now configured for sparc-sun-solaris2.9
Source directory: .
Installation directory: /home/dpowers
C compiler: gcc -g -O2
Fortran 77 compiler: f95 -g
C++ compiler: g++
2000 Sep 28
1
creating custom I/O for R
Dear R developers,
I am building an ActiveX Com wrapper for R. I have successfully implemented
an Evaluate function using rproxy_impl.c and rtest.c as examples. The Com
object as it stands at the moment is similar to Thomas Baier's automation
server StatConnectorSrv.exe except that it does not use the Proxy. My goal
it to include a couple of activeX controls in the library: One to provide a
2012 Oct 27
1
help install RExcel
Hello,
I just installed RExcel but I have some problems. I am writing you the set
of commands that I used:
> install.packages("RExcelInstaller", "rcom", "rsproxy")
> library(rcom)
> comRegisterRegistry()
> library(RExcelInstaller)
> installstatconnDCOM()
> installRExcel()
But when I select RStart from add-ins I see this written "No R server
2006 Nov 14
1
confige error:X11 headres/libs
Can someone who uses SuSe Linux (I currently use 9.3) please tell me what I
need toto to avoid the
message
configure: error: --with-x=yes (default) and X11 headers/libs are not
available
without setting --with-x=no
currently my /usr/lib/X11 directory looks like this
ls /usr/lib/X11
app-defaults fvwm2 nls twm XErrorDB Xmodmap
Cards getconfig Options wmmount
2009 Jun 18
1
Calling library functions from outside R
I develop quite a bit of R code that I tend to distribute, or let
other people embed in their software. One of the things I'd really
like to do is find a way to load an R library I've developed, and call
one function with arguments.
Currently, I achieve that by building a separate R client file, which
reads in the command line arguments, loads the library, and calls the
main
2009 May 22
2
Memory leak on asterisk 1.6.0.6
Hi everyones,
I have a production server using asterisk 1.6.0.6
using php as an IVR and mssql server (on other machine)
My server attached a Sangoma A104 card (4xT1 card)
i have a problem with memory leak on that server
and causing a delay on IVR prompt. (Thats my assumption, memory leak problem)
any suggestion on this problem? or maybe any assumption?
frangky