[R] How to suppress vector indexes in printout

zumar boguinsky at yandex.ru
Sat Feb 6 15:03:52 CET 2010


I'm a newbie in R and my question is simple.
When I type something like this:
> x=rnorm(10)
> x
 [1]  0.5804216 -1.1537118 -0.3222235  0.7117290 -1.0918811  0.3992606
 [7] -0.1800837  0.4168152 -0.2077298 -0.2595467
> 1
[1] 1
> 
I'm getting indexes in the first column ([1], [7], etc.)
How to suppress them temporarily to get this:
> x=rnorm(10)
> x
 0.5804216 -1.1537118 -0.3222235  0.7117290 -1.0918811  0.3992606
 -0.1800837  0.4168152 -0.2077298 -0.2595467
> 1
 1
> 
Is there any option to do this?

Thanks for your attention.



 


-- 
View this message in context: http://n4.nabble.com/How-to-suppress-vector-indexes-in-printout-tp1471295p1471295.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list