So I wanted to set up R kernel for Jupyter in VSCode, I installed Jupyter via pip, in the R console I typed:
install.packages('IRkernel')
and the package was successfully installed, then I tried to run the command
IRkernel::installspec(user = FALSE)
or
IRkernel::installspec()
but I get following error: jupyter-client has to be installed
but “jupyter kernelspec --version
” exited with code 1. What should I do to fix it?