-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug in R markdown file #153
Comments
Unfortunately, this is not possible at the moment. Implementing this properly is going to be difficult (e.g. due to all the different settings/commands that can be specified for each code chunk). To still allow some Rmd debugging, I can think of the following two alternatives:
|
That looks reasonable, and I remember the jupyter notebook do the same thing. |
I wonder if you could consider a chunk just a piece of code to be executed in the global environment. What variables are defined at debugging time is up to the user. He/she could run any chunks above (that would create those global variables) before debugging whenever needed. Debugging a chunk is a very important feature in my opinion. Jetbrains' R plug in can do so - RStudio not. But anyway, VS code's R features incl. this debugger are already excellent! Please go on! |
I agree and for what it's worth, where I find using the If I made the plunge to use VScode over Rstudio I could definitely use |
and you just simple replace |
Is it possible to debug for a code chunk within a r markdown file? I think python jupyter notebook does support the feature, same as r studio.
The text was updated successfully, but these errors were encountered: