On this R-data statistics page, you will find information about the sunspots data set which pertains to Monthly Sunspot Numbers, 1749–1983. The sunspots data set is found in the datasets R package. You can load the sunspots data set in R by issuing the following command at the console data("sunspots"). This will load the data into a variable called sunspots. If R says the sunspots data set is not found, you can try installing the package by issuing this command install.packages("datasets") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the sunspots R data set. The size of this file is about 60,582 bytes.
Monthly Sunspot Numbers, 1749–1983
Monthly mean relative sunspot numbers from 1749 to 1983. Collected at Swiss Federal Observatory, Zurich until 1960, then Tokyo Astronomical Observatory.
A time series of monthly data from 1749 to 1983.
Andrews, D. F. and Herzberg, A. M. (1985) Data: A Collection of Problems from Many Fields for the Student and Research Worker. New York: Springer-Verlag.
sunspot.month has a longer (and a bit different) series,
sunspot.year is a much shorter one. See there for getting more current sunspot numbers.
plot(sunspots, main = "sunspots data", xlab = "Year",
ylab = "Monthly sunspot numbers")
Dataset imported from https://www.r-project.org.