in R, how can i save the value of "print"

Posted by alex on Stack Overflow See other posts from Stack Overflow or by alex
Published on 2010-04-19T12:49:56Z Indexed on 2010/04/19 12:53 UTC
Read the original article Hit count: 127

Filed under:

in R , when i use "print", i can see all the values, but how can i save this as a vector for example, in for loop, for (i in 1:10), i want the value of A , when i= 1,2,3,4..... but if i use the x=A, it only have the final value of A which is the value when i = 10. so , how can i save the vaule in print(A)

© Stack Overflow or respective owner

Related posts about r