Re: [R] Question regarding print

From: jim holtman <jholtman_at_gmail.com>
Date: Thu, 17 Jun 2010 10:31:29 -0400

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?

______________________________________________
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 Thu 17 Jun 2010 - 14:34:06 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 Thu 17 Jun 2010 - 15:00:32 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