See ?write.table
Wuming
On 5/17/05, BJ <[EMAIL PROTECTED]> wrote:
> How do you output a list to a text file without the extra line numbers
> and stuff?
>
> I have a list b, and tried
>
> zz<-textConnection("captest.txt","w")
> sink(zz)
> b
> sink()
> close(zz)
>
> but that isnt what i want, because i get [[1]]
> [1] a
>
> etc. Is there a simple way to do the R equivalent of this perl code?
>
> open(OUT,">out.txt");
> print OUT @b;
> close OUT
>
> Thank you for your help. I tried pouring over teh documentation for
> this, but couldnt find what I was lookign for. ~Erithid
>
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html