Displaying 20 results from an estimated 9000 matches similar to: "a quick question before I proceed"
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
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
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
2017 Jun 29
0
help needed for RInside with Qt
Is this application meant to be commercial? If so, R's open source
license probably would forbid you to use it. I defer to those with
real legal knowledge on this point, but you should check it. If it is
not meant to be commercial, then ignore -- I have nothing useful to
offer you.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and
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
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 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
2017 Jun 29
1
help needed for RInside with Qt
If you adhere to the terms of the license for R you should be okay legally. If you use contributed packages they may have additional requirements. However, these terms are often overlooked by programmers targeting Windows, hence Bert's caution.
As to the content of the original post itself, it is off-topic for this list... it belongs in R-devel (but you may need to study the Posting Guide
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 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
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
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:
>
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,
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 &)
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();
2009 Sep 29
3
How do I access class slots from C?
Hi
I'm trying to implement something similar to the following R snippet using
C. I seem to have hit the wall on accessing class slots using C.
library(fPortfolio)
lppData <- 100 * LPP2005.RET[, 1:6]
ewSpec <- portfolioSpec()
nAssets <- ncol(lppData)
setWeights(ewSpec) <- rep(1/nAssets, times = nAssets)
ewPortfolio <- feasiblePortfolio(
data = lppData,
spec = ewSpec,