class_docstr: A printer to convert SymPy expressions to strings of R code
class_docstr_tok: ["A","printer","to","convert","SymPy","expressions","to","strings","of","R","code"]
code: def _print_Pow(self, expr):
      if "Pow" in self.known_functions:
          return self._print_Function(expr)
      PREC = precedence(expr)
      if equal_valued(expr.exp, -1):
          return "1.0/%s" % (self.parenthesize(expr.base, PREC))
      elif equal_valued(expr.exp, 0.5):
          return "sqrt(%s)" % self._print(expr.base)
      else:
          return "%s^%s" % (
              self.parenthesize(expr.base, PREC),
              self.parenthesize(expr.exp, PREC),
          )
  
imports: from __future__ import annotations
  from typing import Any
  from sympy.core.numbers import equal_valued
  from sympy.printing.codeprinter import CodePrinter
  from sympy.printing.precedence import precedence, PRECEDENCE
  from sympy.sets.fancysets import Range
label_desc: Use image node_id 9 for calling the RCodePrinter obj's underlying member method code with example usage: obj._print_Pow(expr) and returns: self, unknown, unknown, unknown