Change a current directory.
| # Use a backslash(\) as a directory separator, not a slash(/). setwd("H:/Quantitative Research/R") |
dir()
Show files / directories on the current directory.
| # If there is no fine on the current directory. dir() |
| character(0) |
getwd()
Show the current directory.
| getwd() |
| [1] "H:/Quantitative Research/R" |
No comments:
Post a Comment