Expand a path name, for example by replacing a leading tilde by the user's home directory (if defined on that platform).
展开路径名称,例如通过更换领导波浪线由用户的主目录(如果该平台上的定义)。
用法----------Usage----------
path.expand(path)
参数----------Arguments----------
参数:path
character vector containing one or more path names.
特征向量包含一个或多个路径名。
Details
详情----------Details----------
The definition of the "home" directory is in the "rw-FAQ" Q2.14: it is taken from the R_USER environment variable when path.expand is first called in a session.
家目录下的定义是在rw-FAQQ2.14:它是从R_USER环境变量的时候path.expand第一次被称为会话。