Skip to content
Prev 45206 / 63424 Next

double bracket stripping names

On 26/02/2013 10:30, Patrick Burns wrote:
Yes, and documented! It does when used on a list, so is consistent.

           ?"[["? can be used to select
      a single element _dropping_ ?names?, whereas ?"["? keeps them,
      e.g., in ?c(abc = 123)[1]?.