-
Notifications
You must be signed in to change notification settings - Fork 129
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
Preview of Rmarkdown #103
Comments
By adding the below to
From https://qiita.com/yutannihilation/items/1f71c0fedae6e4b8038c |
@andycraig Thank you! It is working well. |
I can not use R markdown syntax and inline execution by this change. |
That's right, that change doesn't do anything special with R code blocks. A better R markdown experience could be gained by adding a command that calls the RStudio-like inline output from R code blocks would be tougher. I'm not sure if the VSCode editor supports non-text objects. |
It looks like the neuron extension might be very helpful here: https://marketplace.visualstudio.com/items?itemName=neuron.neuron-IPE I haven't managed to get it running successfully yet though, and it sounds like others are having trouble too: neuron-team/vscode-ipe#187 I've had more success with this fork: |
Is this still being worked on? Rmarkdown support is one of the major reasons I don't switch to vscode. |
Hi @rjBadger, as shown in the video above, the VSNotebooksBeta extension (a fork of the neuron extension) provides some support of R Markdown files, although there is a lot of room for improvement. I'd like to see work on R Markdown support for VSCode made on neuron or one of its forks, so that the improvements also benefit Julia etc. I'm not currently working on anything related to this, though. |
There is an issue open for adding support for other languages to the (very good) Jupyter component of the Python extension. If you are interested in better notebook support for R, please consider voting for it here: https://github.com/microsoft/vscode-python/issues/5078#issuecomment-507751659 Thank you! |
With #150, we can use |
That sounds great @renkun-ken! Would this also allow to show chunks of text, math, and or code separately? For an illustration of what I mean, see the GIF below: |
Would love to have a pdf preview option as well. |
Now that R session watcher is enabled by default in #670, how about adding a button that runs |
I wonder if it's possible to have |
There is an issue with |
Ah, I see what you mean - happy to look into it! Edit:
Syntax highlighting is maintained if a specific highlight theme is declared in the yaml, e.g. ---
title: "My R Doc"
output:
html_document:
highlight: kate
--- |
Closed by #692. |
Currently, the Markdown file can get a preview.
I believe R markdown file can also get a preview by calling preview command on Markdown.
I put this issue as the TODO
The text was updated successfully, but these errors were encountered: