On January 21th at 14:15 UTC , progression through exercises will be unavailable for 10 minutes due to a planned maintenance break.
Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction to lists
Accessing list elements
Unnamed lists
Working with lists


That's right. R throws an error if you try to access a member by providing an index greater than the list's length. Just like with named lists, you access individual members with appropriate operators. If that member is a vector, then we can retrieve the individual values from that vector using the [] notation.

For example, if we know that skills for the open data scientist position are written in the third position in the list and that they're ranked from most to least important, then we can retrieve the most important skill for that job like this:


Here, with [1], we extracted the first element of the vector returned by job_role_no_names[[3]].


Try to find the least important skill necessary for the data scientist role. The list is named job_role_no_names, and skills are stored in the third position in this list.

Stuck? Here's a hint!

The least important skills is in the last position of the vector job_role_no_names[[3]]. You can find the length of that vector and then use that position when retrieving specific value from job_role_no_names[[3]].