Displaying 20 results from an estimated 3000 matches similar to: "Embed R code in C++"
2015 Dec 05
1
Compile error about using RInside on windows enviroment
I'm going to using RInside on windows enviroment. I installed all tools and packages according to Dirk's instruction.
My R installation reside in d:\hli\programfiles\R-3.2.2. There's no problems with folders with spaces.
The rtools is installed in d:\hli\programfiles\Rtools and MinGW in d: \hli\programfiles\MinGW.
The R_HOME is set to d:\hli\programfiles\R-3.2.2.
I
2014 Oct 22
1
Problems to compile examples of RInside
Hello,
I have some problems to migrate to R >3.0 my devel machine (R.2.15.2). So I decided to start from scratch with a brand new virtual machine.
Downloaded latest network install of debian testing, not stable (jessie/sid, SMP Debian 3.16.3-2 (2014-09-20) x86_64 GNU/Linux) installed only with ssh-server and basic utilities (no X).
Then I installed R by:
apt-get install
2010 Nov 22
1
Using RInside in Visual Studio 8.0 VC++.NET Program
Hello,
I am trying to use Rinside package in my VC++.Net program ( using Visual
Studio 8.0 environment). I have downloaded Windows binary of RInside from
the following link
http://cran.r-project.org/web/packages/RInside/index.htm
Version of RInside - 0.2.3
While compiling the program , i am getting about 69 error. Some of them are
the folllowing ones. Please me in solving the following issue
2012 Dec 05
1
RInside, rcpp compilation problem
I have spent some hours browsing the RInside and rcpp documentation, lots of it; but ... as a programmer of C++ since 1990, on both Windows and Unix ... ( Solaris and Ubuntu, and Mandrake/Mandrivo Linux); I see a minor problem ...... Where is the rcpp.h header file?? The below code fails to compile as the RInside.h header file references the rcpp.h header file, which is not included with
2010 Apr 30
2
RInside & child threads
Hi Folks,
I am creating a multi-threaded C++ application that initializes RInside in
one of the child thread.
I would also like to access support interfaces like Rcpp::Environment in the
remaining child threads, so that I could access any "R" function associated
with the
environment initialized.
When I run my program, I always get "C Stack limit too huge" errors.
I looked
2011 Jan 26
2
Dealing with R list objects in C/C++
Hi,
I'd like to construct an R list object in C++, fill it with relevant data, and pass it to an R function which will return a different list object back. I have browsed through all the R manuals, and examples under tests/Embedding, but can't figure out the correct way. Below is my code snippet:
#include <Rinternals.h>
// Rf_initEmbeddedR and other setups already performed
2015 Dec 11
1
Runtime error when run a RInside program compiled by intel c++ on windows
I have intstalled R-3.2.2,Rcpp-0.12.2,RInside-0.2.13 on windows. I compiled the example1 of RInside in the
example directory which create a RInside instance and prints "hello world". The compiler is intel c++. I included
the RInside source files in the project and fixed the compile and link errors. But when run the executable file it
prints some error message and quites.
I debug
2015 Jun 19
1
QT + RInside problem complement
The solution post is here:
http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2012-November/004771.html
In the paragraph:
I did need however to install Rcpp and RInside from source, and with the same
compiler used to compile qtdensity (otherwise I would get additional linker
errors). As I had trouble getting the (Cygwin-based) g++ shipped with Rtools
to work with Qt, I used instead the
2010 Jul 12
1
RInside
Hi,
I am new to this list and apologize for my lack of experience in the
subject. Does anyone here use RInside? I am trying to run the examples in
/RInside/examples/standard such as rinside_sample_0, but I am getting the
error:
error while loading shared libraries: libR.so: cannot open shared object
file: No such file or directory
Does anyone know how to deal with this? I tried searching
2011 Sep 11
5
Link between Qt GUI and R
hi,
i want to build a Qt front-end GUI which communicates with R, and i am not
sure what i should use for the interface. There seems to be many ways:
R.dll, Rinside, Rcpp, RQt, Rtools... . what is the best way? please advice.
basically what i want to do is that, the Qt GUI will allow users to make
selection and enter numbers, these inputs will be fed to R, already written
.R files will perform
2011 Mar 06
1
Plot and curve inside C++
Dear All,
I would like to use
- plot,
- curve
inside a C++ program. What R package do you recommend? Rcpp?
Thanks in advance,
Paul
2011 Dec 22
1
Calling R functions from C++ under VS2005
Hi,
I'm trying to call some of R's statistical functions within my C++
code, developed under VS2005, but I can't seem to find out how to do
it. I tried RInside and Rcpp, but they either don't work on Windows or
with VS. Is there a way to do this?
Appreciate the help.
Regards,
2013 Oct 21
4
About integrating R inside a C++ software
Hi,
We are a company developing a software mainly in C++.
We want to integrate R inside our software in order to use mainly the
engine (usual stats as mean, sigma, Pearson, outlier detection, CPA,
multivariate, ...) and probably later the chart solution.
Of course we don''t want to temporary write the data to some csv files
and then do an ugly system() call :
2013 Oct 21
4
About integrating R inside a C++ software
Hi,
We are a company developing a software mainly in C++.
We want to integrate R inside our software in order to use mainly the
engine (usual stats as mean, sigma, Pearson, outlier detection, CPA,
multivariate, ...) and probably later the chart solution.
Of course we don''t want to temporary write the data to some csv files
and then do an ugly system() call :
2010 Feb 25
1
Including Rcpp in Eclipse C++ project
Hello. I am trying to include R in an eclipse C++ project so that I can use
Rcpp and Rinside. Right now I have R installed on my Ubuntu machine and both
plugins are installed too. I have the directories of the corresponding .so
files set in the Project > Properties > Settings Gcc c++ linker under
Library Search Path. Here is the error that I'm getting when I try to build
my code:
>
2010 Sep 28
1
How to convert SEXP to double
Hello All,
A simple question.
I get some return from the R in my C++ program (via Rcpp package). The
result come, as SEXP and it should be a simple numeric variable.
How to convert it to double?
The code, what i use:
stringstream ss;
ss << "p <- predict(fit_ar11, n.ahead = 2, doplot=FALSE);"
<< "p$pred[1]";
SEXP ans;
int iRet =
2009 Feb 12
2
r and c++
Hi all,
is there a way to integrate R language within a c++ programme? That is,
is there something like an R library I can incorporate in my c++ code?
Thanks,
Javier
2016 Feb 27
1
a quick question before I proceed
Is this the proper forum for questions on Fortran, MPI, RInside, and Rcpp, please?
Thanks,
Erin
[[alternative HTML version deleted]]
2017 Jun 28
2
help needed for RInside with Qt
Hello,
I am developing an application using Qt framework and C++. I want to use R
as statistics engine of my application. After doing some search on
internet; I came to the conclusion that RCPP, MPI with RInside is what I
need. The next logical task was to quickly tryout "qtdensity" project of
RInside, for understanding the build and other settings. I hit some
roadblock here and got
2009 Dec 22
2
Rcpp: Clarifying the meaning of GPL?
I wrote the Rcpp library and the RcppTemplate package to make it
easier for developers to contribute packages to the R community.
In addition to providing detailed documentation on
package creation it provides a clean object mapping between
R anc C++ that helps developers to implement packages that
benefit from the performance of C++ and the flexibility of R.
The package named 'Rcpp' was