Skip to content
Prev 167314 / 398502 Next

Downloading Excel file & reading a range

Try this.  pattern = "EWSB" says to ignore everything in the file
before the first line containing EWSB.  It then reads the
remainder read.table style into data frame DF.

library(gdata)
v <- "http://www.statistics.gov.uk/elmr/01_09/downloads/Table1_07.xls"
DF <- read.xls(v, pattern = "EWSB", sep = ",", header = TRUE)



On Sat, Jan 17, 2009 at 9:40 AM, simeon duckworth
<simeonduckworth at gmail.com> wrote: