Re: [R] categorized complete list of R commands?

2013-04-08 Thread Liviu Andronic
On Thu, Apr 4, 2013 at 7:34 AM, ivo welch wrote: > I wonder whether there is a complete list of all R commands (incl the > standard packages) somewhere, preferably each with its one-liner AND > categorization(s). the one-liner can be generated from the documentation. > Try the 'sos' package. Not

Re: [R] categorized complete list of R commands?

2013-04-06 Thread Bretschneider SIG-R
Dear Rees Morrison, Re: > Franklin, I am very impressed. I ran your code and am amazed at the output. > I want to use it in my efforts to figure out which are the most widely used > functions, so that I can concentrate on understanding those basics reasonably > well. > > May I ask you tw

Re: [R] categorized complete list of R commands?

2013-04-05 Thread Bretschneider SIG-R
On 04 Apr 2013, at 07:34 , ivo welch wrote: > every time I read the R release notes for the next release, I see many > functions that I had forgotten about and many functions that I never knew > existed to begin with. (who knew there were bibtex facilities in R? > obviously, everyone except me.)

Re: [R] categorized complete list of R commands?

2013-04-05 Thread Duncan Murdoch
On 13-04-05 12:46 AM, ivo welch wrote: hi michael: now give my code and your middle rewrites code to an R novice and ask them to guess what it does. ;-). my personal rule, for the most part, is to go with the clever idiomatic way when performance or space matter AND, and to go for the simple id

Re: [R] categorized complete list of R commands?

2013-04-04 Thread Hadley Wickham
Here's a categorisation of all the functions in base and utils that I made recently (not sure if the csv will survive posting the list). Feedback welcomed - this was just a quick first pass, and it's not authoritative. Hadley On Thu, Apr 4, 2013 at 12:34 AM, ivo welch wrote: > every time I read t

Re: [R] categorized complete list of R commands?

2013-04-04 Thread ivo welch
hi michael: now give my code and your middle rewrites code to an R novice and ask them to guess what it does. ;-). my personal rule, for the most part, is to go with the clever idiomatic way when performance or space matter AND, and to go for the simple idiotic way when I want to understand in a

Re: [R] categorized complete list of R commands?

2013-04-04 Thread R. Michael Weylandt
On Thu, Apr 4, 2013 at 1:54 PM, ivo welch wrote: > > ## must be started with R --vanilla > all.sources <- search() > d <- NULL > for (i in 1:length(all.sources)) { > all.functions <- ls(search()[i]) > N <- length(all.functions) > if (N==0) next > d <- rbind(d, data.frame( src=rep(all.sourc

Re: [R] categorized complete list of R commands?

2013-04-04 Thread ivo welch
I was thinking simpler, not more clever. ## must be started with R --vanilla all.sources <- search() d <- NULL for (i in 1:length(all.sources)) { all.functions <- ls(search()[i]) N <- length(all.functions) if (N==0) next d <- rbind(d, data.frame( src=rep(all.sources[i], N), index=1:N, fnam

Re: [R] categorized complete list of R commands?

2013-04-04 Thread Bert Gunter
... and how do you (algorithmically) define "categorized"? Seems like a clairvoyant oracle would be required (probably could be used to solve NP complete problems in polynomial time, too!). Or the google folks... In the meanwhile, a slight enhancement to Michael's suggestion might be to first fil

Re: [R] categorized complete list of R commands?

2013-04-04 Thread R. Michael Weylandt
On Thu, Apr 4, 2013 at 3:57 PM, ivo welch wrote: > > thanks, michael. how do I get all functions, not just my own, that can > possibly be used? It's somewhat ill-defined as functions can be created at any moment. But as a start lapply(search(), ls) might get you going. Though my original ide

Re: [R] categorized complete list of R commands?

2013-04-04 Thread R. Michael Weylandt
On Apr 4, 2013, at 12:34 AM, ivo welch wrote: > every time I read the R release notes for the next release, I see many > functions that I had forgotten about and many functions that I never knew > existed to begin with. (who knew there were bibtex facilities in R? > obviously, everyone except

[R] categorized complete list of R commands?

2013-04-03 Thread ivo welch
every time I read the R release notes for the next release, I see many functions that I had forgotten about and many functions that I never knew existed to begin with. (who knew there were bibtex facilities in R? obviously, everyone except me.) I wonder whether there is a complete list of all R