[Rd] Regular expressions

From: Dominick Samperi <dsamperi_at_decisionsynergy.com>
Date: Sat 23 Sep 2006 - 05:31:41 GMT

When I type

ls("package:base", pattern="log*")
functions with names like "floor" and
"Sys.setlocale" are included. I don't
think this is how "*" is supposed to work.

To get the desired response I have to use: ls("packge:base", pattern="logg*")

I thought "log*" means "log" followed by anything?

Thanks for any tips.

(I'm using R-alpha as of a week ago, perhaps)


R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat Sep 23 15:35:10 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 23 Sep 2006 - 10:30:08 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.