[R] Question regarding print

jim holtman jholtman at gmail.com
Thu Jun 17 16:31:29 CEST 2010


cat(out, '\n')

On Thu, Jun 17, 2010 at 10:19 AM, Adolf STIPS
<adolf.stips at jrc.ec.europa.eu> wrote:
>
> Hi,
>
> Does anybody know how to have output from print, without the leading [1]?
> (Or must I use cat/write?)
>
>>out="r15"
>>print(out,quote=FALSE)
> [1] r15
>
> And I definitely do not want the leading [1] as I want to construct a table
> from this.
>
> Ciao, Adolf
>
>
>
>
> ------------------------------------------------
> Adolf Stips (new email: adolf.stips at jrc.ec.europa.eu)
> Global Environment Monitoring unit
> CEC Joint Research Centre, TP 272
> I-21027 Ispra, Italy
> Tel: +39-0332-789876
> Fax: +39-0332-789034
> I know that I do not know, but even that not for sure!
> ------------------------------------------------
> "The views expressed are purely those of the writer and may not in any
> circumstances be regarded as stating an official position of the European
> Commission."
>
> ______________________________________________
> 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.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem that you are trying to solve?



More information about the R-help mailing list