I have a list of data.frames
str(bins)
List of 19217
$ 100026:'data.frame': 1 obs. of 6 variables:
..$ Sku : chr 100026
..$ Bin : chr T149C
..$ Count: int 108
..$ X: int 20
..$ Y: int 149
..$ Z: chr 3
$ 100030:'data.frame': 1 obs. of 6 variables:
...
As you can
On Fri, 2009-04-03 at 11:45 -0700, rkevinbur...@charter.net wrote:
I have a list of data.frames
str(bins)
List of 19217
$ 100026:'data.frame': 1 obs. of 6 variables:
..$ Sku : chr 100026
..$ Bin : chr T149C
..$ Count: int 108
..$ X: int 20
..$ Y: int 149
I do not think that the form [[1:3]] is legit.
ltest - list( a, b, c, d)
ltest[[1:3]]
Error in ltest[[1:3]] : recursive indexing failed at level 2
You might try with single brackets:
ltest[1:3]
[[1]]
[1] a
[[2]]
[1] b
[[3]]
[1] c
--
David Winsemius
On Apr 3, 2009, at 2:45 PM,
On Fri, Apr 3, 2009 at 1:45 PM, rkevinbur...@charter.net wrote:
I have a list of data.frames
str(bins)
List of 19217
$ 100026:'data.frame': 1 obs. of 6 variables:
..$ Sku : chr 100026
..$ Bin : chr T149C
..$ Count: int 108
..$ X : int 20
..$ Y : int 149
..$ Z : chr
David Winsemius wrote:
I do not think that the form [[1:3]] is legit.
sure it is.
ltest - list( a, b, c, d)
ltest[[1:3]]
Error in ltest[[1:3]] : recursive indexing failed at level 2
read the error message: *recursive* indexing failed. that's because
ltest[[1]] has only one element
5 matches
Mail list logo