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
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With