Chang Liu <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]: 

> 3. The reason I want it to be a list or vector, is that I want to
> fill in some blank values, i can't seem to do things like: 
> data$V1[1] = 3 Is it because these variables are pointers? Is there
> a better way to do this? 
> 

You have not given reproducible code, so it is difficult to know why that 
does not succeed. I have a data.frame with a similar name left over from 
another problem. When I enter DATA$V1[1] = -.5 , it has the desired 
effect. Although it is not the source of the error,  you should learn to 
use "<-" rather than "=". You should also learn to post questions with 
reproducible code.

-- 
David Winsemius

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to