file.edit               package:utils               R Documentation

_E_d_i_t _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:

     Edit one or more files in a text editor.

_U_s_a_g_e:

     file.edit(..., title = file, editor = getOption("editor"))

_A_r_g_u_m_e_n_t_s:

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

   title: the title to use in the editor; defaults to the filename.

  editor: the text editor to be used.

_D_e_t_a_i_l_s:

     The behaviour of this function is very system dependent. 
     Currently files can be opened  only one at a time on Unix; on
     Windows, the internal editor allows multiple files to be opened,
     but has a limit of 50 simultaneous edit windows.

     The 'title' argument is used for the window caption in Windows,
     and is ignored on other platforms.

_S_e_e _A_l_s_o:

     'files', 'file.show', 'edit', 'fix',

_E_x_a_m_p_l_e_s:

     ## Not run: 
     # open two R scripts for editing
     file.edit("script1.R", "script2.R")
     ## End(Not run)

