On 23-04-2013, at 13:21, eliza botto <eliza_bo...@hotmail.com> wrote:

> Dear useRs,
> While using print command in "for" loop, i designated a variable being 
> printed by "e". Although the output was shown inside the loop but when i 
> tried to call the variable outside the loop it only gave the first row, where 
> as it should have 35 rows as it showed inside loop.The command which i used 
> in the loop is
> e<-print(sum(abs(b-m[,i])))


Give us a reproducible example of what you are trying to do.
This doesn't make sense.

Berend

______________________________________________
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