<div dir="ltr">Hi!<div><br></div><div>Thank you very much for all your answers!</div><div><br></div><div>Well, I have tried with qmake, but so far it is still not working. Though in my directory: <span style="color:rgb(38,40,42);font-family:'Open Sans',sans-serif;font-size:12.8000001907349px;line-height:26px">/Library/Frameworks/R.</span><span style="color:rgb(38,40,42);font-family:'Open Sans',sans-serif;font-size:12.8000001907349px;line-height:26px">framework/Resources/library</span><br>Rcpp, RInside and inline have been installed via RStudio and can be found via the Terminal.<br><br></div><div><br></div><div>I hope that somewhen in the future Rcpp and RInside will be automatically included in Qt, such as</div><div>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#include</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"math.h"</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#include</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"cmath"</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#include</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"QtMath"</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#include</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"qmath.h"</span></pre></div><div>are already embedded.</div><div><br></div><div>Nevertheless, Rcpp and RInside and the statistics-functionality would have been much more convenient, but for me as a beginner it is pretty difficult to make them run.</div><div><br></div><div>An easy tutorial to learn and test it step-by-step would be nice! Otherwise, no problem. I also have got different formulas to apply it (with a bit more code) via one of the other math-classes already provided by Qt.</div><div><br></div><div><br></div><div><div class="gmail_extra">Kind regards,</div><div class="gmail_extra">Klemens</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div><div><span style="font-size:x-small"><br></span></div><div><br></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2015-05-16 4:59 GMT+02:00 Dirk Eddelbuettel <span dir="ltr"><<a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><br>
On 15 May 2015 at 19:30, Kevin Ushey wrote:<br>
| That `R_running_as_main_program` error should be fixed R 3.2.0-patched.<br>
|<br>
| See: <a href="https://bugs.r-project.org/bugzilla/show_bug.cgi?id=15899" target="_blank">https://bugs.r-project.org/bugzilla/show_bug.cgi?id=15899</a><br>
<br>
</span>Oh, dang, I _knew_ I had actually seen that bug report of yours.<br>
I just didn't remember now. Thanks for the reminder!<br>
<span class=""><br>
| If that hot-fix helps then that's good; otherwise, I would suggest<br>
| users patching their R headers after installation.<br>
<br>
</span>The hot-fix seems fine: I moved the include of RInterface.h from<br>
RInsideCommon.h (which ends up in several places) to RInside.cpp (where it is<br>
needed).  In any event, it is in a branch (and I added two more commits<br>
there):<br>
<br>
   <a href="https://github.com/eddelbuettel/rinside/tree/feature/no-rinterface-header" target="_blank">https://github.com/eddelbuettel/rinside/tree/feature/no-rinterface-header</a><br>
<span class=""><font color="#888888"><br>
Dirk<br>
</font></span><div class=""><div class="h5"><br>
| Kevin<br>
|<br>
| On Fri, May 15, 2015 at 6:42 PM, Dirk Eddelbuettel <<a href="mailto:edd@debian.org">edd@debian.org</a>> wrote:<br>
| ><br>
| > On 15 May 2015 at 20:25, Dirk Eddelbuettel wrote:<br>
| > | [ Using qt5 on Ubuntu 15.05, that currently fails with a linking error<br>
| > |   main.o:(.bss+0x0): multiple definition of `R_running_as_main_program'<br>
| > |   but I am pretty certain this still worked just a few weeks/months ago under<br>
| > |   the previous Ubuntu release. ]<br>
| ><br>
| > A hot-fix for this issue --not including RInterface.h -- is now in a new<br>
| > branch 'feature/no-rinterface-header' on GitHub, see the commit<br>
| ><br>
| > <a href="https://github.com/eddelbuettel/rinside/commit/0ff27da47e42f04017091e48f44c92a1897f6ba2" target="_blank">https://github.com/eddelbuettel/rinside/commit/0ff27da47e42f04017091e48f44c92a1897f6ba2</a><br>
| ><br>
| > for more.  It will need some testing.<br>
| ><br>
| > Dirk<br>
| ><br>
| > --<br>
| > <a href="http://dirk.eddelbuettel.com" target="_blank">http://dirk.eddelbuettel.com</a> | @eddelbuettel | <a href="mailto:edd@debian.org">edd@debian.org</a><br>
| > _______________________________________________<br>
| > Rcpp-devel mailing list<br>
| > <a href="mailto:Rcpp-devel@lists.r-forge.r-project.org">Rcpp-devel@lists.r-forge.r-project.org</a><br>
| > <a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel</a><br>
<br>
--<br>
<a href="http://dirk.eddelbuettel.com" target="_blank">http://dirk.eddelbuettel.com</a> | @eddelbuettel | <a href="mailto:edd@debian.org">edd@debian.org</a><br>
_______________________________________________<br>
Rcpp-devel mailing list<br>
<a href="mailto:Rcpp-devel@lists.r-forge.r-project.org">Rcpp-devel@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel</a><br>
</div></div></blockquote></div><br></div></div></div>