file.show                package:base                R Documentation

_D_i_s_p_l_a_y _O_n_e _o_r _M_o_r_e _F_i_l_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     This function provides the core of the R help system, but it can
     be used for other purposes as well.

_U_s_a_g_e:

     file.show(..., header, title="R Information",
               delete.file=FALSE, pager=getOption("pager"))

_A_r_g_u_m_e_n_t_s:

     ...: one or more character vectors containing the names of the
          files to be displayed.

  header: vector (of the same length as the number of files specified
          in `...') giving a header for each file being displayed.
          Defaults to empty strings.

   title: an overall title for the display.  If a separate window is
          used for the display, `title' will be used as the window
          title.

delete.file: should the files be deleted after display? Used for
          temporary files.

   pager: the pager to be used.

_N_o_t_e:

     How the pager is implemented is system dependent. At present the
     Unix version concatentates files and displays them in the pager
     set by the `pager' option setting. However, a GUI model might be
     to put up a file in a separate window and let the user leave it up
     while R continues running.

_A_u_t_h_o_r(_s):

     Ross Ihaka, Brian Ripley.

_S_e_e _A_l_s_o:

     `file', `list.files', `help'.

_E_x_a_m_p_l_e_s:

     file.show(paste(R.home(),
         "COPYRIGHTS", sep=.Platform$file.sep))

