[R] Reading contingency tables
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri Jan 19 08:08:21 CET 2007
On Fri, 19 Jan 2007, Prof Brian Ripley wrote:
> You cannot seek on a url() connection. Try downloading the file and reading
> it locally.
You will need to edit it to fit the ftable format as well.
> There's a bug in the function which forgets to open its temporary file: I
> will attend to that.
It was a bit worse than just that: fixed in 2.4.1 patched.
> On Thu, 18 Jan 2007, Giovanni Petris wrote:
>> I am trying to read an ftable using read.ftable, but I get the
>> following error message:
>>> jobSatTable <-
>> Error in seek(file, where = 0) : no applicable method for "seek"
>> In addition: Warning messages:
>> 1: no non-missing arguments to max; returning -Inf
>> 2: no non-missing arguments to max; returning -Inf
>> I also tried to play with the argument col.vars, to remove blank
>> lines in the file, to remove the blank in "Not
>> satisfied". Unfortunately nothing worked.
>> Can anybody give me a suggestion on how to read that table?
>> Thanks in advance,
>> platform sparc-sun-solaris2.8
>> arch sparc
>> os solaris2.8
>> system sparc, solaris2.8
>> major 2
>> minor 4.1
>> year 2006
>> month 12
>> day 18
>> svn rev 40228
>> language R
>> version.string R version 2.4.1 (2006-12-18)
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help