Re: [R] Remove [1] ... from output

2006-03-28 Thread Gregor Gorjanc
Thank you Adelchi and Ales! Adelchi Azzalini wrote: > On Tue, 28 Mar 2006 13:21:59 +0200, Gregor Gorjanc wrote: > > GG> Hello! > GG> > GG> I am writing some numbers and character vectors to an ascii file > GG> and would like to get rid of [1] ... as shown bellow (a dummy > GG> example) > GG> >

Re: [R] Remove [1] ... from output

2006-03-28 Thread Philipp Pagel
On Tue, Mar 28, 2006 at 01:21:59PM +0200, Gregor Gorjanc wrote: > > R> runif(20) > [1] 0.653574 0.164053 0.036031 0.127208 0.134274 0.103252 0.506480 0.547759 > [9] 0.912421 0.584382 0.987208 0.996846 0.666760 0.053637 0.327590 0.370737 > [17] 0.505706 0.412316 0.887421 0.812151 > > Any hints h

Re: [R] Remove [1] ... from output

2006-03-28 Thread Aleš Žiberna
Use "cat" cat(runif(20)) see ?cat for additional options, for example to brake the output into several lines. Best regards, Ales Gregor Gorjanc pravi: > Hello! > > I am writing some numbers and character vectors to an ascii file and > would like to get rid of [1] ... as shown bellow (a dummy e

Re: [R] Remove [1] ... from output

2006-03-28 Thread François Pinard
[Gregor Gorjanc] >I am writing some numbers and character vectors to an ascii file and >would like to get rid of [1] ... as shown bellow (a dummy example) >R> runif(20) > [1] 0.653574 0.164053 0.036031 0.127208 0.134274 0.103252 0.506480 0.547759 > [9] 0.912421 0.584382 0.987208 0.996846 0.666760

Re: [R] Remove [1] ... from output

2006-03-28 Thread Adelchi Azzalini
On Tue, 28 Mar 2006 13:21:59 +0200, Gregor Gorjanc wrote: GG> Hello! GG> GG> I am writing some numbers and character vectors to an ascii file GG> and would like to get rid of [1] ... as shown bellow (a dummy GG> example) GG> GG> R> runif(20) GG> [1] 0.653574 0.164053 0.036031 0.127208 0.134274

Re: [R] Remove [1] ... from output

2006-03-28 Thread Duncan Murdoch
On 3/28/2006 6:21 AM, Gregor Gorjanc wrote: > Hello! > > I am writing some numbers and character vectors to an ascii file and > would like to get rid of [1] ... as shown bellow (a dummy example) > > R> runif(20) > [1] 0.653574 0.164053 0.036031 0.127208 0.134274 0.103252 0.506480 0.547759 > [9]

[R] Remove [1] ... from output

2006-03-28 Thread Gregor Gorjanc
Hello! I am writing some numbers and character vectors to an ascii file and would like to get rid of [1] ... as shown bellow (a dummy example) R> runif(20) [1] 0.653574 0.164053 0.036031 0.127208 0.134274 0.103252 0.506480 0.547759 [9] 0.912421 0.584382 0.987208 0.996846 0.666760 0.053637 0.327