How to bookmark lines of code in RStudio?

Viewed 804

In Matlab I can bookmark lines of code and cycle through my bookmarks with, I think it was F12.

Very handy! Can I do something similar in Rstudio?

2 Answers
[#BOOKMARK TITLE====]

Thats how I do it. Make sure you use four equal signs else it won't work. Bookmarks then shows up in the scroll box at the bottom of the code window to the left.

enter image description here

Without using additional add-ons you can use hashtags #### COMMENT #### or left click next to the linenumber to set a bookmark to this line.Exmaple Here

Related