[R] print with no array index

Thomas W Blackwell tblackw at umich.edu
Sat Feb 15 18:13:03 CET 2003


Hiroyuki  -

Function  write()  with "" as its second argument might do
what you want.  This function does not check the "dims"
attribute of its first argument, so you have to set that
explicitly.  See  help(write), help(format), help(cat).

Seems unfortunate that  help(print)  does not point backwards
to these alternatives.

-  tom blackwell  -  u michigan medical school  -  ann arbor  -



On Sat, 15 Feb 2003, Hiroyuki Kawakatsu wrote:

> hi,
>
> can someone tell me an easy way to print arrays interactively without
> printing the array index? for example, instead of
>
> > print("foo",quote=FALSE)
> [1] foo
>
> i want
>
> foo
>
> thanks,
> h.
> --------------------------------------------------------------------
> Time series regression studies give no sign of converging toward the
> truth. (Phillip Cagan)
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-help
>




More information about the R-help mailing list