1 year ago

#76454

test-img

Jesse Cook

Is it possible to use locator() or identify() in an r-markdown file when the chunk output is inline instead of to the console?

I have a plot where I am trying to annotate specific points, and I want to use locator() for coordinates or identify() to label the points. However, if I use inline chunk output and run the chunk it doesn’t allow for me to click on the plot. When I divert the chunk output to console and the plot goes to the viewer in R studio I can then use said functions. Is it possible to get this to work with inline chunk output?

r

r-markdown

0 Answers

Your Answer

Accepted video resources