[R] writing a data frame in excel format

Mario Morales malfonso at telecom.com.co
Tue Apr 26 04:28:23 CEST 2005


Hello

I know how read a file in excel format into a R data frame using the
RODBC library, but I don't know how write a R data frame in excel
format. I don't understand the instructions from RODBC user manual.

To read an excel file I use.

library(RODBC);

conex<-odbcConnectExcel("fis_quim.xls");

sqlTables(conex);

data<-sqlFetch(conex,"hoja1");

Suppose I modify data and I want to save it as an excel file, How do
I do that?

Thanks for your help

Mario Alfonso Morales Rivera
Profesor Auxiliar.
Departamento de Matemáticas y Estadistica.
Universidad de Córdoba.




More information about the R-help mailing list