read.xport package:foreign R Documentation _R_e_a_d _a _S_A_S _X_P_O_R_T _F_o_r_m_a_t _L_i_b_r_a_r_y _D_e_s_c_r_i_p_t_i_o_n: Reads a file as a SAS XPORT format library and returns a list of data.frames. _U_s_a_g_e: read.xport(file) _A_r_g_u_m_e_n_t_s: file: character variable with the name of the file to read. The file must be in SAS XPORT format. _V_a_l_u_e: If there is a more than one dataset in the XPORT format library, a named list of data frames, otherwise a data frame. The columns of the data frames will be either numeric (corresponding to numeric in SAS) or factor (corresponding to character in SAS). All SAS numeric missing values (including special missing values represented by '._', '.A' to '.Z' by SAS) are mapped to R 'NA'. Trailing blanks are removed from character columns before conversion to a factor. Some sources claim that character missing values in SAS are represented by '' '' or '''': these are not treated as R missing values. _A_u_t_h_o_r(_s): Saikat DebRoy saikat@stat.wisc.edu _R_e_f_e_r_e_n_c_e_s: SAS Technical Support document TS-140: ``The Record Layout of a Data Set in SAS Transport (XPORT) Format'' available at . _S_e_e _A_l_s_o: 'lookup.xport' _E_x_a_m_p_l_e_s: ## Not run: read.xport("transport") ## End(Not run)