[R] What is wrong with m?

Anna Pryor anna at email.arc.nasa.gov
Fri Sep 19 19:53:22 CEST 2003

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){
    indexList = lst[i]
	for(j in 2:jobs-1){
           indexList = c(indexList,lst[i+index*j])
   saveList[i,] = indexList


   for (i in 1:index){
	m[i] = median(saveList[i,])


In my new directory, I am getting the complaint that "object m is not found."  
Does anyone know what that means?


More information about the R-help mailing list