class_docstr: Interface that runs R code
  
  >>> import nipype.interfaces.r as r
  >>> r = r.RCommand(rfile=False) # doctest: +SKIP
  >>> r.inputs.script = "Sys.getenv('USER')" # doctest: +SKIP
  >>> out = r.run()  # doctest: +SKIP
code: def _format_arg(self, name, trait_spec, value):
      if name in ["script"]:
          argstr = trait_spec.argstr
          return self._gen_r_command(argstr, value)
      return super()._format_arg(name, trait_spec, value)
  
file_path: nipype/nipype/interfaces/r.py
imports: import os
  from shutil import which
  from ..None import config
  from .base import CommandLineInputSpec, InputMultiPath, isdefined, CommandLine, traits, File, Directory
label_desc: Use image node_id 5 for calling the RCommand obj's underlying member method code with example usage: obj._format_arg(name, trait_spec, value) and returns: super, self