Command history in R
问题 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 回答1: history(Inf) opens a window similar to that in MATLAB. 回答2: savehistory('file') myhistory <- scan('file','character') Might do the trick. 回答3: I would highly