Re: [Rd] A rep_each function

2014-03-23 Thread Hervé Pagès
Hi, On 03/23/2014 05:42 AM, Richard Cotton wrote: The rep function is very versatile, but that versatility comes at a cost: it takes a bit of effort to learn (and remember) its syntax. This is a problem, since rep is one of the first functions many beginners will come across. Of the three main

Re: [Rd] Docker versus Vagrant for reproducability - was: The case for freezing CRAN

2014-03-23 Thread Bennet Fauber
Vagrant and packer look like the could be useful to developers, especially when testing, as they make it relatively painless to 'reinstall' a machine to a (mostly) known state. I find that, no matter how hard I try, there always seem to be a few keystrokes that don't make it into the changelog, an

[Rd] Makevars clean target not in action?

2014-03-23 Thread Randy Lai
Hi, developers When I run `R CMD INSTALL --clean my_package`, only the .o files and the .so file are removed, however, they were deleted not because of the clean target defined in Makevars. The clean target was indeed not executed. I have the following simple Marvars to show that clean target i

[Rd] A rep_each function

2014-03-23 Thread Richard Cotton
The rep function is very versatile, but that versatility comes at a cost: it takes a bit of effort to learn (and remember) its syntax. This is a problem, since rep is one of the first functions many beginners will come across. Of the three main uses of rep, two have simpler alternatives. rep(x, t