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

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

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)

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") [

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