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 / options < prev    next >
Encoding:
Text File  |  1997-04-23  |  1.3 KB  |  37 lines

  1.     
  2.     _O_p_t_i_o_n_s _S_e_t_t_i_n_g_s
  3.     
  4.          options(digits=, expressions=, width=, prompt=,
  5.                  continuation=, editor=)
  6.     
  7.     _D_e_s_c_r_i_p_t_i_o_n:
  8.     
  9.          This function allows user to set and examine a variety
  10.          of global ``options'' which affect the way in which R
  11.          computes and displays its results.  digits controls the
  12.          number of digits to print when printing numeric values.
  13.          It is a suggestion only.  expressions sets a limit on
  14.          the number of nested expressions that will be
  15.          evaluated.  This is especially important on the Macin-
  16.          tosh since stack overflow is likely if this is set too
  17.          high.
  18.     
  19.          width controls the number of characters on a line. You
  20.          may want to change this if you resize the window that R
  21.          is running in.  prompt must be a quoted string. The
  22.          expression inside the quotes will be used for the
  23.          prompt.  continuation must be a quoted string. It sets
  24.          the prompt used for lines which continue over one line.
  25.          editor sets the default text editor.  Invoking options
  26.          returns a list with the current values of the options
  27.          stored in it.
  28.     
  29.     _E_x_a_m_p_l_e_s:
  30.     
  31.          # print the current options
  32.          options()
  33.     
  34.          # set the editor
  35.          options(editor="nedit")
  36.     
  37.