deepcopy              package:bigmemory              R Documentation

_P_r_o_d_u_c_e_s _a _p_h_y_s_i_c_a_l _c_o_p_y _o_f _a "_b_i_g._m_a_t_r_i_x"

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

     This is needed to make a duplicate of a 'big.matrix'.

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

     deepcopy(x)

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

       x: a 'big.matrix'.

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

     This is needed to make a duplicate of a 'big.matrix', because
     traditional R syntax would only copy the R object (the pointer to
     the 'big.matrix' rather than the 'big.matrix' itself).

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

     a 'big.matrix'.

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

     John W. Emerson and Michael J. Kane

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

     'big.matrix'

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

     x <- as.big.matrix(matrix(1:30, 10, 3))
     y <- deepcopy(x)
     x
     y
     head(x)
     head(y)

