[Rcpp-devel] Bug when using #' @title Hello world

2014-02-26 Thread Dieter Menne
JJ Allaire wrote: >>Try locating the roxygen right above the function you want to document >>(rcpp_hello_world). If you do that then it will be placed next to that >>function in the .R file (when you have "standalone" roxygen within a C++ file >>then it's automatically associated with a NULL ob

[Rcpp-devel] Bug when using #' @title Hello world

2014-02-26 Thread Dieter Menne
Hi, I feel guilty that I am a Windows user, and that I am using RStudio, both of which is not welcome here. At least the latter is probably not guilty here. Before looking at the details, I had reported it on the RStudio list, because I thought it was a problem with roxygen. To reproduce: --

Re: [Rcpp-devel] Rcpp::stop crashes RGui and RStudio under Windows

2012-11-30 Thread Dieter Menne
:22 PM > To: Dieter Menne > Cc: rcpp-devel@lists.r-forge.r-project.org > Subject: Re: [Rcpp-devel] Rcpp::stop crashes RGui and RStudio under > Windows > > > On 30 November 2012 at 08:44, Dieter Menne wrote: > | I tried the following under Windows 7, 64 bit, bo

[Rcpp-devel] Rcpp::stop crashes RGui and RStudio under Windows

2012-11-29 Thread Dieter Menne
I tried the following under Windows 7, 64 bit, both RGui and RStudio File "throw.cpp" #include using namespace Rcpp; // [[Rcpp::export]] int throwCpp(int nb) { if (nb == 10) Rcpp::stop("Unexpected condition occurred"); return nb*2; // Just for testing the normal case } # R File librar