.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")))

