.Script                 package:base                 R Documentation

_S_c_r_i_p_t_i_n_g _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e

_D_e_s_c_r_i_p_t_i_o_n:

     Run a script through its interpreter with given arguments.

_U_s_a_g_e:

     .Script(interpreter, script, args, ...)

_A_r_g_u_m_e_n_t_s:

interpreter: a character string naming the interpreter for the script.

  script: a character string with the base file name of the script,
          which must be located in the ''interpreter'' subdirectory of
          'R_SHARE_DIR' (normally 'R_HOME/share').

    args: a character string giving the arguments to pass to the
          script.

     ...: further arguments to be passed to 'system' when invoking the
          interpreter on the script.

_N_o_t_e:

     This function is for R internal use only.

_E_x_a_m_p_l_e_s:

     ## not useful on Windows, where the help is zipped.
     .Script("perl", "massage-Examples.pl",
             paste("tools", system.file("R-ex", package = "tools")))

