I checked for sparkR package in CRAN package list through the following link.
https://cran.r-project.org/web/packages/available_packages_by_date.html
This list does not include sparkR, and therefore installing sparkR through install.packages("package_name")
cannot be done.
Why isn't sparkR listed in the package list?
SparkR
is in fact on CRAN – Frasco