Chapter 3 Visual Studio Code
3.1 Basics and Resources
Visual Studio Code (VS Code) is another popular IDE for programming in pretty much all languages. With the recent development of GitHub Copilot (X), it makes VS Code a very attractive platform. Here is a place to get things started. Please note that in Windows, running the applications as Administrator is probably needed to install related components.
To get things working, you only need to
- Install R
- Install VS Code
- Install R Extension in VS Code
- Install the
languageserver
packageinstall.packages("languageserver")
To install radian
(for interactive R terminal), you need to
- Install Python and pip (if you have Anaconda, that should be included already)
- Use
pip3 install -U radian
to installradian
- Go to settings in VS Code, and find
r.path
, add yourradian.exe
file path to it