code: def loader_func(**kwargs):
      if not PY3:
          raise EnvironmentError(
              "In order to use the R you must be on python3!"
          )
      try:
          import rpy2.robjects as ro
          from rpy2.robjects.packages import importr
          from rpy2.robjects import pandas2ri
  
          from rpy2.robjects.conversion import localconverter
      except ImportError:
          raise ImportError(
              "In order to use the R loader you must install rpy2!"
          )
  
      pandas2ri.activate()
      base = importr("base")
      path = kwargs.pop("path")
      base.load(path)
      with localconverter(ro.default_converter + pandas2ri.converter):
          dataset = kwargs.pop("dataset", None) or base.ls()[0]
          df = ro.conversion.rpy2py(base.get(dataset))
          return df
  
imports: from six import PY3
  from dtale.app import show
  from dtale.cli.clickutils import get_loader_options
label_desc: Use image node_id 2 for calling a global function with example usage: loader_func() and returns: df