Issue #583 resolved
# Install both ABI and API export RPY2_CFFI_MODE=BOTH python setup.py install export RPY2_CFFI_MODE=API # rpy2 in API mode does not work # export RPY2_CFFI_MODE=ABI # rpy2 in ABI mode works
Tracing dynamic loading of libraries shows the following as the possible root of the problem.
7236: 7236: calling init: /usr/local/packages/R/3.6/lib/R/library/methods/libs/methods.so 7236: R version 3.6.1 Patched (2019-09-06 r77160) -- "Action of the Toes" Copyright (C) 2019 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. 7236: 7236: calling init: /usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so 7236: 7236: /usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so: error: symbol lookup error: undefined symbol: gconv_end (fatal) Natural language support but running in an English locale