Use the [[ operator for extracting a single element from an object #156
Closed
PMassicotte
started this conversation in
Ideas
Replies: 2 comments
-
It is usually safer to use mtcars$mp
mtcars[["mp"]]
mtcars[["mpg"]] |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, I see it as a good new feature because it changes the code to fix another error pointed out by |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Think that could fit?
Beta Was this translation helpful? Give feedback.
All reactions