Displaying 20 results from an estimated 700 matches similar to: "QT + RInside problem complement"
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
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
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
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
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
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
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
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
2016 Apr 11
1
[VC++ calling R] How to create a real-time interactive ticking time-series chart using dygraph via RInside?
Hi all,
I am trying to figure out how to do this in R and I need your help.
My journey started from something like the following:
http://stackoverflow.com/questions/11365857/real-time-auto-updating-incremental-plot-in-r/1#1
n=1000
df=data.frame(time=1:n,y=runif(n))
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)
}
2016 Apr 11
1
[VC++ calling R] How to create a real-time interactive ticking time-series chart using dygraph via RInside?
Hi all,
I am trying to figure out how to do this in R and I need your help.
My journey started from something like the following:
http://stackoverflow.com/questions/11365857/real-time-auto-updating-incremental-plot-in-r/1#1
n=1000
df=data.frame(time=1:n,y=runif(n))
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)
}
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
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 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 :
2024 Oct 13
1
Embedding R in other applications as a scripting language
Bryce,
embedding R varies from easy to very complex depending on what you want to do with it. If all you want is to evaluate R commands and get the result values then it is easy: you just initialize R with Rf_initialize_R() and use R_tryEval() to evaluate what you need (making sure you stay on the main thread). However, if you want to run the full event loop or even use the GUI elements then it
2014 Aug 22
1
what are labels in struct sxpinfo_struct from Rinternals.h mean?
Dear Rdevelers,
? ? ?The following struct is in the Rinternals.h. I want to know ?the meanings of labels or names like "gp,mark,obj,named,trace....." . TKS!
struct sxpinfo_struct {
? ? SEXPTYPE type ? ? ?: ?5;/* ==> (FUNSXP == 99) %% 2^5 == 3 == CLOSXP
? ? * -> warning: `type' is narrower than values
? ? * ? ? ? ? ? ? ?of its type
? ? * when SEXPTYPE was an enum
2014 Oct 20
1
HOW to call R code from matlab?
Dear expeRts,
?? I am fammilar with matlab , i want to call some r codes from it , what can i refer?
?I tried R.matlab. But it seems can't work well. so, do you have any other suggestions?
--
PO SU
mail: desolator88 at 163.com
Majored in Statistics from SJTU
2014 Oct 10
1
how to break the loop using sapply?
Dear expeRts,
?? i? use sapply for loop,?and i want to break it when i needed, how to do that?? e.g.
sapply( 1:10, function(i) {
if(i==5) break and jump out of the function sapply
} )
I want to do it because i have to loop 1000000 times, but i don't know when it will break, that means, it may need break at i=5 or at i=50000, for the possible of the? last case, i don't use for loop,