ange in future.
-- David
-Original Message-
From: henrik.bengts...@gmail.com [mailto:henrik.bengts...@gmail.com] On
Behalf Of Henrik Bengtsson
Sent: Tuesday, February 03, 2009 2:42 PM
To: David Reiner
Cc: r-help@r-project.org
Subject: Re: [R] list.files changed in 2.7.0
Hi,
I've ve
half Of Henrik Bengtsson
> Sent: Friday, January 23, 2009 8:36 PM
> To: David Reiner
> 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 list
riginal Message-
From: 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
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:", fu
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.t
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
5 matches
Mail list logo