Re: [Rd] library() asks user to accept license of some built-in packages

2016-10-02 Thread Mikko Korpela
On 02/10/16 11:59, Prof Brian Ripley wrote: On 27/09/2016 10:49, Mikko Korpela wrote: When 'getOption("checkPackageLicense")' is 'TRUE' and the user calls 'library(grid)' for the first time, R asks the user to either accept or decline the package license. This should not be necessary as the pack

Re: [Rd] On implementing zero-overhead code reuse

2016-10-02 Thread Dirk Eddelbuettel
Kynn, How much homework have you done researching any other "alternatives" to the package system? I know of at least one... In short, just about everybody here believes in packages. And repositories. And package management. And version control (at the package level). And maybe byte compilation

Re: [Rd] On implementing zero-overhead code reuse

2016-10-02 Thread Kynn Jones
On Sun, Oct 2, 2016 at 8:01 PM, Kynn Jones wrote: > Hi Frederick, > > I described what I meant in the post I sent to R-help > (https://stat.ethz.ch/pipermail/r-help/2016-September/442174.html), > but in brief, by "zero overhead" I mean that the only thing needed for > library code to be accessible

Re: [Rd] On implementing zero-overhead code reuse

2016-10-02 Thread Kynn Jones
Hi Frederick, I described what I meant in the post I sent to R-help (https://stat.ethz.ch/pipermail/r-help/2016-September/442174.html), but in brief, by "zero overhead" I mean that the only thing needed for library code to be accessible to client code is for it to be located in designed directory.

Re: [Rd] On implementing zero-overhead code reuse

2016-10-02 Thread frederik
Hi Kynn, Do you mind defining the term "zero-overhead model of code reuse"? I think I understand what you're getting at, but not sure. Thank you, Frederick On Sun, Oct 02, 2016 at 01:29:52PM -0400, Kynn Jones wrote: > I'm looking for a way to approximate the "zero-overhead" model of code > reu

[Rd] grep

2016-10-02 Thread Pi
Hello. It would be great if the grep function in R had the option to use the -m parameter as the linux command does. That would allow to stop a grep search as soon as something is found. It would make many operations much faster. [[alternative HTML version deleted]] _

[Rd] On implementing zero-overhead code reuse

2016-10-02 Thread Kynn Jones
I'm looking for a way to approximate the "zero-overhead" model of code reuse available in languages like Python, Perl, etc. I've described this idea in more detail, and the motivation for this question in an earlier post to R-help (https://stat.ethz.ch/pipermail/r-help/2016-September/442174.html).

Re: [Rd] library() asks user to accept license of some built-in packages

2016-10-02 Thread Prof Brian Ripley
On 27/09/2016 10:49, Mikko Korpela wrote: When 'getOption("checkPackageLicense")' is 'TRUE' and the user calls 'library(grid)' for the first time, R asks the user to either accept or decline the package license. This should not be necessary as the package license is "Part of R ..." with "..." den