Nel tentativo di rispondere this Question mi sono imbattuto in questo nell'output del str()
Che cosa significa "lista nascosta" nell'output di `str()` significa?
## R reference
rref <- bibentry(bibtype = "Manual",
title = "R: A Language and Environment for Statistical Computing",
author = person("R Development Core Team"),
organization = "R Foundation for Statistical Computing",
address = "Vienna, Austria",
year = 2010,
isbn = "3-900051-07-0",
url = "http://www.R-project.org/")
> str(rref)
Class 'bibentry' hidden list of 1
$ :List of 7
..$ title : chr "R: A Language and Environment for Statistical Computing"
..$ author :Class 'person' hidden list of 1
.. ..$ :List of 5
.. .. ..$ given : chr "R Development Core Team"
.. .. ..$ family : NULL
.. .. ..$ role : NULL
.. .. ..$ email : NULL
.. .. ..$ comment: NULL
..$ organization: chr "R Foundation for Statistical Computing"
..$ address : chr "Vienna, Austria"
..$ year : chr "2010"
..$ isbn : chr "3-900051-07-0"
..$ url : chr "http://www.R-project.org/"
..- attr(*, "bibtype")= chr "Manual"
In particolare, io sono perplesso da questo bit:
> str(rref)
Class 'bibentry' hidden list of 1
$ :List of 7
Che cosa significa il "hidden list
" bit si riferiscono a ? Che tipo di oggetto è questo? Si tratta solo di un output di formattazione da str()
quando c'è un solo componente nell'oggetto che è esso stesso un elenco? In tal caso, come è possibile forzare lo str()
a mostrare l'intera struttura?
brillante ...... – BrodieG