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.

______________________________________________
R-help@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.

Reply via email to