Skip to content
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

[Feature request] RMarkdown: "Run all chunks" & "Run previous" #262

Closed
pat-s opened this issue Mar 22, 2020 · 3 comments · Fixed by #465
Closed

[Feature request] RMarkdown: "Run all chunks" & "Run previous" #262

pat-s opened this issue Mar 22, 2020 · 3 comments · Fixed by #465

Comments

@pat-s
Copy link

pat-s commented Mar 22, 2020

RStudio has the nice feature to "Run all chunks" or "Run previous" for RMarkdown documents. This is really handy if you want to have all objects up to a certain chunk to continue from there.

Currently I need to c/p each chunk by hand to the R interpreter to avoid errors when pasting text to the interpreter.

(To run all chunks, this custom function can be used as a workaround.)

@renkun-ken
Copy link
Member

This could be done as extension command that detects the code chunk the cursor is at. And we could also do this using CodeLens like vscode-python:

image

@andycraig
Copy link
Collaborator

I started working on this in #49 but stopped before producing any useful shareable code. If someone else wants to add this feature that would be very welcome of course!

Using a CodeLens would be a nice approach.

@assignUser
Copy link
Contributor

assignUser commented Aug 18, 2020

See #378 #395

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants