getVignetteHeader           package:DynDoc           R Documentation

_A _f_u_n_c_t_i_o_n _t_o _r_e_a_d _v_i_g_n_e_t_t_e _h_e_a_d_e_r _i_n_f_o_r_m_a_t_i_o_n

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

     Given a vignette filename, will read in the vignette header
     metadata.

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

     getVignetteHeader(vig, field)
     hasVigHeaderField(vig, field="VignetteIndexEntry")

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

     vig: Vignette filename

   field: A specific field to extract

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

     The 'getVignetteHeader' function will extract the metadata from a
     vignette file and return it as a named list, where the names of
     the list elements correspond to the metadata fields, and the
     elements themselves the values.  If a specific field is desired,
     it can be specified with the 'field' argument.

     The 'hasVigHeaderField' function is a simple wrapper around
     'getVignetteHeader' and will most likely be removed in the very
     near future.  It just is a boolean to report if a given header
     field exists or not.

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

     Jeff Gentry

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

        ## !! Need a working vignette somewhere to work this on

