1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% toUrl.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{toUrl}
\alias{toUrl.default}
\alias{toUrl}
\title{Converts a pathname into a URL}
\description{
Converts a pathname into a URL starting with \code{file://}.
}
\usage{
\method{toUrl}{default}(pathname, safe=TRUE, ...)
}
\arguments{
\item{pathname}{A \code{\link[base]{character}} \code{\link[base]{vector}} of pathnames to be made into URLs.}
\item{safe}{If \code{\link[base:logical]{TRUE}}, certain "unsafe" characters are escaped.}
\item{...}{Not used.}
}
\value{
Returns a \code{\link[base]{character}} \code{\link[base]{vector}}.
}
\author{Henrik Bengtsson}
\seealso{
\code{\link[utils]{URLencode}}.
}
\keyword{IO}
\keyword{programming}
|