Re: [R] problem with dir() in R-2.1.0?

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Tue 26 Apr 2005 - 11:53:12 EST

On 4/25/05, Ye, Bin <yeb@karmanos.org> wrote:
>
> Hi,
>
> I always use dir(pattern="*.RData") in all the earlier version of R (1.8,
> 1.9, 2.0.1).
>
> Error messege is as below:
> Error in list.files(path, pattern, all.files, full.names, recursive) :
> invalid 'pattern' regular expression
>
> Does anyone have an idea what's going on? How should I define the pattern
> I need in R-2.1.0?
>
> Thanks!
>
> Bin

  Check out sfsmisc::glob2rx for a nifty function that will convert glob style wildcards to regular expressions. I have long th

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Apr 26 11:57:31 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:26 EST