7. What is a primary advantage that R programming language offers compared to spreadsheets?

Answer: A

Explanation:

It works better with larger data sets

R programming language is specifically designed to handle statistical analysis and large data sets more efficiently than spreadsheets. This capability allows users to perform complex data manipulations and analyses that would be cumbersome or impractical in a spreadsheet environment.

A) It works better with larger data sets

This option is correct because R is built to manage and analyze large volumes of data effectively. Unlike spreadsheets, which may slow down or become unmanageable with extensive data, R can utilize various data structures and libraries optimized for handling large datasets, making it a superior choice for data analysis.

B) It allows for analysis through formulas

While R does allow for analysis through formulas, this feature is not unique to R as spreadsheets also provide formula capabilities. Therefore, this option does not highlight a primary advantage of R over spreadsheets, as both can perform calculations and analyses using formulas.

C) It shares source data from an external database

Although R can connect to external databases, this is not an exclusive advantage over spreadsheets, which can also import data from various sources. Thus, this statement fails to capture a defining benefit of using R compared to spreadsheet software.

D) It is used to communicate with databases

R can indeed communicate with databases, but this functionality is not exclusive to R and can be found in many spreadsheet applications as well. Hence, this does not represent a primary advantage of R over spreadsheets, as both can interface with databases.

Conclusion

The primary advantage of R programming language lies in its superior capacity to handle larger data sets efficiently, making it essential for detailed data analysis. Other options either present capabilities common to both R and spreadsheets or do not capture the unique strengths of R. Thus, R's effectiveness with large data sets distinctly sets it apart from spreadsheet applications.