Question: For any directory in your computer, use the function list. files to obtain the contents, inclusive of files and maybe other directories. Recollect that the

For any directory in your computer, use the function list. files to obtain the contents, inclusive of files and maybe other directories. Recollect that the default list. files () function returns the contents in the working directory, and hence you need to experiment with a directory other than getwd ().

Step by Step Solution

3.46 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

In R you can use the listfiles function to obtain the contents of a directory including file... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related A Course In Statistics With R Questions!