>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]] On Behalf Of Hiroyuki
Kawakatsu
>Sent: Saturday, February 15, 2003 10:45 AM
>To: [EMAIL PROTECTED]
>Subject: [R] print with no array index
>
>
>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.
Look at ?cat
You will need to add a newline character "\n" to the vector.
For example:
> cat("foo\n")
foo
>
Regards,
Marc Schwartz
______________________________________________
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help