hi, I am really confused by history function in R.app for Mac: Here is some test from command-line:> ls()character(0)> ls()character(0)> ls()character(0)> history()ls() ls() ls() history() That is what I expected. But from R.app, it does not show anything. _ platform i386-apple-darwin8.9.1 arch i386 os darwin8.9.1 system i386, darwin8.9.1 status major 2 minor 5.0 year 2007 month 04 day 23 svn rev 41293 language R version.string R version 2.5.0 (2007-04-23) Thanks, -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III
If you click on the history icon in the toolbar in R.app you will see them. Or up and down arrows. R.app implements some extra features, such as multiline command retrieval. Through preference settings you can control if you want to see just a single ls() or multiple, etc. Rob On Jun 11, 2007, at 9:18 AM, Weiwei Shi wrote:> hi, > > I am really confused by history function in R.app for Mac: > > Here is some test from command-line: >> ls() > character(0) >> ls() > character(0) >> ls() > character(0) >> history() > ls() > ls() > ls() > history() > > That is what I expected. But from R.app, it does not show anything. > > _ > platform i386-apple-darwin8.9.1 > arch i386 > os darwin8.9.1 > system i386, darwin8.9.1 > status > major 2 > minor 5.0 > year 2007 > month 04 > day 23 > svn rev 41293 > language R > version.string R version 2.5.0 (2007-04-23) > > Thanks, > > > > -- > Weiwei Shi, Ph.D > Research Scientist > GeneGO, Inc. > > "Did you always know?" > "No, I did not. But I believed..." > ---Matrix III > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > and provide commented, minimal, self-contained, reproducible code.
got it. Thanks. I was always trying to find it at menu and did not expect that in my toolbar :) I just assumed that any tool icon should also be shown on menu, which is just a routine to me. -w On 6/11/07, Rob J Goedman <goedman at mac.com> wrote:> If you click on the history icon in the toolbar in R.app you will see > them. Or up and down arrows. > R.app implements some extra features, such as multiline command > retrieval. > > Through preference settings you can control if you want to see just a > single ls() or multiple, etc. > > Rob > > On Jun 11, 2007, at 9:18 AM, Weiwei Shi wrote: > > > hi, > > > > I am really confused by history function in R.app for Mac: > > > > Here is some test from command-line: > >> ls() > > character(0) > >> ls() > > character(0) > >> ls() > > character(0) > >> history() > > ls() > > ls() > > ls() > > history() > > > > That is what I expected. But from R.app, it does not show anything. > > > > _ > > platform i386-apple-darwin8.9.1 > > arch i386 > > os darwin8.9.1 > > system i386, darwin8.9.1 > > status > > major 2 > > minor 5.0 > > year 2007 > > month 04 > > day 23 > > svn rev 41293 > > language R > > version.string R version 2.5.0 (2007-04-23) > > > > Thanks, > > > > > > > > -- > > Weiwei Shi, Ph.D > > Research Scientist > > GeneGO, Inc. > > > > "Did you always know?" > > "No, I did not. But I believed..." > > ---Matrix III > > > > ______________________________________________ > > R-help at stat.math.ethz.ch mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide http://www.R-project.org/posting- > > guide.html > > and provide commented, minimal, self-contained, reproducible code. > >-- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III