Comments (5)
Thank you for this excellent post Sebastian! I've been actively using VS-Code in most of my open-source R development livestreams and you have some great gems here that I didn't realize (such as the path autocomplete plugin). While I haven't quite achieved as seamless of a debugging experience as in RStudio, I very much agree that VS-Code shines with my container-made dev environment and especially as I integrate R with python or custom javascript. The recent enhancements to R-markdown compilation have been huge for the extension and can't wait to see what the future holds.
from blog_tips.
This new blog post allows me to test comments with Utterances as presented in Maelle Salmon blog post there: https://masalmon.eu/2019/10/02/disqus/
This allows you to comment with a GitHub account as comments will be listed in an issue in my blog_tips GitHub repository: https://github.com/statnmap/blog_tips
Let's see if it works !
from blog_tips.
Thanks for this great post! I recently switched from RStudio to VS Code. There was no special need, but after working with VS Code for ~2 weeks, I really feel comfortable and won't go back, even not for my casual daily R stuff.
I think some information is outdated, like code-autocompletion worked out-of-the-box for me (after installing the R extension), And I'd suggest the "Path Autocomplete" extension, which is said to work a bit more reliable. Exploring code of functions works with F12.
I have also saved some references/links to resources and settings, and some short guides how to use VS Code or do debugging here: https://gist.github.com/strengejacke/82e8d7b869bd9f961d12b4091c145b88
Though debugging packages does not work with breakpoints (for me), but with browser()
instead, my experience is that debugging is more robust in VS Code than in RStudio.
from blog_tips.
instead, my experience is that debugging is more robust in VS Code than in RStudio.
I'm definitely interested in your debugging workflow in normal (non-package) projects. Could you share a bit more about your setup for debugging?
from blog_tips.
I haven't used the debugger in non-package projects yet, but I guess it would be easier because you can use breakpoints. That's fairly easy because you simply set a breakpoint and source the file, and it works. I think you only need to configure the launcher.
This is how I do this in projects. You may look at the video, but in the beginning of the video, configuring the launcher is a bit more complicated than described in my "tutorial": https://gist.github.com/strengejacke/82e8d7b869bd9f961d12b4091c145b88?permalink_comment_id=4259875#gistcomment-4259875
from blog_tips.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blog_tips.