Re: [R] productivity tools in R?

2009-07-02 Thread Miguel Bernal
t!) On Thursday 02 July 2009 09:27:32 Kevin W wrote: > On Wed, Jul 1, 2009 at 12:35 PM, miguel bernal > > wrote: > > and debugging. I think there is a package to visualize the links between > > functions in a package, but I don't know its name (if anybody knows it, I &

Re: [R] productivity tools in R?

2009-07-01 Thread miguel bernal
Emacs or X-emacs with ess (Emacs Speaks Statistics) is great on Linux and Mac (can be the console you saw on Mac) for syntax highlight, programming and debugging. I think there is a package to visualize the links between functions in a package, but I don't know its name (if anybody knows it, I will

Re: [R] changing default arguments of a function and return the modified function as a result

2009-06-26 Thread Miguel Bernal
ist(...))} else {args <- c(list(...), > .orig)} > do.call(f, args) > } > } > > I believe there are some recent discussions on currying in the archives. > > (*): http://en.wikipedia.org/wiki/Currying > > > HTH, > > baptiste > > > > > &g

[R] changing default arguments of a function and return the modified function as a result

2009-06-26 Thread Miguel Bernal
ill be equivalent of calling: myfun(x=12, a=2, b=15 ) ## i.e. i have changed the default values of myfun and ## stored it in a new function mysecond.fun$c Any help will be greatly appreciated! Miguel Bernal. Current a