getDefaultGGobi            package:Rggobi            R Documentation

_I_d_e_n_t_i_f_i_e_s _t_h_e _a_c_t_i_v_e/_d_e_f_a_u_l_t _g_g_o_b_i _i_n_s_t_a_n_c_e

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

     There can be multiple concurrent ggobi instances within an R
     session. One of them acts as the default to which commands are
     sent if the instance is not explicitly identified within the call
     (via the .gobi argument). 'getDefaultGGobi' functions identifies
     the index of the instance which is the default. 'setDefaultGGobi'
     tells the system which instance to treat as the default.

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

      getDefaultGGobi()
      setDefaultGGobi(which)

_A_r_g_u_m_e_n_t_s:

   which: The index  of the ggobi instance which is to become the
          default. This should be an integer between 1 and the value of
          'getNumGGobis'

_V_a_l_u_e:

     An integer vector of length 1.

_A_u_t_h_o_r(_s):

     Duncan Temple Lang

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://www.ggobi.org>

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

     'setDefaultGGobi', 'ggobi'

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

       # Create two ggobi instances
       # and find out which is default
       ggobi()
       ggobi()
       getDefaultGGobi()
       setDefaultGGobi(1)
       getDefaultGGobi()

