Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

R Tools client: couldn't create connection to server. Launching server using command dotnet failed. Error: spawn dotnet ENOENT

When trying to use the plot function in an R notebook on visual studio, nothing is shown and I obtain the following error:

[Error - 6:53:47 PM] R Tools client: couldn't create connection to server.
Launching server using command dotnet failed. Error: spawn dotnet ENOENT 

These are the loaded libraries: library(ggplot2) library(TOSTER) library(effectsize) library(lme4) library(e1071) library(lmerTest) library(moments) library(influence.ME) library(Rmisc) library(emmeans) library(tidyr) library(reshape2) library(plotly) library(data.table) library(dplyr) library(psych) # corr.test

Do you know where the problem could come from?

Thank you very much in advance,

Elena

like image 743
Elena B Avatar asked Apr 10 '26 11:04

Elena B


1 Answers

I think that the problem is caused by the instalation of Rtools, that overwrites the configuration of R.

To fix this go to your settings,

Ctrl-Shift-P >>> Preferences: Open keyboard shortcuts, and remove this configration r.executeInTerminal that's the one of Rtools.

Then it should work.

You can read more from this answer Similar problem

like image 183
Javier Huerta Avatar answered Apr 12 '26 00:04

Javier Huerta



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!