[R] Save the elements of an atomic vector to a text fil

johnhj jharris at web.de
Fri Mar 13 17:20:29 CET 2009


Thank you all,

I did it with "write.table"...

greetings,
johnh






johnhj wrote:
> 
> Hii,
> 
> I will save the elements of the vector median<-with(x, tapply(V3, grup,
> median)). The output of this vector is:
> 
>  25   50   75  100  125  150  175  200  225  250  275  300  325  350  375 
> 400  425  450  475  500  
> 17.8 17.8 17.5 17.8 17.7 17.6 17.7 17.6 17.8 17.7 17.6 17.7 17.8 17.7 17.8
> 17.8 17.8 17.8 17.7 17.7 
> 
> Can anybody help me how to do it. I will save it to a text file...
> 
> greetings,
> johnh
> 

-- 
View this message in context: http://www.nabble.com/Save-the-elements-of-an-atomic-vector-to-a-text-fil-tp22498222p22499918.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list