The R Project SVN R

Rev

Rev 81100 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 81100 Rev 90027
Line 28... Line 28...
28
  Trailing path separators are removed before dissecting the path,
28
  Trailing path separators are removed before dissecting the path,
29
  and for \code{dirname} any trailing file separators are removed
29
  and for \code{dirname} any trailing file separators are removed
30
  from the result.
30
  from the result.
31
}
31
}
32
\section{Behaviour on Windows}{
32
\section{Behaviour on Windows}{
33
  On Windows this will accept either \code{\\} or \code{/} as the path
33
  On Windows this will accept either \samp{\\} or \samp{/} as the path
34
  separator, but \code{dirname} will return a path using \code{/}
34
  separator, but \code{dirname} will return a path using \samp{/}
35
  (except if on a network share, when the leading \code{\\\\} will be
35
  (except if on a network share, when the leading \samp{\\\\} will be
36
  preserved).  Expect these only to be able to handle complete
36
  preserved).  Expect these only to be able to handle complete
37
  paths, and not for example just a network share or a drive.
37
  paths, and not for example just a network share or a drive.
38
 
38
 
39
  UTF-8-encoded path names not valid in the current locale can be used.
39
  UTF-8-encoded path names not valid in the current locale can be used.
40
}
40
}