Skip to content
Prev 267410 / 398502 Next

Extract names from vector according to their values

Hi:

One more possibility:
[1] "Matrix"     "boot"       "class"      "cluster"    "codetools"
 [6] "foreign"    "KernSmooth" "lattice"    "MASS"       "Matrix"
[11] "mgcv"       "nlme"       "nnet"       "rpart"      "spatial"
[16] "survival"
[1] "base"      "compiler"  "datasets"  "graphics"  "grDevices" "grid"
 [7] "methods"   "splines"   "stats"     "stats4"    "tcltk"     "tools"
[13] "utils"

HTH,
Dennis

On Tue, Aug 2, 2011 at 11:21 AM, Sverre Stausland
<johnsen at fas.harvard.edu> wrote: