| Line 24... |
Line 24... |
| 24 |
It can also be used for environment paths such as \env{PATH} and
|
24 |
It can also be used for environment paths such as \env{PATH} and
|
| 25 |
\env{R_LIBS} with \code{fsep = .Platform$path.sep}.
|
25 |
\env{R_LIBS} with \code{fsep = .Platform$path.sep}.
|
| 26 |
|
26 |
|
| 27 |
Trailing path separators are invalid for Windows file paths apart from
|
27 |
Trailing path separators are invalid for Windows file paths apart from
|
| 28 |
\file{/} and \file{d:/} (although some functions/utilities do accept
|
28 |
\file{/} and \file{d:/} (although some functions/utilities do accept
|
| 29 |
them), so a trailing \code{/} or \code{\\} is removed there.
|
29 |
them), so a trailing \samp{/} or \samp{\\} is removed there.
|
| 30 |
}
|
30 |
}
|
| 31 |
\value{
|
31 |
\value{
|
| 32 |
A character vector of the arguments concatenated term-by-term and
|
32 |
A character vector of the arguments concatenated term-by-term and
|
| 33 |
separated by \code{fsep} if all arguments have positive length;
|
33 |
separated by \code{fsep} if all arguments have positive length;
|
| 34 |
otherwise, an empty character vector (unlike \code{\link{paste}}).
|
34 |
otherwise, an empty character vector (unlike \code{\link{paste}}).
|
| Line 40... |
Line 40... |
| 40 |
}
|
40 |
}
|
| 41 |
\seealso{
|
41 |
\seealso{
|
| 42 |
\code{\link{basename}}, \code{\link{normalizePath}}, \code{\link{path.expand}}.
|
42 |
\code{\link{basename}}, \code{\link{normalizePath}}, \code{\link{path.expand}}.
|
| 43 |
}
|
43 |
}
|
| 44 |
\note{
|
44 |
\note{
|
| 45 |
The components are by default separated by \code{/}
|
45 |
The components are by default separated by \samp{/}
|
| 46 |
(not \code{\\}) on Windows.
|
46 |
(not \samp{\\}) on Windows.
|
| 47 |
}
|
47 |
}
|
| 48 |
\keyword{file}
|
48 |
\keyword{file}
|