Re: [R] error in R program

2014-06-08 Thread Charles Determan Jr
Firstly, you both need to subscribe to the mailing list. Please go to https://stat.ethz.ch/mailman/listinfo/r-help and subscribe. In this way you will also get emails from people asking questions and may benefit or even contribute help to another. There are several other specialty help lists tha

Re: [R] error in R program

2014-06-07 Thread Charles Determan Jr
REPLY TO ALL FOR THE R-HELP LIST!!! I apologize for the bluntness but you must realize that it is critical if you desire to get help on the mailing list beyond a single person your question must actually get to the mailing list. My expertise only goes so far and there is an infinitely larger comm

Re: [R] error in R program

2014-06-05 Thread Charles Determan Jr
Hello again Thanoon, Once again, you should send these request not to me but to the r-help list. You are far more likely to get help from the greater R community than just me. Furthermore, it is not entirely clear where your error is. It is courteous to provide only the code that is run up to th

Re: [R] error in r

2014-05-03 Thread Duncan Murdoch
On 03/05/2014, 11:49 AM, thanoon younis wrote: dear all members i have error in the code below "Error in Y[i, 9] = 0.9 * XI[i, 2] + eps[9] : subscript out of bounds" is there anyone helps me please. You created Y with 8 columns, then you refer to column 9. Duncan Murdoch many thanks in adva

[R] error in r

2014-05-03 Thread thanoon younis
dear all members i have error in the code below "Error in Y[i, 9] = 0.9 * XI[i, 2] + eps[9] : subscript out of bounds" is there anyone helps me please. many thanks in advance thanoon llibrary(mvtnorm) #Load mvtnorm package library(R2WinBUGS) #Load R2WinBUGS package N=500

[R] Error in R (ENFA) : Error in eigen(Se) : infinite or missing values in 'x'

2013-02-11 Thread Leandro Abade
Dear all, I am running an Ecological Niche Factor Analysis in R but I am stuck with a problem. As soon as I ask the software to compute the ENFA, I get the following error message: Error in eigen(Se) : infinite or missing values in 'x' Does anyone know what could be wrong. I do not have missing

Re: [R] error in R CMD build when editing c function in R package

2012-01-31 Thread Prof Brian Ripley
You are using Mac OS X without telling us! See the appropriate FAQ at http://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html And please post Mac-specific questions on R-sig-mac . On 31/01/2012 06:21, moli wrote: I have modified a C function in the `phmm` package. Now I want to rebuild the packa

[R] error in R CMD build when editing c function in R package

2012-01-31 Thread moli
I have modified a C function in the `phmm` package. Now I want to rebuild the package, but the following error occurred. How can I fix the error? $ cd ~/Desktop/phmmw $ R CMD build phmm * checking for file ‘phmm/DESCRIPTION’ ... OK * preparing ‘phmm’: * checking DESCRIPTION

[R] Error in R-SVM help:

2011-02-20 Thread Angel Russo
Greetings: I am trying to use your R code for R-SVM as follows. Why it dosen't print the LOO.error and the list of features? http://www.stanford.edu/group/wonglab/RSVMpage/R-SVM.html My training data as follows contains 142 cases and 264 features. instead I get en error as below "invalid 'digits

Re: [R] error in R

2010-03-03 Thread Paul Hiemstra
Hi Frederik, There is no need for the double for loop: b[,5] <- sin(runif(5,0,2*pi)) As to your question, check the values i and k take. In the first iteration of the second loop k == 0, and R does not support an index equal to 0. The problem is in 1:n-1, this gives 0- 4, in stead do 1:(n-1)

[R] error in R

2010-03-03 Thread frederik vanhaelst
Hi, I want put some values in the last column of a matrix b. But every time again there comes the same error on the screen... > b <- array(0, c(5,5)) > m<-matrix(runif(20,0,2*pi),5) # the sinus of this kind of values i want put in the last column of b, m is a 5*4 matrix > n<-5 > for(i in

Re: [R] Error in R CMD check 2.8.1

2009-04-11 Thread Duncan Murdoch
On 11/04/2009 12:33 PM, Michael Friendly wrote: Env: R 2.8.1, Win Xp, Eclipse/StatET In a .Rd file, I have an example containing the lines: # calculate Y M, using polynomial contrasts trends <- as.matrix(VocabGrowth) %*% poly(8:11, degree=3) colnames(trends)<- c("Linear", "Quad", "Cubic") [

[R] Error in R CMD check 2.8.1

2009-04-11 Thread Michael Friendly
Env: R 2.8.1, Win Xp, Eclipse/StatET In a .Rd file, I have an example containing the lines: # calculate Y M, using polynomial contrasts trends <- as.matrix(VocabGrowth) %*% poly(8:11, degree=3) colnames(trends)<- c("Linear", "Quad", "Cubic") [At the risk of a long message, I'll append the co

Re: [R] Error in R??

2009-03-28 Thread Douglas Bates
On Sat, Mar 28, 2009 at 2:33 AM, Jim Silverton wrote: >  Can someone explain why I am getting the following error: in the r code > below? Are you asking what the error message means or how you are getting a computationally singular system? (My guess is that currvar is very small but you would ne

Re: [R] Error in R??

2009-03-28 Thread Jim Silverton
Can someone explain why I am getting the following error: in the r code below? Error in solve.default(diag(2) + ((1/currvar) * (XX1 %*% t(XX1 : system is computationally singular: reciprocal condition number = 0 In addition: There were 50 or more warnings (use warnings() to see the first 50

[R] Error in R/parallel

2008-10-03 Thread 宗楷
Dear all: I try a package called "rparallel", and it can make your multiple cores desktop PC have parallel computation. The following are my code: library(rparallel) msd <- function(x)c(mean(x),sd(x)) m <- matrix(rnorm(10*100),ncol=100) st <- Sys.time() M <-

Re: [R] How to catch a R error in R code

2007-10-10 Thread Kuhn, Max
Howard, > though it received the statement. I tried to use some R built-in > functions of try, tryCatch, eval, expression, as.expression, > parse, deparse, etc. None of them worked. How did they not work? What did you attempt? Did you use silent = TRUE in try? Please be more specific about t

Re: [R] How to catch a R error in R code

2007-10-10 Thread jim holtman
You need to follow the posting guide and provide commented, minimal, self-contained, reproducible code. I can only guess at what your code looks like, but the following catches the error: > z <- try(eval(parse(text="1:20 <- x"))) Error in eval(expr, envir, enclos) : object "x" not found > str(z)

[R] How to catch a R error in R code

2007-10-10 Thread HU,ZHENGJUN
Hi All, I entered a R statement, e.g. 1:20 = x or log("a") on an HTML form and passed it to a R-CGI script. Obviously, neither of both is a correct R statement or expression. However, my R-CGI script could not return and report the error message to the Web site even though it received the st