Displaying 20 results from an estimated 2000 matches similar to: "getDLLVersion"
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
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 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
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
2011 Jun 16
4
Controlling stdin and stdout in an embedded R instance
Hello,
I am very new to R but my question is with respect to the C API for
working with an embedded R console. I have been able to start and stop
an embedded R console from within a C program as well as use the API to
execute commands in it. I am seeking a mechanism to individually send
native R commands to an embedded console and then consume the output of
these commands. Specifically, I
2015 May 11
0
Windows environmental variables
Hi,
I recently had some difficulty getting an embedded R session running
on Windows, due to the way that R Sys.getenv works, which I would
consider a bug. Even if you do not agree, then you may still want to
document it for future users who might be bitten.
As outlined in R-exts (?8.2.2):
http://cran.r-project.org/doc/manuals/r-release/R-exts.html#Calling-R_002edll-directly
R_HOME/bin needs to
2016 May 18
0
Latest R-devel build failing on OS X
Yes, the nightly build is broken in a similar, but different way. See below.
Both seem to be readline related, so Frederick Eaton's patches, which Martin committed yesterday are the likely culprit. I had actually tested them and things seemed to work, but it was on a different machine and not a completely clean build.
-pd
.....
ranlib: file: libR.a(printf.o) has no symbols
gcc
2010 Aug 03
1
License for Rembedded.h
Possibly more of a legal question than a technical development question, but here goes.
In the doc\COPYRIGHTS file it is made clear that the intention is that you can write R packages and distribute them under licenses not compatible with GPL, by making the relevant header files available under the LGPL. This was an explicit change that was made in February 2001, and allows for DLLs that
2016 May 18
2
Latest R-devel build failing on OS X
Dear R-devel,
The latest version of R-devel (05-17) is throwing an error for me when building on OS X (v 10.11.4):
making Rembedded.d from Rembedded.c
making dynload.d from dynload.c
making system.d from system.c
making sys-unix.d from sys-unix.c
making sys-std.d from sys-std.c
making X11.d from X11.c
clang -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H
2016 May 18
0
Latest R-devel build failing on OS X
> On 18 May 2016, at 18:54 , Martin Maechler <maechler at stat.math.ethz.ch> wrote:
>
>
>> Yes, the nightly build is broken in a similar, but different way. See below.
>> Both seem to be readline related, so Frederick Eaton's patches, which Martin committed yesterday are the likely culprit. I had actually tested them and things seemed to work, but it was on a
2007 May 12
0
The best way to use R's linear algebra functions from C
First of all, thanks to everybody for R.
I have written a program in C that requires some basic matrix
operations, namely the following:
- matrix multiplication and addition,
- determinant and transpose,
- inverse of a symmetric matrix.
Since I am a happy R user I thought I could call R from within my
program for this purpose. I read "Writing R Extensions" and "R
Internals"
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
2016 May 18
3
Latest R-devel build failing on OS X
> Yes, the nightly build is broken in a similar, but different way. See below.
> Both seem to be readline related, so Frederick Eaton's patches, which Martin committed yesterday are the likely culprit. I had actually tested them and things seemed to work, but it was on a different machine and not a completely clean build.
Indeed a problem. I'm pretty sure that RL_UNSETSTATE()
2010 Aug 06
1
Is R GPL or LGPL (or can I write a commercial front end to R)?
Note I'm not asking for any legal advice here obviously, simply what the intention of the R foundation is with regard to allowing commercial connection to R.
I've looked at various threads on the r-devel archive and it looks like this may have been discussed before, but as far as could tell, not to any great resolution, and not, it seems, specifically covering this angle.
In the
2015 Aug 24
0
Child thread libR.so
I did some poking around with GDB and confirmed that the advice of
setting R_CStackLimit after init, which is echoed in the "threading
issues" section of the R-exts help document, isn't entirely useful
because init apparently loads the main package which trips over the
broken stack checking.
Stack trace:
#0 R_SignalCStackOverflow (usage=140732197147604) at errors.c:81
#1
2009 Apr 01
1
R in standalone application
I am trying to build a C application where I need to compute some
statistics to take decisions about the direction to give to a user,
knowing his/her habits. Because I used R back at school, I thought I can
use some of his functions in my application, as a shared library. I
reviewed the "Rinternals" and "R extensions" documents, and decided to
give a try to the
2015 Aug 25
0
Child thread libR.so
Simon,
Ah, thank you! quiet right. For anyone searching for this in the
future, I changed my init fuction to:
---------- SNIP ----------------
void init_r() {
SEXP aperm_function;
/* this is our version of Rf_initEmbeddedR where we disable stack
checking */
const char *init_argv[] = {"MyFront", "--vanilla", "--slave"};
Rf_initialize_R(sizeof
2009 Sep 16
2
I want to get a reference to this time series object
I'm trying to get a reference to this object in C
SWX.RET[1:6,c("SBI,"SPI","SII")]
While i am able to access and use a plain SWX.RET object, I'm getting
confused on how to create an object with the array subscripts like above.
Here is what I tried to do. It doesn't work because "[" is obviously not an
operation or function on SWX.RET. So how do I
2009 Dec 26
1
Problem compiling R library on FC4 ( conflicting declaration in Rinterface.h and stdint.h)
Hello,
The package builds successfully on RHEL5 and OS X( 64 bit,32/64
respectively) but on FC4(32 bit) it fails with this error
g++ -m32 -I/usr/include/R -I/usr/local/include -fpic -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -I. -g `pkg-config --cflags protobuf`
-Wall -c
2009 Jun 26
1
bug in Rf_PrintValue ?
I'm very green with R, so maybe this is not a bug, but it looks like one to
me. The following program segfaults at the second call to Rf_PrintValue().
To failure depends on the value of the y-string. E.g., if I change it from
"coverage" to, say, "COVERAGE", the segfault does not occur.
/* bug.c */
#include <stdio.h>
#include <Rinternals.h>
#include