Problem in Loading Namespace of 'org.Hs.eg.db' Package in Rstudio Server - error: $ operator is invalid for atomic vectors

Hi, I have a problem in calling 'org.Hs.eg.db' package in my Rstudio Server.
When I load Name space of the package, it generates error as shown below.

loadNamespace('org.Hs.eg.db') 

Error: .onLoad failed in loadNamespace() for 'org.Hs.eg.db', details:
call: l$contains
error: $ operator is invalid for atomic vectors

It's bit strange since when I load name space at terminal, it did not create any problem

loadNamespace('org.Hs.eg.db') 

<environment: namespace:org.Hs.eg.db>

I tried and searched solutions but I could not found any.
My session info is shown below. If you have any suggestion, plz let me know.
Thank you in advance.

sessioninfo::session_info()

I found the same issue reported in rstudio github issue.

The reason presented there was problem in communicating Rsqlite package and Rstudio.
The simple solution presented was disabling certain option as shown below.

options(connectionObserver = NULL)

Ref: Issue with annotation database connection *only* in RStudio · Issue #9219 · rstudio/rstudio · GitHub

I don't know whether this is real solution or not but If somebody have the same problem, plz refer to this.

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.