[Rcpp-devel] How to use Rcpp with Qt Creator (Mac)?

Klemens Weigl klemens.weigl at gmail.com
Sat May 16 01:55:40 CEST 2015


Hi!

I would like to use Rcpp (Rcpp.h) with Qt Creator and a Mac.

So far I installed Rcpp successfully with RStudio. When I wanted to use it
in a Qt project it always gives me the answer: 'Rcpp.h' file not found.


In the Terminal I found the directory in:
cd /Library/Frameworks/R.framework/Resources/library
in the .Pro-File (of the project) I tried:
INCLUDEPATH +=
/Users/xy/Library/Frameworks/R.framework/Resources/library/Rcpp/include
LIBS += -I/Users/xy/Library/ -framework R

Exists there a solution to access directly to Rcpp.h via Qt when it was
installed with RStudio?

I would appreciate if someone has got an idea/link/blog... to enable Rcpp.h
also in Qt with a Mac!

Kind regards,
Klemens Weigl


*________________________*
*Mag. Klemens Weigl*
Sportpsychologie & Coaching <http://www.sportpsychologie.cc>
Statistics for Psychology <http://www.psychologische-statistik.at>
*________________________*

Vertraulichkeitshinweis: Dies ist eine vertrauliche Nachricht und nur für
die Adressatin/den Adressaten bestimmt. Es ist nicht erlaubt, diese
Nachricht oder Teile dieser Nachricht zu kopieren oder Dritten zugänglich
zu machen. Sollten Sie diese Nachricht irrtümlich erhalten haben, bitte ich
um Ihre Mitteilung per E-Mail oder unter der oben angegebenen Telefonnummer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20150516/66295af0/attachment.html>


More information about the Rcpp-devel mailing list