When plotting some lines via lines
to an existing plot object in plain R this works just fine. However, in R notebooks from Rstudio this will fail. How can I use this functionality in notebooks?
Asked
Active
Viewed 175 times
0

Georg Heiler
- 16,916
- 36
- 162
- 292
-
This appears to be a valid question which really pertains Rstudio (for once). – Roman Luštrik Feb 15 '17 at 20:09
-
Please ping me if this question gets closed. – Roman Luštrik Feb 15 '17 at 22:56
1 Answers
1
This has bit me in the rear many a time. What I found works is running all plot related lines at once (select and run) and not step-by-step. Alternatively you can press the green arrow (Run current chunk) or use Ctrl + Alt + c.
My RStudio version is 1.0.44.

Roman Luštrik
- 69,533
- 24
- 154
- 197