Re: [R] error message error

2010-02-15 Thread Uwe Ligges
On 15.02.2010 06:34, Roslina Zakaria wrote: Hi r-users, I hope somebody can help me to understand the error message. Here is my code; ## Newton iteration newton_gam<- function(z) { n<- length(z) r<- runif(n) tol<- 1E-6 cdf<- vector(length=n, mode="numeric") fprime<- vector(length

[R] error message error

2010-02-14 Thread Roslina Zakaria
Hi r-users,   I hope somebody can help me to understand the error message.  Here is my code; ## Newton iteration newton_gam <- function(z) { n   <- length(z)   r   <- runif(n)   tol <- 1E-6   cdf <- vector(length=n, mode="numeric")   fprime <- vector(length=n, mode="numeric")   f   <- vector(lengt

[R] Error Message: Error in dim(data) <- dim : attempt to set an attribute on NULL

2009-02-12 Thread Sally
I have the following code, from which I get the following error message: Error in dim(data) <- dim : attempt to set an attribute on NULL I think the error is coming from the part of my code in BOLD RED. The script works fine until then. #Load libraries source("http://bioconductor.org/biocL