list

Computing with R : Listing Files in a Directory

0:00
Toggle fullscreen Fullscreen button

Sharing buttons:

in this presentation we will look at

listing files in a directory and folder

so to speak so the first thing we're

going to consider is suppose we require

a list of files in a particular

directory now for the sake of brevity in

the first instance I'm going to use just

the working folder just to save me

typing it out anyway the command I'm

going to use is called list dot files so

it actually just works in this sort of

basis here you just name the folder and

what it will do is will list the files

in that folder so guess working

directory let's just have a look at the

name of my directory there we have it

there and essentially it's just to save

me typing that out then I'm going to

just type in cache working directory

there we have there those are the six

files in my current working directory I