Learn R Programming

R.utils (version 2.12.3)

toUrl: Converts a pathname into a URL

Description

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

Usage

# S3 method for default
toUrl(pathname, safe=TRUE, ...)

Value

Returns a character

vector.

Arguments

pathname

A character vector of pathnames to be made into URLs.

safe

If TRUE, certain "unsafe" characters are escaped.

...

Not used.

Author

Henrik Bengtsson

See Also