[R] Console output
John Kane
jrkrideau at yahoo.ca
Mon Feb 21 11:29:34 CET 2011
I am not aware of one, bu I don`t know that much. You an change the vector to a data.frame but it could introduce complications.:)
Example:
===============================================================
vec <- 1:10
df1 <- data.frame(vec)
df1
===============================================================
--- On Mon, 2/21/11, Antje Niederlein <niederlein-rstat at yahoo.de> wrote:
> From: Antje Niederlein <niederlein-rstat at yahoo.de>
> Subject: [R] Console output
> To: r-help at r-project.org
> Received: Monday, February 21, 2011, 5:21 AM
> Hi there,
>
> I though there has been a possibility to force the output
> on the
> console with one element per line. Instead of this:
>
> > 1:10
> [1] 1 2 3 4 5 6
> 7 8 9 10
>
> something like this
>
> > 1:10
> [1] 1
> [2] 2
> [3] 3
> [4] 4
> [5] 5
> [6] 6
> [7] 7
> [8] 8
> [9] 9
> [10] 10
>
> Can anybody help?
>
> Antje
>
> ______________________________________________
> 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.
>
More information about the R-help
mailing list