How to list files and get and set current working directory in R

Bryan D

Bryan D

How to list files and get and set current working directory in R

getwd returns an absolute filepath representing the current working directory of the R process; setwd(dir) is used to set the working directory to dir.

Usage

getwd()

setwd(dir)

list.files()

Look at to understand R functions and how to maniupulate their objects

http://stackoverflow.com/questions/9036059/r-execute-function-as-if-it-were-entered-in-an-interactive-session

Related Articles

Wishlist Member WooCommerce Plus - Sell Your Membership Products With WooCommerce The Right Way .

Powered by WishList Member - Membership Software