Hi! Take a look at 'read.table' which will aloow you to import your excell file as a data frame. Then, you'll be able to easily construct your vectors. Regards. On Thu, 8 May 2003, Cesar Ortega wrote:> Hi gruop, > > > > Pardon my question, but how could I import a excel file with 2 columns > to R and then work with them as vecors. > > Thanks in advance, > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help >-- Ulises M. Alvarez LAB. DE ONDAS DE CHOQUE FISICA APLICADA Y TECNOLOGIA AVANZADA UNAM umalvarez at fata.unam.mx
Hi gruop, Pardon my question, but how could I import a excel file with 2 columns to R and then work with them as vecors. Thanks in advance,
Use 'save as' in excel to create 'foo.csv' and then read.csv(file='foo.csv',sep',',header=T) (use header=T only if first row has labels, and you may need to include a path with your filename) cheers, Joel cortega at unitec.edu wrote:> Hi gruop, > > > > Pardon my question, but how could I import a excel file with 2 columns > to R and then work with them as vecors. > > Thanks in advance, > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help-- Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop at Netscape! http://shopnow.netscape.com/
Apparently Analagous Threads
- ?to calculate sth for groups defined between points in one variable (string), / value separating/ spliting variable into groups by i.e. between start, NA, NA, stop1, start2, NA, stop2
- USING MULTILEVEL PACKAGE AND WABA FUNCTION
- use one way ANOVA to select genes
- Html help does not work in Mac OSX 10.3.4
- RExcel