[Rd] install.packages(,type="source") broken on Windows

hpages at fhcrc.org hpages at fhcrc.org
Sat Sep 9 01:35:22 CEST 2006


On Windows, 'install.packages(,type="source")' displays the same output
than 'R CMD INSTALL --help' and doesn't install anything...

This is with R version 2.4.0 alpha (2006-09-06 r39158).

> install.packages('cat',type='source')
trying URL 'http://cran.cnr.Berkeley.edu/src/contrib/cat_0.0-6.tar.gz'
Content type 'application/x-gzip' length 22914 bytes
opened URL
downloaded 22Kb

Unknown option: configure-args
Usage: R CMD INSTALL [options] pkgs

Install the add-on packages specified by pkgs into the default R library
tree (/library) or the tree specified via '--library'.  The
elements of pkgs can be relative or absolute paths to directories with
the package (bundle) sources, or to gzipped package 'tar' archives.
Then optionally pack the installed package into a zip file.

  -h, --help            print short help message and exit
  -v, --version         print version info and exit
  -c, --clean           remove all files created during installation

  --fake                do minimal install for testing purposes
  --unsafe              install on top of any existing installation
  -d, --debug           [x] turn on shell and build-help debugging
  -l, --library=LIB     install packages to library tree LIB
  --docs=TYPE           type(s) of documentation to build and install
                        allow for multiple versions of the same package
  --use-zip-data        collect data files in zip archive
  --use-zip-help        collect help and examples into zip archives
  --use-zip             combine '--use-zip-data' and '--use-zip-help'
  --auto-zip            select whether to zip automatically
  --build               zip-up the installation.  Implies --auto-zip

TYPE can be "none" or "normal" or "chm" (the default) or "all", or
  a comma-separated list of one or more of
  'txt', 'html', 'latex', "example' and 'chm'.

Report bugs to <r-bugs at r-project.org>.

The downloaded packages are in
updating HTML package descriptions


More information about the R-devel mailing list