Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use "marker" in R-studio

Tags:

rstudio

I found that by using mouse click, we can create a red dot as a "marker" in R-studio. This is very nice. But how to simply go to this line with a marker?

I use SAS also. In SAS, it is like pressing Ctrl+F2 to create a marker, and press F2 to go to the next marker.

Anyone use this before? Thanks!

enter image description here

like image 228
kennyut Avatar asked Aug 01 '14 17:08

kennyut


People also ask

How do you add a marker in leaflet?

Adding a Simple MarkerStep 1 − Create a Map object by passing a <div> element (String or object) and map options (optional). Step 2 − Create a Layer object by passing the URL of the desired tile. Step 3 − Add the layer object to the map using the addLayer() method of the Map class.

How do you use leaflet in R?

Basic UsageCreate a map widget by calling leaflet() . Add layers (i.e., features) to the map by using layer functions (e.g. addTiles , addMarkers , addPolygons ) to modify the map widget. Repeat step 2 as desired. Print the map widget to display it.

Which function should you use if you want to add markers to display a specific location on a map that you draw in R?

Icon markers are added using the addMarkers or the addAwesomeMarkers functions.


1 Answers

That isn't a marker but rather a breakpoint. When you run a script with a breakpoint, execution will stop there. Unfortunately there isn't currently a way to jump to breakpoints.

You can get similar behavior by inserting sections: use Code -> Insert Section to add a section, then Code -> Jump To to jump to any section quickly (there are hotkeys for these as well).

like image 56
Jonathan Avatar answered Sep 28 '22 06:09

Jonathan