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?

 

2 comments
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?

1
Comment actions Permalink

Great. worked

0

Please sign in to leave a comment.