Improve R documentation integration
See original GitHub issueFirst of all thanks a big thanks to all the contributors of this project. I recently started using vscode-R and it starting to be a very solid alternative to Rstudio, it is also good to see the project getting new features every week 👍.
I would like to submit a couple suggestions to improve the user experience with the R documentation:
- Add a command
r.helpto vscode-R in the spirit ofr.headso that the selected function name in the editor can be sent to the console withr help(<selected_text>), this would allow users to map shortcuts to it and quickly jump to the help page. - Add the possibility to copy text from the R documentation in the html viewer in order to be able to paste it into the console or the text editor (e.g. I often do this with examples, function names, argument names, etc.).
- Add a search bar in the html documentation viewer.
- Add a black theme option to the html viewer possibly linked to the editor background color (#178).
Thanks
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Writing R Extensions - The Comprehensive R Archive Network
This is a guide to extending R, describing the process of creating R add-on packages, writing R documentation, R's system and foreign language...
Read more >3.4 Documentation | Mastering Software Development in R
3.4 Documentation. The objectives of this section are: Create R function documentation using roxygen2; Create vignettes using knitr and R Markdown.
Read more >R package to integrate rdocumentation.org into your R workflow
Search through all CRAN, Bioconductor, Github packages and their archives thanks to RDocumentation. Browse beautifully formatted and designed help pages. Post ...
Read more >R Packages (2e) - 17 Function documentation
Base R provides a standard way of documenting a package where each function is documented in a topic, an .Rd file (“R documentation”)...
Read more >Improving automatic document production with R - Locke Data
In this post, I describe the latest iteration of my automatic document production with R. It improves upon the methods used in Rtraining, ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks for your suggestions!
This looks like a special case of #201.
This is currently limited by the user operations allowed by WebView. See https://github.com/microsoft/vscode/issues/65452.
I’m not sure if it is possible to do this because the R documentation is purely provided by a http server started from R. The WebView just shows the URL triggerred by
browser. It does nothing else and it even cannot know it is help documentation.I’m trying to figure out but I don’t know a robust way to do this at the moment.
Closing as the help pages are supported now.