[Rcpp-devel] Rcpp advocacy question -- build environment

Christian Gunning xian at unm.edu
Tue Nov 27 12:02:29 CET 2012

On Tue, Nov 27, 2012 at 3:29 AM, JJ Allaire <jj.allaire at gmail.com> wrote:
> RStudio has been adding support for sourceCpp recently (preview version
> here: http://www.rstudio.com/ide/download/preview). One feature particularly
> helpful for students new to C++ is that for failed compilations the GCC
> error log is parsed into a navigable list.

Thanks, that's nice to hear.  I'll keep my eyes out.

> Another thing related to the Rtools discussion above: Rtools writes it's
> location to the Windows registry and RStudio uses this to make sure that
> builds succeed even if the global path hasn't been edited. So setup for your
> students should be as straightforward as running the RStudio and Rtools
> installers. Students using other editors should either (a) make sure to edit
> the system path as suggested by Rtools; or (b) source a script that you
> provide to fixup their path correctly for the duration of sessions where
> they want to use sourceCpp.

That's good news.  I should have mentioned that we'll be enforcing
Rstudio use, so this behavior really simplifies life.
A man, a plan, a cat, a ham, a yak, a yam, a hat, a canal – Panama!

More information about the Rcpp-devel mailing list