I frequently look at the .Last.value, it would be great if it were possible to customize a keyboard shortcut to do this.
You might consider filing “suggestions” as “enhancements” or feature requests as an issue in the RStudio IDE repo.
There’s a quick paragraph about doing so here (sorry, the preview isn’t where the anchor will take you):
There are also a couple of ways you can do this yourself:
Make a snippet (e.g. vlv) for yourself that expands to View(.Last.value). See Code Snippets.
Make an RStudio add-in. Here is a tutorial on making an add-in that inserts %>% when a keyboard shortcut is pressed. You can follow that example and just change the text.
If you don’t want to build a full addin , @yonicd has an addin that gives you bindable addin slots for your own addin functions, among other things. https://github.com/yonicd/rsam/blob/master/README.md
See ‘limited liability’ addins. Kind of cool for quickly trying something out.
Thanks to both of you!