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

(Last Updated On: May 29, 2012)

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

This entry was posted in R on by .

About Bryan D

I am part of a company called QuantLabs.Net This is specifically a company with a high profile blog about technology, trading, financial, investment, quant, etc. It posts things on how to do job interviews with large companies like Morgan Stanley, Bloomberg, Citibank, and IBM. It also posts different unique tips and tricks on Java, C++, or C programming. It posts about different techniques in learning about Matlab and building models or strategies. There is a lot here if you are into venturing into the financial world like quant or technical analysis. It also discusses the future generation of trading and programming Specialties:C++, Java, C#, quant, models, strategies, technical analysis, linux, windows