interactive               package:base               R Documentation

_I_s _R _R_u_n_n_i_n_g _I_n_t_e_r_a_c_t_i_v_e_l_y?

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

     Return 'TRUE' when R is being used interactively and 'FALSE'
     otherwise.

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

     interactive()

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

     'source', '.First'

_E_x_a_m_p_l_e_s:

      .First <- function() if(interactive()) x11()

