home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Educational / R-0.49-MI / R-0.49-I / help / base / formals < prev    next >
Encoding:
Text File  |  1997-04-23  |  689 b   |  26 lines

  1.     
  2.     _A_c_c_e_s_s _t_o _t_h_e _F_o_r_m_a_l _A_r_g_u_m_e_n_t_s
  3.     
  4.          formals(fun=sys.function(sys.parent()))
  5.     
  6.     _V_a_l_u_e:
  7.     
  8.          If fun is a function then the formal argument list to
  9.          that function is returned.  If fun is a character
  10.          string then the function with that name is found and
  11.          used.  If fun is not specified then the function cal-
  12.          ling formals is used.
  13.     
  14.          It is currently not possible to set the formals of a
  15.          function.
  16.     
  17.     _S_e_e _A_l_s_o:
  18.     
  19.          args
  20.     
  21.     _E_x_a_m_p_l_e_s:
  22.     
  23.          length(formals(lm))      # the number of formal arguments
  24.          names(formals(boxplot))  # formal arguments names
  25.     
  26.