Can't even load any library all of sudden?

This is for R Studio Server, as a Docker image. One moment, it was working. Now, it's no longer working.

> library(tidyverse)
Error: package or namespace load failed for \u2018tidyverse\u2019:
 .onLoad failed in loadNamespace() for 'fansi', details:
  call: options()
  error: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'NULL'

I narrowed it to the above point when I was trying to run the following (and many other libraries):

suppressPackageStartupMessages(require(tidyverse))
#ERROR R.getOption: rstudio.errors.suppressed made from non-main thread; LOGGED FROM: SEXPREC* rstudio::r::options::getOption(const string&) src/cpp/r/ROptions.cpp:83

And there is a 1 GB core file in the repository. What is happening?


Addendum: also problem with read_csv()

ERROR R.getOption: rstudio.errors.suppressed made from non-main thread; LOGGED FROM: SEXPREC* rstudio::r::options::getOption(const string&) src/cpp/r/ROptions.cpp:83

Error in stopifnot(is.list(col_types)) : 
  anyNA() applied to non-(list or vector) of type 'closure'

ERROR evaluateExpression called from thread other than main; LOGGED FROM: rstudio::core::Error rstudio::r::exec::{anonymous}::evaluateExpressionsUnsafe(SEXP, SEXP, SEXPREC**, rstudio::r::sexp::Protect*, rstudio::r::exec::{anonymous}::EvalType) src/cpp/r/RExec.cpp:140

Tried restarting, no luck
Never seen any problem remotely close to this

Perhaps it's an error introduced on an update to the Docker image? Consider spinning up the former version of the Docker image to see if that makes any difference.

For example change from:

docker run --rm -p 8787:8787 -e PASSWORD=yourpasswordhere rocker/rstudio:latest

to:

docker run --rm -p 8787:8787 -e PASSWORD=yourpasswordhere rocker/rstudio:4.1.1
1 Like

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.