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

David Winsemius dwinsemius at comcast.net
Fri Mar 13 16:16:30 CET 2009


?cat

On Mar 13, 2009, at 10:59 AM, 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-tp22498222p22498222.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.

David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list