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

2012-11-26 Thread Christian Gunning
Advice for introducing students to Rcpp: I'm TAing for a statistical programming class next semester, and I'm talking to the instructor about including Rcpp examples -- sourceCpp() makes this very easy to sell! The question is build environment for folks with windows machines. Personally, I think

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

2012-11-27 Thread Silkworth,David J.
I have been attempting to collect enough material together to create a wiki book of sorts for the Windows user that is likely new to C++ as well. I would be pleased to receive progress notes/problems off-list as you venture here. Rtools is pretty good, but there are things happening that are qu

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

2012-11-27 Thread JJ Allaire
> > I have little experience with Rtools and I stopped following windows > years ago, so I'm a little worried about helping other folks with > build issues here. Is it worth the trouble to push for a *nix build > environment, or is configuring R + Rcpp + Windows X now smooth enough > that I should

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

2012-11-27 Thread Christian Gunning
On Tue, Nov 27, 2012 at 3:29 AM, JJ Allaire 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 par

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

2012-11-27 Thread Dirk Eddelbuettel
On 27 November 2012 at 04:02, Christian Gunning wrote: | On Tue, Nov 27, 2012 at 3:29 AM, JJ Allaire 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

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

2012-11-27 Thread Dirk Eddelbuettel
On 27 November 2012 at 13:57, Silkworth,David J. wrote: | I have been attempting to collect enough material together to create a wiki | book of sorts for the Windows user that is likely new to C++ as well. I would | be pleased to receive progress notes/problems off-list as you venture here. That

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

2012-11-27 Thread Davor Cubranic
I thought that packages that contain autoconf scripts won't get automatically installed for multiple architectures and the user has to "merge" them? This happens on any multiarch installation of R (eg Macs) not just Windows. Davor On 2012-11-27, at 6:41 AM, Dirk Eddelbuettel wrote: > Well -

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

2012-11-27 Thread Dirk Eddelbuettel
On 27 November 2012 at 09:16, Davor Cubranic wrote: | I thought that packages that contain autoconf scripts won't get automatically installed for multiple architectures and the user has to "merge" them? This happens on any multiarch installation of R (eg Macs) not just Windows. I believe that

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

2012-11-27 Thread Thell Fowler
Christian, While this isn't a direct answer to your question I am wondering if you have seen http://support.rstudio.org/help/kb/faq/deploying-rstudio-server-for-classrooms. The students can just log on and go... This would eliminate the need to either teach or expect the knowledge of setting up

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

2012-11-27 Thread Hadley Wickham
> I have been attempting to collect enough material together to create a wiki > book of sorts for the Windows user that is likely new to C++ as well. I > would be pleased to receive progress notes/problems off-list as you venture > here. > > Rtools is pretty good, but there are things happening th

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

2012-11-28 Thread Christian Gunning
Thanks all for the helpful comments. Personally I've found the uniformity provided by Rstudio a great aid in teaching environments. I've struggled with introducing Rcpp to folks, and I agree these developments are very exciting. > And I say all that with the affection I personally have for Emacs

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

2012-12-09 Thread Gabor Grothendieck
On Tue, Nov 27, 2012 at 2:24 AM, Christian Gunning wrote: > Advice for introducing students to Rcpp: > > I'm TAing for a statistical programming class next semester, and I'm > talking to the instructor about including Rcpp examples -- sourceCpp() > makes this very easy to sell! > > The question is

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

2012-12-09 Thread Dirk Eddelbuettel
On 9 December 2012 at 10:32, Gabor Grothendieck wrote: | Rgui.bat, R.bat and Rcmd.bat in the batchfiles distribution | automatically locate R, Rtools and temporarily set all environment | variables and modify your path appropriately each time you call R so | the whole process is just install R, in

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

2012-12-09 Thread Hadley Wickham
> On 9 December 2012 at 10:32, Gabor Grothendieck wrote: > | Rgui.bat, R.bat and Rcmd.bat in the batchfiles distribution > | automatically locate R, Rtools and temporarily set all environment > | variables and modify your path appropriately each time you call R so > | the whole process is just inst