R Studio plot pane disabled

Got the following error on R studio after updating it to version v1.1 :
Error in as.character(tools:::httpdPort) :
cannot coerce type 'closure' to vector of type 'character'
In addition: Warning message:
R graphics engine version 11 is not supported by this version of RStudio. The Plots tab will be disabled until a newer version of RStudio is installed.
20 Aug 2018 09:41:48 [rsession-ba.kapilyadav] ERROR r error 4 (R code execution error) [errormsg=Error in as.character(tools:::httpdPort) :
cannot coerce type 'closure' to vector of type 'character'
]; OCCURRED AT: core::Error r::exec::::evaluateExpressionsUnsafe(SEXPREC*, SEXPREC*, SEXPREC**, r::sexp::Protect*) /root/rstudio/src/cpp/r/RExec.cpp:148; LOGGED FROM: core::Error session::modules::help::initialize() /root/rstudio/src/cpp/session/modules/SessionHelp.cpp:892

Some of our previous issues such as help page viewing, function/code suggestion have been resolved, however, no plots are visible.

In the error also, it says that R Studio needs to be upgraded as the graphic device of R is not supported by RStudio.

Please note the version of R installed in our Oracle Red Hat Linux is R-3.3.0 and we have upgraded RStudio to the latest available version on its website i.e. v1.1.

Please advise. We require the plot feature in RStudio.

Thank you.

The current version of RStudio is:

RStudio Desktop 1.2.1335Release Notes

You can download it here:
https://www.rstudio.com/products/rstudio/download/#download

You might also consider updating your version of R itself. R 3.3.0 was released in May of 2016, and the current version is 3.5.3 (with 3.6.0 already in pre-release).
https://www.r-project.org/
https://cran.r-project.org/doc/manuals/r-release/NEWS.html

1 Like

Hi Mara,

Thank you so much for your response.

I visited the link you provided, to download the latest version of R Studio, however, v1.2 is not available for Red Hat 6.9.

Due to the current business environment, we will not be able to upgrade our OS to Red Hat 7+.

If possible, please suggest an alternate solution.

You might instead want to install RStudio Server, as RedHat 6 is supported as a platform there:

https://www.rstudio.com/products/rstudio/download-server/

Hi Kevin,

Thanks for providing the download link. R Studio Server version is 1.2.1335, however, we are getting the same plot error as before:

R graphics engine version 11 is not supported by this version of RStudio. The Plots tab will be disabled until a newer version of RStudio is installed.

Version of R is 3.3.0. Would upgrading R be a possible solution?

Could you please suggest a compatibility matrix for R and RStudio Server versions?

Thank you.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.