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'

