Re: [R] Question regarding print

2010-06-17 Thread Greg Snow
The cat function is probably the best approach, but if your really feel the need to use print then you can just assign blank names (now it will be a named vector and slower in heavy calculations, but the printing is different). Try something like: > names(x) <- rep( '', length(x) ) > print(x)

Re: [R] Question regarding print

2010-06-17 Thread jim holtman
cat(out, '\n') On Thu, Jun 17, 2010 at 10:19 AM, Adolf STIPS 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 con