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

From: Usuario R <r.user.spain_at_gmail.com>
Date: Fri, 13 Mar 2009 16:09:50 +0100

Hi,

take a look to

?write.table

regards

2009/3/13 johnhj <jharris_at_web.de>

>
> 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.
>

        [[alternative HTML version deleted]]



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. Received on Fri 13 Mar 2009 - 14:12:55 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 16 Mar 2009 - 20:30:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive