Set up R in VS Code for Windows 11 in 2023

preview_player
Показать описание
In this video, I will show you how to install R and VS Code on your computer and then set up R configure the R in VS Code, which provides syntax highlighting, code completion, linting, formatting, debugging, and more.

0:00 Step 1: install R
9:27 Step 2: install VS Code
12:25 Step 3: set up R in VS Code
Рекомендации по теме
Комментарии
Автор

This is great, I have been wondering how you configure the R in VSCode. Thank you for this Youtube. You are a great teacher.

kwizeralambert
Автор

Ok this is something i was considering but didn't know where to start, grateful as always. Love the thumbnail btw💪🏻😂

Aaqib..
Автор

Always amazing and relevant. A lot of people struggle to set up. Thank you.

mahatmaalimibrahim
Автор

Im a postgrad and about to start a project in R. Thank u very much!

yifanwu
Автор

Thank you for the excellent tutorial. I use VS code to program in many programming languages, and knowing that it's possible for R is really nice. I will try it for sure

lbarq
Автор

Thank you! Very detailed and useful tutorial!

tornikeb
Автор

Great one Milos, we need more videos like this!

AleksPopovic
Автор

Exactly what I was looking for. Appreciate it!

kevon
Автор

thank you for this amazing tutorial but i have an error when running the " > " command

the error reads : Error: Failed to install 'languageserver' from GitHub

any solutions?

sweven
Автор

Nice, l use radian before to integrate R with VS code but I really love your step!!@

oluwafemioyedele
Автор

Thanks a lot for your excellent video tutorial!!! I used to work with RStudio, nevertheless it became so much “heavy” and I believe that VS Code is the only serious alternative. I have a short question: How can I use the Ctrl + Shift + M for the %>% pipe? Thanks in advance!!!

iliasaretos
Автор

This is the best video that solved my installation issue: Working with R in VS Code for Windows 10, R Version 4.3.2. The Settings part in Win10 are different to access but are named the same as in Win11. Thanks. Now dealing with execution issues...
Im Stuck with "Failed to get list of R functions. Make sure that `jsonlite` is installed and r.rpath.windows points to a valid R executable" AND "Error: '\U' used without hex digits in character string (<input>:4:36) Execution halted". Have tried everything on the comments but cannot solve it..any guidance is welcome.

solarenergynow
Автор

Hell yeah, I agree! I have no idea what I am agreeing but YES, I AGREE !

emirhandemir
Автор

Just got a problem but resolved by myself is, when in the RGui, run: will cause an error, if not install Rtools. So install Rtools first before the tutorial.

ysyumgx
Автор

Thank you for the video, man. I got stuck in the R setup because I'm using WSL, I suppose. Does that mean I should install R on my Ubuntu subsystem instead of Windows to use it? If so, I would appreciate some guidance. Thank you!

Keroxez
Автор

My problem might be that I’d already installed everything before watching this tutorial following other instructions, but it seemed like it was all working the same until you got to the end and then I couldn’t find the specific “rPath” settings in REditor? I’ve got most of the same ones as you do, but not those.

chris
Автор

Thanks for the video. This is very detailed. I have one problem though during the installation of server language I get the following error:

Error in dir.exists(rlsLib) :
file name conversion problem -- name too long?
Not doing anything, returning FALSE.


My user folder has a character with an accent (í) I don't know if that could be the problem. I'm running it on windows 11. Do you have any idea how to resolve this?

ramasama
Автор

When I try to download the packages with ("languageserversetup") the terminal prints: 'lib = "C:/Program Files/R/R-4.3.1/library" ' is not writable & it asks me if I want to use a personal library instead? What does this mean?

johannesdoermer
Автор

is there an environment tab for vscode just like the rstudio? i think environment pane is very important especially when scraping or saving objects

boredom
Автор

I am stuck with the opening up the R terminal part on VS code. The error message I get is "Cannot find R for creating R terminal. Change setting r.rterm.windows to R path." Any suggestions?

reinadavisaoki