Skip to content

Question about Unix file paths

1 message · Gabor Grothendieck

#
If it were done this way, it would be desirable to combine the dir=
and pattern= args in list.files so that you don't have to specify
the dir= arg twice.  That is:

  list.files(glob("c:/a*.txt""))

rather than

  list.files(pattern=glob("a*.txt", dir="c:/"), > Date: Wed, 26 Nov 2003 10:05:42 +0100
If it were done this way, it would be desirable to combine the dir=
and pattern= args in list.files so that you don't have to specify
the dir= arg twice.  That is:

  list.files( glob("c:/a*.txt"") )

rather than

  list.files( pattern=glob("a*.txt", dir="c:/"), dir="c:/" )