search for: rinside

Displaying 20 results from an estimated 87 matches for "rinside".

Did you mean: inside
2014 Oct 22
1
Problems to compile examples of RInside
...an 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 r-base-dev Then from R, I installed the needed (for me) packages by: install.packages(c("Rcpp","RInside","forecast", "quadprog", "tseries", "fracdiff", "zoo", "RcppArmadillo","randomForest","RInside","lubridate","quantmod","nnet","caret"),type="source") Session info...
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 i...
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 th...
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 ar...
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\M...
2025 Apr 02
1
R y c++ en Mac
Estimados Se me puso en la cabeza, hacer algo en C++ que ejecute un código R, nada complicado, experimentación. Al respecto hay por ejemplo: #include <RInside.h> int main(int argc, char *argv[]) { RInside R(argc, argv); // Inicializa R // Ejecutar una expresión R R.parseEvalQ("resultado <- sqrt(16)"); // Obtener resultados desde R double resultado = R["resultado"]; std::cout << "Res...
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" e...
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 g++ shipped with Qt SDK to compile Rcpp and RInside. To do that, I adjusted...
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 online and the...
2025 Apr 03
1
R y c++ en Mac
...biar los ángulos por comillas. Un saludo. El mié, 02-04-2025 a las 18:06 -0300, Javier Marcuzzi escribió: > Estimados > > Se me puso en la cabeza, hacer algo en C++ que ejecute un código R, nada complicado, experimentación. > > Al respecto hay por ejemplo: > > #include <RInside.h> > > int main(int argc, char *argv[]) { > RInside R(argc, argv); // Inicializa R > > // Ejecutar una expresión R > R.parseEvalQ("resultado <- sqrt(16)"); > > // Obtener resultados desde R > double resultado = R["resul...
2016 Apr 11
1
[VC++ calling R] How to create a real-time interactive ticking time-series chart using dygraph via RInside?
...) window=100 for(i in 1:(n?\window)) { flush.console() plot(df$time,df$y,type='l',xlim=c(i,i+window)) Sys.sleep(.09) } Then I wanted to make it nicer looking so I went to dygraph. And then, I would like to be able to live send tick data from within Visual C++ so I started to investigate RInside. Following the example code here: http://dirk.eddelbuettel.com/papers/useR2009RcppRInside.pdf I can open an RInside object in VC++, and then send some data to it, and then execute some command in it, and then get data back. It is really great. However, is there a way to have the real-time...
2016 Apr 11
1
[VC++ calling R] How to create a real-time interactive ticking time-series chart using dygraph via RInside?
...) window=100 for(i in 1:(n?\window)) { flush.console() plot(df$time,df$y,type='l',xlim=c(i,i+window)) Sys.sleep(.09) } Then I wanted to make it nicer looking so I went to dygraph. And then, I would like to be able to live send tick data from within Visual C++ so I started to investigate RInside. Following the example code here: http://dirk.eddelbuettel.com/papers/useR2009RcppRInside.pdf I can open an RInside object in VC++, and then send some data to it, and then execute some command in it, and then get data back. It is really great. However, is there a way to have the real-time...
2011 Feb 26
0
(no subject)
Greetings, I have been trying to use the RInside package with C++ however I am running into an error. I use Ubuntu Linux 10.04 (64-bit) and my R version is 2.12.2. I compiled R from source to give me a shared R library, shared BLAS (ATLAS). When I try to compile one of the examples given in the RInside package it compiles perfectly fine however w...
2010 Mar 22
3
Embed R code in C++
...Can anyone tell me how to embed R code in a C++ file. I am actually using a mac running on the OSX 10.6.2 and the IDE Xcode Version 3.2 and I would like to embed the basic function like geometric, binomial, normal and hyper geometric distributions in a sample cpp file. I heard about the library RInside and i have downloaded the source code for mac but i do not know how to build it in order to use it with my IDE XCode. Could anyone help me step by step because I am new in programming to show me how to get this done? Thanks for your help. Mans. -- View this message in context: http://n4.nabb...
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 little confused. I have following quaries: 1. I am using Qt 5.8 MSVC and would like to distribute both 64 bit as...
2017 Jun 29
0
help needed for RInside with Qt
...7 at 1:36 PM, Santosh Kumar <lsantoshksingh at gmail.com> wrote: > 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 little confused. I have following quaries: > > 1. I am using Qt 5.8 MSVC and would like to di...
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
2012 Mar 01
1
mb_m buffer not cleared if parseEval fails
Hi, I am using RInside for one of the applications that I'm using. The error that occured is as follows. When I use R.parseEval("xyz") if the parse fails then the mb_m is not cleared and hence all subsequent calls to R.parseEval fail. example: when R.parseEval("stringConcatfactoryrandom") is...
2013 Oct 21
4
About integrating R inside a C++ software
...legitimate reasons. We are also using Qt so a Qt to/from R wrapper could be interesting. For the moment, we have found these solutions : - using directly the standard R C API : R.h, Rmath.h, R_ext, .... - Rcpp : www.rcpp.org - QtInterfaces : http://r-forge.r-project.org/projects/qtinterfaces/ - RInside http://dirk.eddelbuettel.com/code/rinside.html Any advices ? Kind regards William. -- *William Tambellini* Senior Developper Phoenix, AZ, USA www.galaxysemi.com Semiconductor Intelligence Subscribe to our blog at http://www.galaxysemi.com/blog Join the support portal at http://support.galaxyse...
2013 Oct 21
4
About integrating R inside a C++ software
...legitimate reasons. We are also using Qt so a Qt to/from R wrapper could be interesting. For the moment, we have found these solutions : - using directly the standard R C API : R.h, Rmath.h, R_ext, .... - Rcpp : www.rcpp.org - QtInterfaces : http://r-forge.r-project.org/projects/qtinterfaces/ - RInside http://dirk.eddelbuettel.com/code/rinside.html Any advices ? Kind regards William. -- *William Tambellini* Senior Developper Phoenix, AZ, USA www.galaxysemi.com Semiconductor Intelligence Subscribe to our blog at http://www.galaxysemi.com/blog Join the support portal at http://support.galaxyse...