sys                  package:Hmisc                  R Documentation

_R_u_n _U_n_i_x _o_r _D_o_s _D_e_p_e_n_d_i_n_g _o_n _S_y_s_t_e_m

_D_e_s_c_r_i_p_t_i_o_n:

     Runs 'unix' or 'dos' depending on the current operating system. 
     For R, just runs 'system' with optional concatenation of first two
     arguments which are assumed named 'command' and 'text'.

_U_s_a_g_e:

     sys(command, text=NULL, output=TRUE)
     # S-Plus: sys(..., minimized=FALSE)

_A_r_g_u_m_e_n_t_s:

 command: system command to execute 

    text: text to concatenate to system command, if any (typically
          options or file names or both) 

  output: set to 'FALSE' to not return output of command as a character
          vector 

_V_a_l_u_e:

     see 'unix' or 'dos'

_S_i_d_e _E_f_f_e_c_t_s:

     executes system commands

_S_e_e _A_l_s_o:

     'unix', 'system'

