[R] glob2rx function not working

mtb954@gmail.com mtb954 at gmail.com
Mon Feb 20 18:45:59 CET 2006


Dear R users,

Inspired by previous list discussion of the glob2rxc function, I am
attempting to create a new vector called TOTAL by summing all vectors
whose names begin with ABC:

TOTAL = sum(list = ls(pattern = glob2rx("ABC*")))

I'm running R 2.2.1 on Windows XP. Can anyone say what I'm missing?

Thank you, Mark




More information about the R-help mailing list