Rstudio command history

2019-06-23 02:07发布

问题:

I have been using Rstudio a great deal these days but recently noticed that my commands are not being stored in the history any longer. I don't know then this started, but it might have been with the install of the most recent version. Any ideas on what the issue may be?

Thanks,

回答1:

This is a bug that we introduced in v0.93.73 and fixed in v0.93.75. Please try updating to the latest version at http://www.rstudio.org/download/desktop/.

Thanks and sorry for the inconvenience!



回答2:

If everything is normal (i.e., no bugs) there should be a checkbox under Tools > Options > General which says Always save history (even when not saving .RData). This should be checked "Yes". Then look for the hidden file .RHistory in the present working directory and there your command history is.

(This comment is less for the OP than for a googler who stumbles across this question.)



标签: r rstudio