Learn R quick and diRty 3 - File Systems and Directories

preview_player
Показать описание
Working with file systems and directories with R. We will be using three functions listed below. Lets do this!

getwd()
dir()
setwd() .

Рекомендации по теме
Комментарии
Автор

You are one of the best presenter, I am enjoying R ..its easy and Fun !!!
Thanks
SiD

Thesid
Автор

Ed, you probably know this but if the directory as given by getwd() is "C:/Users/mybringback/Documents", making the sub-directory named "mbb_py" the working directory only requires you to run

setwd("mbb_py")

R will automatically understand that this is in the current working directory.

gueyenono
Автор

In order to view the content of the current working directory, Ed rightly used the command:

dir()

It is also possible to use:

list.files()

It's always good to have options :)

gueyenono