Python 3.8.12 (default, Apr 17 2022, 10:38:39)
[GCC 6.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import rpy2.robjects as robj
Error: package or namespace load failed for ‘methods’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/share/work/biosoft/R/R-v4.0.3/lib64/R/library/methods/libs/methods.so':
/share/work/biosoft/R/R-v4.0.3/lib64/R/library/methods/libs/methods.so: undefined symbol: R_dot_Generic
Error: package or namespace load failed for ‘utils’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/share/work/biosoft/R/R-v4.0.3/lib64/R/library/utils/libs/utils.so':
/share/work/biosoft/R/R-v4.0.3/lib64/R/library/utils/libs/utils.so: undefined symbol: ALTREP_LENGTH
Error: package or namespace load failed for ‘grDevices’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/share/work/biosoft/R/R-v4.0.3/lib64/R/library/grDevices/libs/grDevices.so':
/share/work/biosoft/R/R-v4.0.3/lib64/R/library/grDevices/libs/grDevices.so: undefined symbol: ALTREP_LENGTH
Error: package or namespace load failed for ‘graphics’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/share/work/biosoft/R/R-v4.0.3/lib64/R/library/grDevices/libs/grDevices.so':
/share/work/biosoft/R/R-v4.0.3/lib64/R/library/grDevices/libs/grDevices.so: undefined symbol: ALTREP_LENGTH
Error: package or namespace load failed for ‘stats’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/share/work/biosoft/R/R-v4.0.3/lib64/R/library/grDevices/libs/grDevices.so':
/share/work/biosoft/R/R-v4.0.3/lib64/R/library/grDevices/libs/grDevices.so: undefined symbol: ALTREP_LENGTH
Error: package or namespace load failed for ‘methods’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/share/work/biosoft/R/R-v4.0.3/lib64/R/library/methods/libs/methods.so':
/share/work/biosoft/R/R-v4.0.3/lib64/R/library/methods/libs/methods.so: undefined symbol: R_dot_Generic
During startup - Warning messages:
1: package "methods" in options("defaultPackages") was not found
2: package ‘utils’ in options("defaultPackages") was not found
3: package ‘grDevices’ in options("defaultPackages") was not found
4: package ‘graphics’ in options("defaultPackages") was not found
5: package ‘stats’ in options("defaultPackages") was not found
6: package ‘methods’ in options("defaultPackages") was not found
R[write to console]: Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/share/work/biosoft/R/R-v4.0.3/lib64/R/library/methods/libs/methods.so':
/share/work/biosoft/R/R-v4.0.3/lib64/R/library/methods/libs/methods.so: undefined symbol: R_dot_Generic
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/share/work/biosoft/python/Python3/lib/python3.8/site-packages/rpy2/robjects/__init__.py", line 18, in <module>
from rpy2.robjects.robject import RObjectMixin, RObject
File "/share/work/biosoft/python/Python3/lib/python3.8/site-packages/rpy2/robjects/robject.py", line 86, in <module>
class RObjectMixin(abc.ABC):
File "/share/work/biosoft/python/Python3/lib/python3.8/site-packages/rpy2/robjects/robject.py", line 98, in RObjectMixin
__show = _get_exported_value('methods', 'show')
File "/share/work/biosoft/python/Python3/lib/python3.8/site-packages/rpy2/rinterface_lib/conversion.py", line 45, in _
cdata = function(*args, **kwargs)
File "/share/work/biosoft/python/Python3/lib/python3.8/site-packages/rpy2/rinterface.py", line 810, in __call__
raise embedded.RRuntimeError(_rinterface._geterrmessage())
rpy2.rinterface_lib.embedded.RRuntimeError: Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/share/work/biosoft/R/R-v4.0.3/lib64/R/library/methods/libs/methods.so':
/share/work/biosoft/R/R-v4.0.3/lib64/R/library/methods/libs/methods.so: undefined symbol: R_dot_Generic