I have a simple
print("Hello") R script that I want to run inside VS Code, but I keep getting the same error message every time I try. The error message is as follows:
[Done] exited with code=1 in 0.055 seconds [Running] Rscript "c:\Users\IFEANYI\Documents\Python Scripts\VScode Projects\tempCodeRunnerFile.r" 'Rscript' is not recognized as an internal or external command, operable program or batch file.
I have installed the R VS Code extension and language server, but all to no avail. Please, can anybody be so kind as to diagnose this problem for me? Thanks in advance of your help.