dev.interactive          package:grDevices          R Documentation

_I_s _t_h_e _C_u_r_r_e_n_t _G_r_a_p_h_i_c_s _D_e_v_i_c_e _I_n_t_e_r_a_c_t_i_v_e ?

_D_e_s_c_r_i_p_t_i_o_n:

     Test if the current graphics device is interactive.

_U_s_a_g_e:

     dev.interactive(orNone = FALSE)

_A_r_g_u_m_e_n_t_s:

  orNone: logical; if 'TRUE', the function also returns 'TRUE' when
          '.Device == "null device"' and 'getOption("device")' is among
          the interactive devices.

_D_e_t_a_i_l_s:

     The 'X11' (Unix), 'windows' (Windows) and 'quartz' (MacOS X) are
     regarded as interactive, together with 'GTK' and 'gnome' (used
     with the GNOME GUI: 'GTK' is available in package 'gtkDevice' and
     'gnome' is expected to be in a package 'gnomeDevice') and 'JavaGD'
     (from the JGR project, see <URL:
     http://stats.math.uni-augsburg.de/JGR/>).

_V_a_l_u_e:

     'dev.interactive()' returns a logical, 'TRUE' if and only if an
     interactive (screen) device is in use.

_S_e_e _A_l_s_o:

     'Devices' for the available devices on your platform.

_E_x_a_m_p_l_e_s:

     dev.interactive # definition -> see list of "interactive" devices explicitly

