INNER CODE UNIT · Python
__exit__
briscverse/ryp · ryp.py:33
def __exit__(self, *_):
if threading.current_thread() is threading.main_thread():
signal.signal(signal.SIGINT, signal.default_int_handler)
def _get_rlib_path(R_home: str) -> str:
"""
Get the path to the R shared library.
Based on the rpy2.situation.get_rlib_path() function.
Args:
R_home: the path to the R home directory
Returns:
The path to the R shared library.
"""
system = platform.system()