Skip to content

Commit

Permalink
remove running r non-interactively
Browse files Browse the repository at this point in the history
closes #21
  • Loading branch information
DE0CH committed Dec 21, 2022
1 parent d310eb8 commit 1762952
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/irace/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
import numpy as np
import pandas as pd

# FIXME: Properly initialize rpy2 to run interactively or not depending on the context. See issue https://github.com/auto-optimization/iracepy/issues/21 for more details.
import os
from rpy2.rinterface import embedded
embedded._initr(interactive=False)

from rpy2.robjects.packages import importr, PackageNotInstalledError
import rpy2.robjects as ro
Expand Down

0 comments on commit 1762952

Please sign in to comment.