R commands are case sensitive, so you should use the command boxplot() and not Boxplot() unless you have been provided a special Boxplot function. If you intend to get a single box plot of all of the SleepHrsNight values, then fixing the function name should work. If you want to see SleepHrsNight broken out by some categories from a different column, then you need to explain what that column is.