Re: [Rd] Wish List: base::source() + Add Execution Time Argument

2018-01-02 Thread Tomas Kalibera
There is a simple way to achieve something similar: one can add a time stamp to each line of output, e.g. using "ts" command from "moreutils". Tomas On 12/21/2017 06:45 PM, Jim Hester wrote: R does provide the addTaskCallback / taskCallbackManager to run a callback function after every top lev

Re: [Rd] Wish List: base::source() + Add Execution Time Argument

2017-12-21 Thread Jim Hester
R does provide the addTaskCallback / taskCallbackManager to run a callback function after every top level command. However there is not an equivalent interface that would be run _before_ each command, which would make it possible to time of top level calls and provide other execution measurements.

Re: [Rd] Wish List: base::source() + Add Execution Time Argument

2017-12-21 Thread William Dunlap via R-devel
Is source() the right place for this? It may be, but we've had customers who would like this sort of thing done for commands entered by hand. And there are those who want a description of any "non-triivial" objects created in .GlobalEnv by each expression, ... Do they need a way to wrap each expr

Re: [Rd] Wish List: base::source() + Add Execution Time Argument

2017-12-21 Thread Juan Telleria
I did not know "progress" package existed, thank you Iñaki. However, something like that would be nice to have by default in source(), just something to add to R's "wish list", so that everybody can benefit from it without extra-packages, as most of us I suppose we will spend all day simply doing

Re: [Rd] Wish List: base::source() + Add Execution Time Argument

2017-12-21 Thread Iñaki Úcar
2017-12-21 15:05 GMT+01:00 Juan Telleria : > But by statement in the source file, I mean, for knowing during the > execution how much time is taking, without having to wait till the end. What's the ultimate purpose? Are you looking for a profiler (there are some of them on CRAN) or some kind of pr

Re: [Rd] Wish List: base::source() + Add Execution Time Argument

2017-12-21 Thread Juan Telleria
But by statement in the source file, I mean, for knowing during the execution how much time is taking, without having to wait till the end. 2017-12-21 13:06 GMT+01:00 Iñaki Úcar : > 2017-12-21 12:46 GMT+01:00 Juan Telleria : > > Dear R Developers, > > > > Adding to source() base function a Timer

Re: [Rd] Wish List: base::source() + Add Execution Time Argument

2017-12-21 Thread Iñaki Úcar
2017-12-21 12:46 GMT+01:00 Juan Telleria : > Dear R Developers, > > Adding to source() base function a Timer which indicates the execution time > of the source code would be a very well welcome feature, and in my opinion > not difficult to implement as an additional funtion argument. > > The source

Re: [Rd] Wish List: Extensions to the derivatives table

2017-02-20 Thread Martin Maechler
ortant it may be to avoid cancellation, I still would be willing to add to the "derivatives table" in R's C source if people like you provided a (tested!) patch to the source, which is in https://svn.r-project.org/R/trunk/src/library/stats/src/deriv.c Martin > From

Re: [Rd] Wish List: Extensions to the derivatives table

2017-02-17 Thread Jerry Lewis
Lewis; r-devel@r-project.org Subject: Re: [Rd] Wish List: Extensions to the derivatives table On 17/02/2017 1:59 PM, Jerry Lewis wrote: > The derivative table resides in the function D. In S+ that table is > extensible because it is written in the S language. R is faster but less > flexib

Re: [Rd] Wish List: Extensions to the derivatives table

2017-02-17 Thread Duncan Murdoch
On 17/02/2017 1:59 PM, Jerry Lewis wrote: The derivative table resides in the function D. In S+ that table is extensible because it is written in the S language. R is faster but less flexible, since that table is programmed in C. It would be useful if R provided a mechanism for extending th

Re: [Rd] Wish List: Extensions to the derivatives table

2017-02-17 Thread Jerry Lewis
), quote(pi)), make.call("^", make.call("cospi", expr[[2]]), 2)), Jerry From: Avraham Adler [mailto:avraham.ad...@gmail.com] Sent: Friday, February 17, 2017 4:16 PM To: Jerry Lewis; r-devel@r-project.org Subject: Re: [Rd] Wish List: Extensions to the derivatives table Hi. Un

Re: [Rd] Wish List: Extensions to the derivatives table

2017-02-17 Thread Avraham Adler
Hi. Unless I'm misremembering, log, exp, sin, cos, and tan are all handled in deriv3. The functions listed are specially coded slightly more accurate versions but can be substituted with native ones for which deriv/deriv3 will work automatically. I believe that if you write your functions using

Re: [Rd] wish list: generalized apply

2016-12-09 Thread Joshua Ulrich
On Thu, Dec 8, 2016 at 3:59 PM, David Winsemius wrote: > >> On Dec 8, 2016, at 12:09 PM, John P. Nolan wrote: >> >> Dear All, >> >> I regularly want to "apply" some function to an array in a way that the >> arguments to the user function depend on the index on which the apply is >> working. A

Re: [Rd] wish list: generalized apply

2016-12-08 Thread John P. Nolan
-Original Message- From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: Thursday, December 8, 2016 4:59 PM To: John P. Nolan Cc: Charles C. Berry Subject: Re: [Rd] wish list: generalized apply > On Dec 8, 2016, at 12:09 PM, John P. Nolan wrote: > > Dear Al

Re: [Rd] wish list: generalized apply

2016-12-08 Thread David Winsemius
> On Dec 8, 2016, at 12:09 PM, John P. Nolan wrote: > > Dear All, > > I regularly want to "apply" some function to an array in a way that the > arguments to the user function depend on the index on which the apply is > working. A simple example is: > > A <- array( runif(160), dim=c(5,4,8) )

Re: [Rd] wish list: automatic package installation

2009-04-19 Thread Hiroyuki Kawakatsu
Hi, Apologies for using this thread for something that is only tangentially related. Is there a mechanism in R to ensure that the configure.args used to build R is also used when installing packages? If not, I would like to add this as wish (perhaps we can grab this info from config.log?) At the

Re: [Rd] Wish list

2007-01-08 Thread Gabor Grothendieck
On 1/8/07, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > On 1/8/07, Martin Maechler <[EMAIL PROTECTED]> wrote: > > > "Duncan" == Duncan Murdoch <[EMAIL PROTECTED]> > > > on Sat, 06 Jan 2007 19:45:31 -0500 writes: > > > >Duncan> On 1/1/2007 1:28 AM, Gabor Grothendieck wrote: > >

Re: [Rd] Wish list

2007-01-08 Thread Gabor Grothendieck
On 1/8/07, Martin Maechler <[EMAIL PROTECTED]> wrote: > > "Duncan" == Duncan Murdoch <[EMAIL PROTECTED]> > > on Sat, 06 Jan 2007 19:45:31 -0500 writes: > >Duncan> On 1/1/2007 1:28 AM, Gabor Grothendieck wrote: >>> 7. documentation standards for packages - NEWS/ChangeLog >>>

Re: [Rd] Wish list

2007-01-08 Thread Martin Maechler
> "Duncan" == Duncan Murdoch <[EMAIL PROTECTED]> > on Sat, 06 Jan 2007 19:45:31 -0500 writes: Duncan> On 1/1/2007 1:28 AM, Gabor Grothendieck wrote: >> 7. documentation standards for packages - NEWS/ChangeLog >> (also should be accessible from CRAN page for package and

Re: [Rd] Wish list

2007-01-06 Thread Duncan Murdoch
On 1/1/2007 1:28 AM, Gabor Grothendieck wrote: > 7. documentation standards for packages >- NEWS/ChangeLog (also should be accessible from CRAN page for package > and should be included in built version of package) >- package?mypackage Just to let you know: I uploaded a revision of

Re: [Rd] Wish list

2007-01-02 Thread Henrik Bengtsson
On 1/2/07, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 1/1/2007 12:59 PM, Charles C. Berry wrote: > > On Mon, 1 Jan 2007, Duncan Murdoch wrote: > > > >> A few comments thrown in, and some general comments at the bottom. > >> > >> On 1/1/2007 1:28 AM, Gabor Grothendieck wrote: > >>> This is my 20

Re: [Rd] Wish list

2007-01-01 Thread Philippe Grosjean
Gabor Grothendieck wrote: > This is my 2007 New Year wishlist for R features: > [Wishes 1-14 deleted from this message] > 15. tcl tile library (needs tcl 8.5 or to be compiled in with 8.4) Well, there is tcltk2 on CRAN that provides this. Currently, it is for Windows only, but the limitation

Re: [Rd] Wish list

2007-01-01 Thread Duncan Murdoch
Henrik Bengtsson wrote: > On 1/2/07, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > >> On 1/1/2007 12:59 PM, Charles C. Berry wrote: >> >>> On Mon, 1 Jan 2007, Duncan Murdoch wrote: >>> >>> A few comments thrown in, and some general comments at the bottom. On 1/1/2007 1:2

Re: [Rd] Wish list

2007-01-01 Thread Duncan Murdoch
On 1/1/2007 7:17 PM, Gabor Grothendieck wrote: >>> Anyone who uses batch files will use it quite a bit. It certainly causes >>> me problems on an ongoing basis and is an unacceptable conflict in >>> my opinion. >> If you're using batch files, the fix I suggested is trivial for you. > > The batch

Re: [Rd] Wish list

2007-01-01 Thread Duncan Murdoch
On 1/1/2007 12:59 PM, Charles C. Berry wrote: > On Mon, 1 Jan 2007, Duncan Murdoch wrote: > >> A few comments thrown in, and some general comments at the bottom. >> >> On 1/1/2007 1:28 AM, Gabor Grothendieck wrote: >>> This is my 2007 New Year wishlist for R features: >>> >>> 1. [deleted thru 12]

Re: [Rd] Wish list

2007-01-01 Thread Gabor Grothendieck
> > Anyone who uses batch files will use it quite a bit. It certainly causes > > me problems on an ongoing basis and is an unacceptable conflict in > > my opinion. > > If you're using batch files, the fix I suggested is trivial for you. The batch files could come from other programs you are using

Re: [Rd] Wish list

2007-01-01 Thread Duncan Murdoch
On 1/1/2007 1:10 PM, Gabor Grothendieck wrote: > On 1/1/07, Duncan Murdoch <[EMAIL PROTECTED]> wrote: >> A few comments thrown in, and some general comments at the bottom. >> >> On 1/1/2007 1:28 AM, Gabor Grothendieck wrote: >>> This is my 2007 New Year wishlist for R features: >>> >>> 1. Matrix Mu

Re: [Rd] Wish list

2007-01-01 Thread Gabor Grothendieck
On 1/1/07, Robiert Gentleman <[EMAIL PROTECTED]> wrote: > > > Gabor Grothendieck wrote: > > On 1/1/07, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > >> A few comments thrown in, and some general comments at the bottom. > >> > >> On 1/1/2007 1:28 AM, Gabor Grothendieck wrote: > >>> This is my 2007 New

Re: [Rd] Wish list

2007-01-01 Thread Robert Gentleman
Gabor Grothendieck wrote: > On 1/1/07, Duncan Murdoch <[EMAIL PROTECTED]> wrote: >> A few comments thrown in, and some general comments at the bottom. >> >> On 1/1/2007 1:28 AM, Gabor Grothendieck wrote: >>> This is my 2007 New Year wishlist for R features: >>> >>> 1. Matrix Multiplication >>>

Re: [Rd] Wish list

2007-01-01 Thread Gabor Grothendieck
On 1/1/07, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > A few comments thrown in, and some general comments at the bottom. > > On 1/1/2007 1:28 AM, Gabor Grothendieck wrote: > > This is my 2007 New Year wishlist for R features: > > > > 1. Matrix Multiplication > >Enhance matrix multiplication to

Re: [Rd] Wish list

2007-01-01 Thread Charles C. Berry
On Mon, 1 Jan 2007, Duncan Murdoch wrote: > A few comments thrown in, and some general comments at the bottom. > > On 1/1/2007 1:28 AM, Gabor Grothendieck wrote: >> This is my 2007 New Year wishlist for R features: >> >> 1. [deleted thru 12] >> 13. Make upper/lower case of simplify/SIMPLIFY consi

Re: [Rd] Wish list

2007-01-01 Thread Duncan Murdoch
A few comments thrown in, and some general comments at the bottom. On 1/1/2007 1:28 AM, Gabor Grothendieck wrote: > This is my 2007 New Year wishlist for R features: > > 1. Matrix Multiplication >Enhance matrix multiplication to work with multidimensional >arrays such that the last dimens

Re: [Rd] Wish list

2006-01-02 Thread John Chambers
I very much share Duncan's concern that research in statistical software should move ahead, and contribute to some of the exciting new uses of data we see. R is the most striking success in statistical software over the last decade, in terms of the variety and quantity of statistical technolog

Re: [Rd] Wish list

2006-01-02 Thread Byron Ellis
On Jan 1, 2006, at 7:36 AM, Duncan Temple Lang wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > > Gabor Grothendieck wrote: >> This is my New Year wishlist for R features. One >> common thread is that I find I sometimes use languages >> other than R including javascript, Windows ba

Re: [Rd] Wish list

2006-01-01 Thread M. Edward (Ed) Borasky
Duncan Temple Lang wrote: >And while we are on the topic of wishlists... >Generally (i.e. not directed specifically to Gabor), >the suggestions are very welcome, but so are contributions. >And for issues such as making the existing R available on handhelds, >that is a programming task. > Hasn't so

Re: [Rd] Wish list

2006-01-01 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gabor Grothendieck wrote: > This is my New Year wishlist for R features. One > common thread is that I find I sometimes use languages > other than R including javascript, Windows batch and > gawk. Others have mentioned other languages too. It > wo

Re: [Rd] Wish list

2006-01-01 Thread Gabor Grothendieck
On 1/1/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 1/1/2006 8:47 AM, Gabor Grothendieck wrote: > > This is my New Year wishlist for R features. One > > common thread is that I find I sometimes use languages > > other than R including javascript, Windows batch and > > gawk. Others have ment

Re: [Rd] Wish list

2006-01-01 Thread Duncan Murdoch
On 1/1/2006 8:47 AM, Gabor Grothendieck wrote: > This is my New Year wishlist for R features. One > common thread is that I find I sometimes use languages > other than R including javascript, Windows batch and > gawk. Others have mentioned other languages too. It > would be nice if, in those cas