Skip to content
Prev 169125 / 398506 Next

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* be changed by setwd(), that is, it does not just depend on
which directory you started R in.  The command

list.files(path="C:/")

always lists the files under the root of C:.

/Henrik
On Mon, Jan 26, 2009 at 7:48 AM, <davidr at rhotrading.com> wrote: