hpages at fhcrc.org
2006-Sep-08 23:35 UTC
[Rd] install.packages(,type="source") broken on Windows
Hi, 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. Options: -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 --with-package-versions 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 c:\temp\RtmpoKYvqb\downloaded_packages updating HTML package descriptions H.
Peter Dalgaard
2006-Sep-09 00:15 UTC
[Rd] install.packages(,type="source") broken on Windows
hpages at fhcrc.org writes:> Hi, > > On Windows, 'install.packages(,type="source")' displays the same output > than 'R CMD INSTALL --help' and doesn't install anything...Yes. The culprit is ------------------------------------------------------------------------ r39127 | urbaneks | 2006-09-05 20:45:00 +0200 (Tue, 05 Sep 2006) | 1 line Bugfix: install.packages ignored unnamed configure.args ------------------------------------------------------------------------ which forgets to check whether there are any args to name. (There is a generic issue in that available.packages has a configure.args argument which is passed on to --configure-args in the INSTALL script: The Windows INSTALL doesn't understand the argument since configure doesn't work on Windows. However, things should work when no such arguments are passed.) -- O__ ---- Peter Dalgaard ?ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907