The R Project SVN R

Rev

Rev 72812 | Rev 88907 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 72812 Rev 73466
Line 45... Line 45...
45
  \item{method}{
45
  \item{method}{
46
    Download method, see \code{\link{download.file}}.
46
    Download method, see \code{\link{download.file}}.
47
  }
47
  }
48
  \item{type}{
48
  \item{type}{
49
    character string, indicate which type of packages: see
49
    character string, indicate which type of packages: see
50
    \code{\link{install.packages}}.
50
    \code{\link{install.packages}} and \sQuote{Details}.
51
  }
51
  }
52
  \item{\dots}{
52
  \item{\dots}{
53
    additional arguments to be passed to \code{\link{download.file}}
53
    additional arguments to be passed to \code{\link{download.file}}
54
    and \code{\link{available.packages}}.
54
    and \code{\link{available.packages}}.
55
  }
55
  }
Line 62... Line 62...
62
  i.e.\sspace{}the URL starts with \code{"file:"}, then the packages are not
62
  i.e.\sspace{}the URL starts with \code{"file:"}, then the packages are not
63
  downloaded but used directly.  Both \code{"file:"} and
63
  downloaded but used directly.  Both \code{"file:"} and
64
  \code{"file:///"} are allowed as prefixes to a file path.  Use the
64
  \code{"file:///"} are allowed as prefixes to a file path.  Use the
65
  latter only for URLs: see \code{\link{url}} for their interpretation.
65
  latter only for URLs: see \code{\link{url}} for their interpretation.
66
  (Other forms of \samp{file://} URLs are not supported.)
66
  (Other forms of \samp{file://} URLs are not supported.)
-
 
67
 
-
 
68
  For \code{download.packages}, \code{type = "both"} looks at source
-
 
69
  packages only.
67
}
70
}
68
\value{
71
\value{
69
  A two-column matrix of names and destination file names of those
72
  A two-column matrix of names and destination file names of those
70
  packages successfully downloaded.  If packages are not available or
73
  packages successfully downloaded.  If packages are not available or
71
  there is a problem with the download, suitable warnings are given.
74
  there is a problem with the download, suitable warnings are given.