[R] What is wrong with m?

2003-09-19 Thread Anna Pryor
I've been programming in one directory and recently switched to another directory. It appears that in doing so I've uncovered a problem. My environment was saving something so that my code would work and now I don't know how to fix it. I have the following bit of code: for(i in 1:index){

Re: [R] What is wrong with m?

2003-09-19 Thread Douglas Bates
Spencer Graves [EMAIL PROTECTED] writes: For m[1] - ... to work, m must already be defined. To fix this, execute m - rep(NA, index) before your second for loop, and it should work. hope this helps. spencer graves If saveList is actually a list, it would be more effective to use m =