[Rd] error in install.packages() (PR#14042)

From: <michael.m.spiegel_at_gmail.com>
Date: Wed, 04 Nov 2009 17:05:10 +0100 (CET)


Full_Name: Michael Spiegel
Version: 2.10
OS: Windows Vista
Submission from: (NULL) (76.104.24.156)

The following error is produced when attempting to call install.packages. Here is the results of the traceback:

> source('http://openmx.psyc.virginia.edu/getOpenMx.R')
Error in f(res) : invalid subscript type 'list'
> traceback()

7: f(res)
6: available.packages(contriburl = contriburl, method = method)
5: .install.winbinary(pkgs = pkgs, lib = lib, contriburl = contriburl, 
       method = method, available = available, destdir = destdir, 
       dependencies = dependencies, ...)
4: install.packages(pkgs = c("OpenMx"), repos = repos)
3: eval.with.vis(expr, envir, enclos)

2: eval.with.vis(ei, envir)
1: source("
http://openmx.psyc.virginia.edu/getOpenMx.R")

I've tracked the error down to somewhere in available.packages defined in src\library\utils\R\packages.R. I am guessing that the error in version 2.10 has something to do with the change: "available.packages() gains a 'filters' argument for specifying the filtering operations performed on the packages found in the repositories."



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed 04 Nov 2009 - 16:24:39 GMT

This archive was generated by hypermail 2.2.0 : Wed 04 Nov 2009 - 17:20:21 GMT