Search notes:

R function: str

str does not stand for string, it stands for structure: str(…) displays the internal structure of a given R object.
#
#  str stands for structure
#
#  s.a. -> structure(), 
#       ../examples/having_a_look_at_data.R
#


d <- data.frame (
  foo = c(   1 ,    2 ,      3 ),
  bar = c('one', 'two', 'three')
)

str(d)
# 'data.frame':   3 obs. of  2 variables:
#  $ foo: num  1 2 3
#  $ bar: Factor w/ 3 levels "one","three",..: 1 3 2
Github repository about-r, path: /functions/str.R

See also

attributes, R object attribute
Index to (some) R functions
Exploring R objects

Index