Hi Slava,
One way to do it is to use Rprintf() the same way you'd use the standard
printf() command.
Best,
Tim
On Oct 17, 2011, at 10:52 PM, Slava Razbash wrote:
> Hello,
>
> What is the "correct" way to print text to R with Rcpp? I find that
> "std::cout<<" will only work if i running R from
Hello,
What is the "correct" way to print text to R with Rcpp? I find that
"std::cout<<" will only work if i running R from a console. I am using
winXP.
Best Regards,
Slava
___
Rcpp-devel mailing list
[email protected]
https://list
On October 17, 2011 02:34:27 PM Dirk Eddelbuettel wrote:
> If none of this is any help, please try respecifying your question. I am a
> little unclear what "call back the R commands in 'cxxfunction'" is asking
> about.
This sounds to me like using Rcpp::Function.
Davor
__
Hi Dirk,
Coincidentally, my inquiry was prompted by Prof Ripley who was adamant that
Rcpp clears R CMD CHECK for solaris-sparc; I personally do not use Solaris.
Thank you for pointing out the test in debugging.cpp, I hadn't noticed that.
I'll try out the fix to see if I can successfully install
Jian,
On 14 October 2011 at 20:52, Jian Kang wrote:
| | Hi, Dirk,
| |
| | Sorry to disturb you again.
| |
| | Actually, I am also very interested in how to call back the R commands in
| | 'cxxfunction'. Do you have some examples or tutorial about this?
Are you aware that you can do 'help("cxxf
Hi Tim,
On 17 October 2011 at 13:39, Tim Jurka wrote:
| Hi Rcpp-devel,
|
| When installing Rcpp on Solaris ( R2.13.1 Platform: i386-pc-solaris2.10
(32-bit) ) using install.packages, I get the following error:
|
| g++ -I/usr/local/lib/R/include -I../inst/include/ -I/usr/local/include
-fpic
Hi Rcpp-devel,
When installing Rcpp on Solaris ( R2.13.1 Platform: i386-pc-solaris2.10
(32-bit) ) using install.packages, I get the following error:
g++ -I/usr/local/lib/R/include -I../inst/include/ -I/usr/local/include-fpic
-g -O2 -c debugging.cpp -o debugging.o
debugging.cpp:36:22: execi