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!"

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?


Comment actions Permalink

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?

Comment actions Permalink

Great. worked

Comment actions Permalink

so how to solve it, I have the same problem.

in pycharm it just gives:--no-save --quiet

Comment actions Permalink


Try running the script directly with R interpreter from your terminal.


Please sign in to leave a comment.