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 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
|
\name{read-links}
\alias{read.links}
\title{Links Browser interface}
\description{
Uses the Links Text Browser to read a web page.
}
\usage{
read.links(url, intern = TRUE, bin = NULL, pipe = FALSE, \dots)
}
\arguments{
\item{url}{
a character string specifying the URL of the web page.
}
\item{intern}{
a logical which indicates whether to make the output
of the command an R object.
}
\item{bin}{
a string with the path of your lynx binary or NULL if lynx
binary is available in the operating system path.
}
\item{pipe}{
a logical which indicates whether the result should be returned
as a \code{pipe()} commmand.
}
\item{\dots}{
optional arguments passed to links binary.
}
}
\value{
the downloaded text.
}
\references{
Diethelm Wuertz, Yohan Chalabi, and Andrew Ellis, (2010);
\emph{Financial Market Data for R/Rmetrics},
Rmetrics eBook, Rmetrics Association and Finance Online, Zurich,
www.rmetrics.org.
}
\seealso{
Alternative text browser functions are the Rmetrics functions
\code{\link{read.lynx}} and \code{\link{read.w3m}}.
To download \code{xls} and \code{xlsx} spread sheets use the
functions \code{gdata::read.xls} and \code{xlsx::read.xlsx}
from the contributed packages \code{gdata} and \code{xlsx},
respectively.
To download text files line by line use the Rmetrics function
\code{\link{read.lines}} which wraps the function {readLines}
from R's base evironment.
To postprocess downloaded files use the Rmetrics functions
\code{\link{indexGrep}}, \code{\link{dataSplit}},
\code{\link{charvecSplit}}, and \code{\link{stringSplit}}.
}
\keyword{programming}
|