similar to: About integrating R inside a C++ software

Displaying 20 results from an estimated 800 matches similar to: "About integrating R inside a C++ software"

2016 Jun 30
3
integration of R and php in Fedora 24
Dear All, I am writing a project that will involve me writing code in R and php. i would appreciate if someone guide me on how to integrate R to php i wish to write an upload system in php that R will use and process and post back the result on php. thanks in advance ================ Worthy agent of Light ================ Jules Irenge MSc Student University of Liverpool [[alternative HTML
2014 Feb 28
1
How to use R script inside javascript?
Hello all, I want to use r script inside the webpage. I come to know that is it possible to embed R script with HTML. I want your help guys. I want to use package like "quantmod" inside my webpage. Thanks in advance & positively awaiting for your suggestions. Regards, Jayesh Baviskar -- View this message in context:
2013 Jan 04
1
Integrating Java, C++ and R
Hi, I am able to integrate C++ and R through RInside library. However when I use a jni call as my UI is through java it crashes at C++ side. My files are ------------------------------------------------ JNICallingClass.C: JNIEXPORT void JNICALL Java_CallR_run (JNIEnv* env, jobject callr){ std::cout << "Inside JNICALL" << std::endl; testR();
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
2009 Jun 11
3
deSolve question
Dear All, I like to simulate a physiologically based pharmacokinetics model using R but am having a problem with the daspk routine. The same problem has been implemented in Berkeley madonna and Winbugs so that I know that it is working. However, with daspk it is not, and the numbers are everywhere! Please see the following and let me know if I am missing something... Thanks a lot in advance,
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
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
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 Mar 22
3
Embed R code in C++
Hi, 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
2013 Mar 25
2
Automatic script for updating packages in R
Hello all,Good day,Internet access have been a problem , and learning R forced to download packages manual.I have google for script for automatic R update didnt getPlease any one with help?am using ubuntu 12.04 R-2.5.3Thank you [[alternative HTML version deleted]]
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
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 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
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
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
2015 Aug 24
1
Web apps on a R server
I want to deploy some R web apps with a clean separate of concerns: R code // applications. My choice for the R part is to use one of these two tools: - deployR[1] - OpenCPU[2] and JavaScript for web apps. OS is Fedora 22 and web server Nginx. I have been reading documentation about these two R application integration tools, and find hard to choose one method. So I am interested in hearing
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 executed the R instance looks like this (gdb) p R $7 = (RInside &)
2011 Mar 08
3
How to disable R's crash prompt
Dear R devel, I have a C++ app that calls into embedded R to perform some analytic calculations. When my app encounters a segmentation fault, R always prints the following crash prompt and asks me to enter an action: *** caught segfault *** address 0x8, cause 'memory not mapped' Possible actions: 1: abort (with core dump, if enabled) 2: normal R exit 3: exit R without saving workspace