[R] Reading an upper triangular matrix
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Nov 11 08:33:10 CET 2003
On Tue, 11 Nov 2003, Prof Brian Ripley wrote:
> You supplied "what" as a list of length 2, which is not what you intended.
> I presume you read every other item on the first line.
>
> Try list("a", rep(list(0), 22-i))
Sorry, that got mangled when my cable modem went down. I tested
c(list("a"), rep(list(0), 22-i))
--
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
mailing list