Dear all
I would like to ask from dir function in R (?dir)
to give me only the files that end with .txt or .doc.

The dir functions supports the use of patterns (is not that regular expressions) for doing that.

  print(dir(i,full.names=TRUE,pattern=.....))

Could you please help me compose such a pattern?

B.R
Alex
	[[alternative HTML version deleted]]

