read.octave             package:foreign             R Documentation

_R_e_a_d _O_c_t_a_v_e _T_e_x_t _D_a_t_a _F_i_l_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Read a file in Octave text data format into a list.

_U_s_a_g_e:

     read.octave(file)

_A_r_g_u_m_e_n_t_s:

    file: a character string with the name of the file to read.

_D_e_t_a_i_l_s:

     This function is used to read in files in Octave text data format,
     as created by 'save -ascii' in Octave.  It knows about most of the
     common types of variables, including the standard atomic (real and
     complex scalars, matrices, and N-d arrays, strings, ranges, and
     boolean scalars and matrices) and recursive (structs, cells, and
     lists) ones, but has no guarantee to read all types.  If a type is
     not recognized, a warning indicating the unknown type is issued,
     it is attempted to skip the unknown entry, and 'NULL' is used as
     its value.  Note that this will give incorrect results, and maybe
     even errors, in the case of unknown recursive data types.

     As Octave can read MATLAB binary files, one can make the contents
     of such files available to R by using Octave's load and save (as
     text) facilities as an intermediary step.

_V_a_l_u_e:

     A list with one named component for each variable in the file.

_A_u_t_h_o_r(_s):

     Stephen Eglen stephen@gnu.org and Kurt Hornik

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://www.octave.org/>

