slotOp                 package:base                 R Documentation

_E_x_t_r_a_c_t _S_l_o_t_s

_D_e_s_c_r_i_p_t_i_o_n:

     Extract tbe contents of a slot in a object with a formal (S4)
     class structure.

_U_s_a_g_e:

     object@name

_A_r_g_u_m_e_n_t_s:

  object: An object from a formally defined (S4) class.

    name: The character-string name of the slot.

_D_e_t_a_i_l_s:

     This operator supports the formal classes of package 'methods',
     and is enabled only when 'methods' is loaded (as per default). 
     See 'slot' for further details.

     As from R 2.7.0 it is checked that 'object' is an S4 object (see
     'isS4'), and as from R 2.8.0 it is an error to attempt to use '@'
     on any other object. (There is an exception for name '.Data' for
     internal use only.)

     If 'name' is not a slot name, an error is thrown.

_V_a_l_u_e:

     The current contents of the slot.

_S_e_e _A_l_s_o:

     'Extract', 'slot'

