This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import multiprocessing as mp | |
import uuid | |
import rpy2.rinterface as ri | |
import rpy2.rinterface_lib.embedded | |
R_ID_TAG = '_rpy2_R_id_' | |
def print_setup(args): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Python 3.8.10 (default, Mar 13 2023, 10:26:41) | |
Type 'copyright', 'credits' or 'license' for more information | |
IPython 8.11.0 -- An enhanced Interactive Python. Type '?' for help. | |
In [1]: from rpy2.robjects.packages import importr | |
In [2]: reticulate = importr('reticulate') | |
WARNING: The R package "reticulate" only fixed recently | |
an issue that caused a segfault when used with rpy2: |
OlderNewer