Re: [R] list.files changed in 2.7.0

2009-02-04 Thread davidr
dav...@rhotrading.com Cc: r-help@r-project.org Subject: Re: [R] list.files changed in 2.7.0 Hi, I've verified in R version 2.8.1 Patched (2008-12-22 r47296) using both Rterm and Rgui, and list.files(path=C:) list the files that are in the current working directory of C: and this *can

Re: [R] list.files changed in 2.7.0

2009-02-03 Thread Henrik Bengtsson
...@rhotrading.com Cc: r-help@r-project.org Subject: Re: [R] list.files changed in 2.7.0 And I'm not sure that list.files(C:, full.names=TRUE) returns correct pathnames, because it lists the files in the current directory (of C:), not the root of C:. There is a difference between C: and C

Re: [R] list.files changed in 2.7.0

2009-01-26 Thread davidr
: henrik.bengts...@gmail.com [mailto:henrik.bengts...@gmail.com] On Behalf Of Henrik Bengtsson Sent: Friday, January 23, 2009 8:36 PM To: David Reiner dav...@rhotrading.com Cc: r-help@r-project.org Subject: Re: [R] list.files changed in 2.7.0 And I'm not sure that list.files(C:, full.names=TRUE) returns correct

[R] list.files changed in 2.7.0

2009-01-23 Thread davidr
I just noticed a change in the behavior of list.files from 2.6.1pat to 2.7.0 (I noticed it in 2.8.1 and traced back.) Previously, if the directory ended with a slash, and full.names=TRUE, the names returned had a single slash at the end of the directory, but now there are two. I noticed since I

Re: [R] list.files changed in 2.7.0

2009-01-23 Thread Henrik Bengtsson
And I'm not sure that list.files(C:, full.names=TRUE) returns correct pathnames, because it lists the files in the current directory (of C:), not the root of C:. There is a difference between C: and C:/, and you should get: list.files(C:, full.names=TRUE) [1] C:aFile.txt [2] C:anotherFile.txt