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

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

Arguments

pathname

A character vector of pathnames to be made into URLs.

safe

If TRUE, certain "unsafe" characters are escaped.

...

Not used.

Value

Returns a character

vector.

Author

Henrik Bengtsson

See also