code: def manual_request(solver_name):
      """Emulates :func:`optunity.manual`."""
      if len(solver_name) == 0:
          solver_name = None
      try:
          manual, solver_names = optunity.api._manual_lines(solver_name)
      except (ValueError, KeyError):
          msg = {
              "error_msg": "Solver does not exist ("
              + solver_name
              + ")."
          }
          comm.send(comm.json_encode(msg))
          print(startup_msg, file=sys.stderr)
          exit(1)
      except EOFError:
          msg = {"error_msg": "Broken pipe."}
          comm.send(comm.json_encode(msg))
          exit(1)
      msg = {"manual": manual, "solver_names": solver_names}
      comm.send(comm.json_encode(msg))
      exit(0)
  
file_path: optunity/wrappers/R/inst/optunity/standalone.py
imports: from __future__ import print_function
  import sys
  import keyword
  from .None import communication
  from .None import functions
  import optunity
label_desc: Use image node_id 2 for calling a global function with example usage: manual_request(solver_name) without return types