[R] History pruning

2008-07-30 Thread Ken Williams
Hi, I find that a typical workflow for me looks something like this: 1) import some data from files 2) mess around with the data for a while 3) mess around with plotting for a while 4) get a plot or analysis that looks good 5) go back through my history to make a list of the shortest command sequ

[R] history: recording

2009-01-06 Thread Troels Ring
Hi, I'm using windows xp and R 2.8.0 - I wonder what is the command to put in a script that has the same effect as when in a plot you choose menu "History" and "Recording". Best wishes Troels -- Troels Ring - - Department of nephrology - - Aalborg Hospital 9100 Aalborg, Denmark - - +45 99326

Re: [R] History pruning

2008-07-30 Thread Marc Schwartz
on 07/30/2008 01:12 PM Ken Williams wrote: Hi, I find that a typical workflow for me looks something like this: 1) import some data from files 2) mess around with the data for a while 3) mess around with plotting for a while 4) get a plot or analysis that looks good 5) go back through my histor

Re: [R] History pruning

2008-07-31 Thread Ken Williams
On 7/30/08 1:59 PM, "Marc Schwartz" <[EMAIL PROTECTED]> wrote: > I (and many others) use ESS (Emacs Speaks Statistics), in which case, I > have an R source buffer in the upper frame and an R session in the lower > frame. I also use ESS to edit my R code (inside Aquamacs Emacs), but I usually u

Re: [R] History pruning

2008-07-31 Thread Marc Schwartz
on 07/31/2008 08:35 AM Ken Williams wrote: On 7/30/08 1:59 PM, "Marc Schwartz" <[EMAIL PROTECTED]> wrote: I (and many others) use ESS (Emacs Speaks Statistics), in which case, I have an R source buffer in the upper frame and an R session in the lower frame. I also use ESS to edit my R code

Re: [R] History pruning

2008-07-31 Thread Ken Williams
On 7/31/08 11:01 AM, "hadley wickham" <[EMAIL PROTECTED]> wrote: > I think that would be a very hard task - Well, at least medium-hard. But I think significant automatic steps could be made, and then a human can take over for the last few steps. That's why I was enquiring about "tools" rathe

Re: [R] History pruning

2008-07-31 Thread Duncan Murdoch
On 7/31/2008 2:08 PM, Ken Williams wrote: On 7/31/08 11:01 AM, "hadley wickham" <[EMAIL PROTECTED]> wrote: I think that would be a very hard task - Well, at least medium-hard. But I think significant automatic steps could be made, and then a human can take over for the last few steps. Tha

Re: [R] History pruning

2008-07-31 Thread Ken Williams
On 7/31/08 2:12 PM, "Duncan Murdoch" <[EMAIL PROTECTED]> wrote: > > expression() returns a list of language objects, and we only asked for > one. We can look inside it: Hey, cool. Now let me see if I can do anything useful with that. Thanks. -Ken -- Ken Williams Research Scientist The

Re: [R] History pruning

2008-07-31 Thread hadley wickham
> It's not really equivalent, natural language has ambiguities and subtleties > that computer languages, especially functional languages, intentionally > don't have. By their nature, computer languages can be turned into parse > trees unambiguously and then those trees can be manipulated. But in

Re: [R] History pruning

2008-08-01 Thread Antony Unwin
JGR's "Copy Commands" command works well for me (even if it is both fascinating and embarrassing how little is sometimes left over). It retains only commands that worked, so it is still not the minimum possible. Antony Unwin Professor of Computer-Oriented Statistics and Data Analysis, Mathe

Re: [R] History pruning

2008-08-01 Thread Richard M. Heiberger
>5a) save my entire history to a text file >5b) open it up in Emacs >5c) prune any lines that don't have assignment operators > > >Ken Williams >Research Scientist >The Thomson Reuters Corporation >Eagan, MN No one has yet mentioned the obvious. ESS does your 5a 5b 5c with M-x ess-transcript

Re: [R] History pruning

2008-08-01 Thread Ken Williams
On 8/1/08 12:40 PM, "Richard M. Heiberger" <[EMAIL PROTECTED]> wrote: > >> 5a) save my entire history to a text file >> 5b) open it up in Emacs >> 5c) prune any lines that don't have assignment operators > > No one has yet mentioned the obvious. ESS does your 5a 5b 5c with >M-x ess-transc

Re: [R] History pruning

2008-08-01 Thread Richard M. Heiberger
I meant 5a 5b 5c. Multiple-line commands are handled correctly. What is is doing is looking for "> " and " +" prompts. Anything else is removed. Here is a selection from the *R* buffer and the result after cleaning. It includes an example of par(). Rich *R* > options(chmhelp = FALSE) > option

Re: [R] History pruning

2008-08-04 Thread Ken Williams
On 8/1/08 1:13 PM, "Richard M. Heiberger" <[EMAIL PROTECTED]> wrote: > I meant 5a 5b 5c. Multiple-line commands are handled correctly. > What is is doing is looking for "> " and " +" prompts. Anything else > is removed. When I said "5c) prune any lines that don't have assignment operators" I

Re: [R] History pruning

2008-08-08 Thread Greg Snow
Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Ken Williams > Sent: Wednesday, July 30, 2008 12:13 PM > To: [EMAIL PROTECTED] > Subject: [R] History pruning > > Hi, > > I find that a typical workflow for me looks something like this: > &

Re: [R] History pruning

2008-08-08 Thread Ken Williams
On 8/8/08 1:04 PM, "Greg Snow" <[EMAIL PROTECTED]> wrote: > Ken, > > Others have given hints on pruning the history, but are you committed to doing > this way? Not necessarily. Only the starting point & ending point really matter; I'd like to be able to start with a transcript of a bunch of

Re: [R] History pruning

2008-08-22 Thread Richard M. Heiberger
We have different starting points. Please be sure that your modularity allows a cleaned region as well as a history log to be the input to your next step. The history log is incomplete; lines sent to the *R* buffer by C-c C-n are explicitly excluded from history. Lines picked up from a saved tra

Re: [R] history: recording

2009-01-06 Thread jim holtman
?windows On Tue, Jan 6, 2009 at 10:44 AM, Troels Ring wrote: > Hi, I'm using windows xp and R 2.8.0 - I wonder what is the command to put > in a script that has the same effect as when in a plot you choose menu > "History" and "Recording". > Best wishes > Troels > > -- > > Troels Ring - - > Depar

Re: [R] history: recording

2009-01-06 Thread Troels Ring
Thanks a lot - windows(record=TRUE) seems to do the job. Sorry not to have found it. Troels jim holtman skrev: ?windows On Tue, Jan 6, 2009 at 10:44 AM, Troels Ring wrote: Hi, I'm using windows xp and R 2.8.0 - I wonder what is the command to put in a script that has the same effect as whe

Re: [R] history: recording

2009-01-06 Thread Prof Brian Ripley
On Tue, 6 Jan 2009, Troels Ring wrote: Thanks a lot - windows(record=TRUE) seems to do the job. If you want to control an already open graphics device you will need the R-devel version, which has a function msgWindow() to change a lot of settings, including 'record'. Sorry not to have fo

[R] History of R

2008-02-15 Thread Kathy Gerber
Earlier today I sent a question to Frank Harrell as an R developer with whom I am most familiar. He suggested also that I put my questions to the list for additional responses. Next month I'll be giving a talk on R as an example of high quality open source software. I think there is much to

Re: [R] History of R

2008-02-15 Thread Douglas Bates
On Fri, Feb 15, 2008 at 1:53 PM, Kathy Gerber <[EMAIL PROTECTED]> wrote: > Earlier today I sent a question to Frank Harrell as an R developer with > whom I am most familiar. He suggested also that I put my questions to > the list for additional responses. Next month I'll be giving a talk on >

Re: [R] History of R

2008-02-15 Thread Douglas Bates
On Fri, Feb 15, 2008 at 3:23 PM, Douglas Bates <[EMAIL PROTECTED]> wrote: > On Fri, Feb 15, 2008 at 1:53 PM, Kathy Gerber <[EMAIL PROTECTED]> wrote: > > Earlier today I sent a question to Frank Harrell as an R developer with > > whom I am most familiar. He suggested also that I put my questions

Re: [R] History of R

2008-02-15 Thread John Sorkin
Kathy. A suggestion. As you gather your information about the history, I suggest you put fingers to keyboard and write down the history. You could start with the material Douglas just sent to you. Perhaps we can convince the R folks to place the history on the CRAN website - perhaps in WIKI form

Re: [R] History of R

2008-02-15 Thread Achim Zeileis
For those of you who want to learn more about the history of the R project: There will be an invited lecture by John Fox and Kurt Hornik at this year's useR! conference in Dortmund in August (...unfortunately a bit too late for Kathy) about "The Past, Present, and Future of the R Project" see ht

Re: [R] History of R

2008-02-15 Thread John Fox
cmaster.ca/jfox > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > project.org] On Behalf Of Kathy Gerber > Sent: February-15-08 2:53 PM > To: r-help@r-project.org > Subject: [R] History of R > > Earlier today I sent a question to Frank Har

Re: [R] History of R

2008-02-15 Thread Kathy Gerber
Thanks to all who responded so thoughtfully. I would like to summarize briefly the observations and opinions so far with some of my own interpretations and thoughts. John Fox is working on a much deeper history scheduled for August, and his three factors are a good starting point. John Fox w

Re: [R] History of R

2008-02-16 Thread Spencer Graves
Hi, Kathy, John, et al.: Has there been an answer to the question of why R has been much more successful than Octave? In this regard, can anyone provide a price comparison of student versions for S-Plus and Matlab during R's gestation period, 10-15 years ago? I had the impressio

Re: [R] History of R

2008-02-16 Thread Kathy Gerber
Spencer, I believe this is the first mention of pricing that I've seen. The accommodation and consideration of contributed packages has been addressed to some degree. Several additional points have been made about the comparison of R to Octave, some off list. -- Matlab did not alienate devel

Re: [R] History of R

2008-02-17 Thread John C Frain
The windows port of R has been very good for a long time. I know some people who even think that the current windows port is better than the Linux version. Thanks to those who have made the windows port available and who continue to maintain it. I now use both MS Windows and Linux (Fedora) and wo

Re: [R] History of R

2008-02-19 Thread Roland Rau
Hi Kathy, maybe this article could be also of use for you? Ihaka, R., and Gentleman, R. (1996)," R: A Language for Data Analysis and Graphics," The Journal of Computational and Graphical Statistics, 5, 299-314 Best, Roland Kathy Gerber wrote: > Earlier today I sent a question to Frank Harrell

Re: [R] History of R

2008-02-19 Thread Earl F. Glynn
"Kathy Gerber" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Spencer, > > I believe this is the first mention of pricing that I've seen. > Several additional points have been made about the comparison of R to > Octave, some off list. > -- Matlab did not alienate developers all th

Re: [R] History of R

2008-02-19 Thread andy bush
Kathy Gerber wrote: > > Earlier today I sent a question to Frank Harrell as an R developer with > whom I am most familiar. He suggested also that I put my questions to > the list for additional responses. Next month I'll be giving a talk on > R as an example of high quality open source soft

Re: [R] History of R

2008-02-20 Thread Barry Rowlingson
Earl F. Glynn wrote: > Nearly six years ago, SAS also refused to give us academic pricing because > we were not a degree granting institution. About a year ago, SAS finally > granted us academic pricing, but most of the analysis momentum was already > for the use of R/Bioconductor. I recently

Re: [R] History of R

2008-02-21 Thread Greg Snow
ruary 20, 2008 5:52 AM > To: Earl F. Glynn > Cc: [EMAIL PROTECTED] > Subject: Re: [R] History of R > > Earl F. Glynn wrote: > > > Nearly six years ago, SAS also refused to give us academic pricing > > because we were not a degree granting institution. About a >

Re: [R] History of R

2008-02-21 Thread Greg Snow
Data Center Intermountain Healthcare [EMAIL PROTECTED] (801) 408-8111 > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Kathy Gerber > Sent: Friday, February 15, 2008 12:53 PM > To: r-help@r-project.org > Subject: [R] History of

Re: [R] History of R

2008-02-22 Thread Michael A. Miller
> "Greg" == Greg Snow <[EMAIL PROTECTED]> writes: > There are a couple of ideas that I would like to add that > may have played a part in the level of growth that R has > had. Something that I haven't seen mentioned yet that played a role in my adopting R is the ability to create

Re: [R] History of R

2008-02-22 Thread Paul Gilbert
Kathy The dedication of the developers and several other important things have already been mentioned. Here are a few points I have not seen. - I believe S was originally open source (before the term existed and before GPL, and license issues were probably clouded with respect to changing the

Re: [R] History of R

2008-02-27 Thread Kevin Wright
Kathy, You might find some relevant reading in volume 13 of the Journal of Statistical Software: http://www.jstatsoft.org/v13 Some of the papers have a bit of discussion on why R has become more widely used than lisp-stat. K Wright On Fri, Feb 15, 2008 at 1:53 PM, Kathy Gerber <[EMAIL PROTECTE