| Line 1... |
Line 1... |
| 1 |
% File src/library/base/man/getwd.Rd
|
1 |
% File src/library/base/man/getwd.Rd
|
| 2 |
% Part of the R package, https://www.R-project.org
|
2 |
% Part of the R package, https://www.R-project.org
|
| 3 |
% Copyright 1995-2011 R Core Team
|
3 |
% Copyright 1995-2019 R Core Team
|
| 4 |
% Distributed under GPL 2 or later
|
4 |
% Distributed under GPL 2 or later
|
| 5 |
|
5 |
|
| 6 |
\name{getwd}
|
6 |
\name{getwd}
|
| 7 |
\alias{getwd}
|
7 |
\alias{getwd}
|
| 8 |
\alias{setwd}
|
8 |
\alias{setwd}
|
| Line 17... |
Line 17... |
| 17 |
\description{
|
17 |
\description{
|
| 18 |
\code{getwd} returns an absolute filepath representing the current
|
18 |
\code{getwd} returns an absolute filepath representing the current
|
| 19 |
working directory of the \R process; \code{setwd(dir)} is used to set
|
19 |
working directory of the \R process; \code{setwd(dir)} is used to set
|
| 20 |
the working directory to \code{dir}.
|
20 |
the working directory to \code{dir}.
|
| 21 |
}
|
21 |
}
|
| - |
|
22 |
\details{
|
| - |
|
23 |
See \link{files} for how file paths with marked encodings are interpreted.
|
| - |
|
24 |
}
|
| 22 |
\note{
|
25 |
\note{
|
| 23 |
Note that the return value is said to be \strong{an} absolute
|
26 |
Note that the return value is said to be \strong{an} absolute
|
| 24 |
filepath: there can be more than one representation of the path to a
|
27 |
filepath: there can be more than one representation of the path to a
|
| 25 |
directory and on some OSes the value returned can differ after
|
28 |
directory and on some OSes the value returned can differ after
|
| 26 |
changing directories and changing back to the same directory (for
|
29 |
changing directories and changing back to the same directory (for
|