In R, for example
> foo <- list(a=1,b=2,c=3)
if I type foo, get
$a
[1] 1
$b
[1] 2
$c
[1] 3
How can I look through foo to get a list of 'keys' only, in this case, (a, b, c)? Thanks all
In R, for example
> foo <- list(a=1,b=2,c=3)
if I type foo, get
$a
[1] 1
$b
[1] 2
$c
[1] 3
How can I look through foo to get a list of 'keys' only, in this case, (a, b, c)? Thanks all