valid_ggobi              package:rggobi              R Documentation

_V_a_l_i_d_i_t_y _c_h_e_c_k_i_n_g

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

     Determines whether a reference to an internal ggobi object is
     valid

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

     valid_ggobi(.gobi)

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

   .gobi: an object of class 'ggobi' which refers to an internal ggobi
          instance.

_D_e_t_a_i_l_s:

     One can create multiple, independent ggobi instances within a
     single R session and one can also remove them either
     programmatically or via the GUI.  To be able to refer to these
     objects which are actually C-level internal objects, one has a
     reference or handle from an S object. Since the C level object can
     be destroyed while the S object still refers to them, this
     function allows one to check whether the internal object to which
     R refers is still in existence.

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

     'TRUE' if real object still exist, 'FALSE' otherwise

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

     Hadley Wickham <h.wickham@gmail.com>

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

     g <- ggobi(mtcars)
     valid_ggobi(g)
     close(g)
     valid_ggobi(g) 

