read.cdffile           package:makecdfenv           R Documentation

_R_e_a_d _a _C_D_F _f_i_l_e

_D_e_s_c_r_i_p_t_i_o_n:

     Read the data contained in a CDF file

_U_s_a_g_e:

     read.cdffile(file, compress=FALSE)

_A_r_g_u_m_e_n_t_s:

    file: the name of the CDF file

compress: whether the file is compressed or not

_D_e_t_a_i_l_s:

     This function is intended for use by 'make.cdf.env', which in turn
     is called by 'make.cdf.package'. User may not have much benefit
     from calling this function directly.

     In order to save memory, the name corresponding to each value in
     the CEL is a factor. As in R 'factor' objects cannot be also of
     type 'matrix', the names corresponding to the indices were stored
     in a vector of type 'character' called 'name.levels'. The same
     thing was done with the pbase and cbase information (more for
     consistency than by conviction that some memory could be saved
     here).

_V_a_l_u_e:

     Returns a 'Cdf-class' object.

_A_u_t_h_o_r(_s):

     Laurent Gautier (laurent@cbs.dtu.dk)

_S_e_e _A_l_s_o:

     'Cdf-class'

_E_x_a_m_p_l_e_s:

     fn <- system.file("extdata", "Hu6800.CDF.gz", package="makecdfenv")
     mycdf <- read.cdffile(fn, compress=TRUE)
     mycdf

