Skip to content
Prev 261830 / 398502 Next

Problem using read.xls - Everything converted to factors

On Fri, Jun 3, 2011 at 10:24 AM, Sebastian Lerch <lerch at lavabit.com> wrote:
Assuming you are the gdata package then read.xls has a ... argument
which it passes to read.table so see ?read.table .  In particular,
as.is = TRUE prevents conversion to factors and any column which has
even one non-numeric will not be regarded as numeric.  You can rbind
the results from different sheets if they have same layout.