loaddatapkg              package:macat              R Documentation

_L_o_a_d _d_a_t_a _p_a_c_k_a_g_e

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

     This function loads the data package, you need for seeing the demo
     and the examples. If you have already installed the data package,
     it will simply attach it via 'library'. Otherwise it will try to
     download and install the package using functions from the package
     'reposTools'. If you have not installed 'reposTools' either, it
     will prompt you to proceed to a web page, download the package
     from there, and install it manually.

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

      loaddatapkg(mydatapkg,installDir=.libPaths()[1])

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

mydatapkg: Name of the data package to load as String

installDir: Directory, into which the new package will be installed, if
          is not already installed. Defaults to the first entry of the
          standard installation paths.

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

     Joern Toedling

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

     'library', package 'reposTools'

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

      ## Not run: loaddatapkg("stjudem") # to load the data package "stjudem"

