Question: Consider these four relatively similar help ( ) statements attempting to open the documentation page associated with CountryData found in the dcData package. help (
Consider these four relatively similar help statements attempting to open the documentation page associated with CountryData found in the dcData package.
helpCountryData package "dcData"
helpCountryData package "dcData"
helppackage "dcData", CountryData
helppackage "dcData", CountryData
Execute each of the four help statements, one at a time, to answer the following questions. You may also find it useful to look at the documentation page for the help function itself by executing the following command in the console: help
Which one of the four help statements is written to be most consistent with the recommendations in the chapter?
Which one of the four help statements does NOT work ie produces an error message
Challenge: Study the two remaining help statements and the documentation for the help function itself. Explain how R can still execute them properly, even though they have been poorly specified. Hint: to assist your investigation, try replacing the word package with an unrelated word, like bungalow and see what happens.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
