tags:

views:

156

answers:

5

Is there any IDE -from the ones supporting R-, that gives access to the command history (at least to the current session's commands)? Or is there a way to get a (character or expression) vector with those commands in R?

For those of you that have been using MATLAB, I mean something like the Command History window there..

Thank you

+4  A: 

I would highly recommend to use Emacs with ESS (Emacs speaks Statistic)

Frank Martin
Does ESS show the command history?
Shane
http://ess.r-project.org/Manual/ess.html#Command-History describes the command history support of ESS.
Frank Martin
+2  A: 
savehistory('file')
myhistory <- scan('file','character')

Might do the trick.

wkmor1
+8  A: 
history(Inf)

opens a window similar to that in MATLAB.

gd047
+4  A: 

Eclipse with Stat-ET plugin will get you command history window and object browser.

Robert
I don't believe that Stat-ET has an object browser. Where do you see that?
Shane
Go to Window > Show View > Object Browser
Robert
+1  A: 

The OS X GUI for R has a very nice command history mechanism built in. It works well with multi-line commands (e.g. long function definitions), and you can browse through the history in a pane on the side of the window.

Ken Williams