From etiennesanchez2 at gmail.com  Tue Nov 14 19:33:07 2017
From: etiennesanchez2 at gmail.com (Etienne Sanchez)
Date: Tue, 14 Nov 2017 19:33:07 +0100
Subject: [Rd] str() not displaying names
Message-ID: <CANgsd5-ZszDpeRDKseBMu_03u7FuwEcqoDkjOR-QTEjKzaMAbg@mail.gmail.com>

In some cases, str() does not print the "names" attribute of the object:

u <- structure(c(5, 6), names = c("a", "b"), color = "blue")
str(u)
#  atomic [1:2] 5 6
#  - attr(*, "color")= chr "blue"

Is it a bug or a design choice?

Originally asked here:
https://stackoverflow.com/q/47185756/6656269



[Rd] str() not displaying names
Etienne Sanchez