Running example code from help viewer pane




I thought I remembered that there was a way to run example code from the help viewer pane in your R console using the IDE. But I can't seem to find anything about this online or on the IDE cheatsheet. Does it exist or am I imagining things? Obviously I can just copy and paste, of course, too.



You're not imagining things! It's a super helpful feature that I :heart: a lot! You select the code in the Help pane and hit Ctrl+Enter or Command+Enter (depending on your system), just like running a line of code from the Source pane.

Here's the blog post: