Re: [R] by inconsistently strips class - with fix

2008-04-16 Thread Prof Brian Ripley
Unfortunately your proposed change changes the type of the output: simplification is intended in many applications of by(). Before: > str(by(mytimes$date[1], mytimes$set[1], function(x)x)) by [, 1] 1.21e+09 - attr(*, "dimnames")=List of 1 ..$ mytimes$set[1]: chr "1" - attr(*, "call")= l

[R] A problem with jointprior (Deal package)

2008-04-16 Thread Suhaila Zainudin
Greetings all, I am trying to use Deal to learn a Bayesian Network for discrete data. I came across the following problem with jointprior function. >library(deal) > a <- read.csv("prepared.cluster1.csv") > fit <- network(a) > fit.prior <- jointprior(fit) Error in array(1, Dim) : 'dim' specifies t

Re: [R] package update

2008-04-16 Thread Prof Brian Ripley
On Thu, 17 Apr 2008, Phil taylor wrote: > Hi folks, > > when trying to update packages in version 2.6.1 I recuieve the following > error messages: Actually, they are *warnings*. > Warning: unable to access index for repository > http://www.sourcekeg.co.uk/cran/bin/windows/contrib/2.6 > Warning:

<    1   2