makeLLDB             package:PAnnBuilder             R Documentation

_C_r_e_a_t_e _a _L_a_z_y _L_o_a_d_i_n_g _D_a_t_a_b_a_s_e _f_o_r _P_a_c_k_a_g_e _D_a_t_a _F_i_l_e_s

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

     This function processes the '*.rda' files in a package's data
     subdirectory and replaces them with a lazy load database.

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

     makeLLDB(packageDir, compress = TRUE)

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

packageDir: Path to the package source directory

compress: If 'TRUE', compress the resulting lazy database.

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

     The purpose is to create a lazy load database before INSTALL time.
     This makes installation of source packages much faster because the
     lazy database has been precomputed.

     We needed this because we want the meta data packages to have lazy
     load symantics for the data objects.  Users should be able to load
     a data package using 'require' and then ask for any of the data
     environments by name.  We want lazy loading of these data sets
     because they tend to contain large environments which would take a
     long time to load if we did it at attach time.

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

     This function is called for its side-effect: creating a lazy
     loading database for a package's data files.

     Note that this function is destructive in that it removed the data
     files (the '*.rda' files) after creating the lazy database.

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

     Zhang, J., Carey, V., Gentleman, R. (2003) An extensible
     application for  assembling annotation for genomic
     data.Bioinformatics 19(1), 155-156.

