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()

_N_o_t_e:

     This is a primitive function.

_S_e_e _A_l_s_o:

     'source', '.First'

_E_x_a_m_p_l_e_s:

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

