read.matrix              package:limma              R Documentation

_R_e_a_d _M_a_t_r_i_x _w_i_t_h _H_e_a_d_e_r_s _f_r_o_m _F_i_l_e

_D_e_s_c_r_i_p_t_i_o_n:

     Read a numeric matrix from a file assuming column headings on the
     first line. Not normally used directly by users.

_U_s_a_g_e:

     read.matrix(file,nrows=0,skip=0,...)

_A_r_g_u_m_e_n_t_s:

    file: character string giving the file name

   nrows: maximum number of rows of data to read, if greater than zero

    skip: number of lines of the data file to skip before reading data

     ...: any other arguments to be passed to 'scan'

_D_e_t_a_i_l_s:

     This function is similar to but faster than
     'read.table(file,header=TRUE)' when all the columns are numeric.

_V_a_l_u_e:

     A numeric matrix with column names.

_A_u_t_h_o_r(_s):

     Gordon Smyth

_S_e_e _A_l_s_o:

     'read.table', 'scan'.

     An overview of LIMMA functions for reading data is given in
     3.ReadingData.

