Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

toUrl

Converts a pathname into a URL


Description

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

Usage

## Default S3 method:
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(s)

Henrik Bengtsson

See Also


R.utils

Various Programming Utilities

v2.10.1
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.