Unable to print R script output to console
So I have all the necessary language and plugins installed in my PyCharm. However, even a simple R code like:
myString <- "Hello, World!"
print(myString)
gives the following output:
"C:\Program Files\R\R-3.6.0\bin\R.exe" --no-save --quiet
Process finished with exit code 0
Instead of the expected hello world. What am I missing?
Please sign in to leave a comment.
Doesn't reproduce for me.
What R interpreter do you have configured in File | Settings | Languages & Frameworks | R Language ?
Navigate to R's bin directory and use RScript.exe to run the same script file - do you get the print output?
Great. worked
so how to solve it, I have the same problem.
in pycharm it just gives:--no-save --quiet
@Ll894073932
Try running the script directly with R interpreter from your terminal.