Skip to content
Back to formatted view

Raw Message

Message-ID: <1330286313713-4422812.post@n4.nabble.com>
Date: 2012-02-26T19:58:33Z
From: Ivette
Subject: read separate columns from an Excel sheet

Hello,

Lets suppose I have an Excel sheet with 9 columns of data. How to tell R to
read for example column 1 and 7 of this sheet? I know only the usual code
without specifying columns:

library(gdata)
a <- read.xls("file.xls", sheet=1)                # reads in the 1st sheet

Thank you.

--
View this message in context: http://r.789695.n4.nabble.com/read-separate-columns-from-an-Excel-sheet-tp4422812p4422812.html
Sent from the R help mailing list archive at Nabble.com.