Hi, is anyone else getting this error? Could this be a bug?:> update.packages(ask=FALSE)Error in read.dcf(pkgpath, fields = fields) : Line starting 'unix; ...' is malformed!> sessionInfo()R version 2.8.0 RC (2008-10-12 r46696) x86_64-pc-linux-gnu locale: LC_CTYPE=en_AU.UTF-8;LC_NUMERIC=C;LC_TIME=en_AU.UTF-8;LC_COLLATE=en_AU.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_AU.UTF-8;LC_PAPER=en_AU.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_AU.UTF-8;LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] tools_2.8.0>Simon. -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician Faculty of Biological and Chemical Sciences The University of Queensland St. Lucia Queensland 4072 Australia Room 320 Goddard Building (8) T: +61 7 3365 2506 http://www.uq.edu.au/~uqsblomb email: S.Blomberg1_at_uq.edu.au Policies: 1. I will NOT analyse your data for you. 2. Your deadline is your problem. The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data. - John Tukey.
On 14 October 2008 at 09:39, Simon Blomberg wrote: | Hi, is anyone else getting this error? Could this be a bug?: | | > update.packages(ask=FALSE) | Error in read.dcf(pkgpath, fields = fields) : | Line starting 'unix; ...' is malformed! | | > sessionInfo() | R version 2.8.0 RC (2008-10-12 r46696) | x86_64-pc-linux-gnu Confirmed in plain R using the same package built this morning from last night's tarball from Denmark: Running update.packages() yields:> update.packages()--- Please select a CRAN mirror for use in this session --- Loading Tcl/Tk interface ... done Error in read.dcf(pkgpath, fields = fields) : Line starting 'unix; ...' is malformed! OTOH I don't have a problem running my 'update.r' script (included in littler as /usr/share/doc/littler/examples/update.r) which just downloaded / upgraded ten packages. It is equivalent to calling> repos <- "http://cran.r-project.org" > lib.loc <- "/usr/local/lib/R/site-library" > update.packages(repos=repos, ask=FALSE, lib.loc=lib.loc)and that sequence also works in plain R. Could someone please dig into update.packages() ? Dirk -- Three out of two people have difficulties with fractions.
On Tue, 14 Oct 2008 09:39:02 +1000, Simon Blomberg <s.blomberg1 at uq.edu.au> wrote:> Hi, is anyone else getting this error? Could this be a bug?:[...] No problems here with my local library (to avoid collisions with the Debian proper packages in my site wide library): ---<---------------cut here---------------start-------------->--- R> update.packages("/usr/local/lib/R/site-library", ask=FALSE) R> sessionInfo() R version 2.8.0 RC (2008-10-12 r46696) x86_64-pc-linux-gnu locale: LC_CTYPE=en_CA.UTF-8;LC_NUMERIC=C;LC_TIME=en_CA.UTF-8;LC_COLLATE=en_CA.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_CA.UTF-8;LC_PAPER=en_CA.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_CA.UTF-8;LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] lattice_0.17-15 loaded via a namespace (and not attached): [1] grid_2.8.0 tools_2.8.0 ---<---------------cut here---------------end---------------->--- Cheers, -- Seb