toUrl

0th

Percentile

Converts a pathname into a URL

Converts a pathname into a URL starting with file://.

Usage
## S3 method for class 'default}(pathname, safe=TRUE, ...)':
toUrlundefined

pathname{A character string of the pathname to be made into a URL.}
  safe{If TRUE, certain "unsafe" characters are escaped.}
  ...{Not used.}

Returns a character string.

[object Object]



IO
programming
Aliases
  • toUrl.default
  • toUrl
Documentation reproduced from package R.utils, version 0.5.5, License: LGPL version 2.1 or newer (the releases)

Community examples

Looks like there are no examples yet.