## Requires internet access and downloads a large FITS file.
if (interactive()) {
dest <- tempfile(fileext = ".fits")
downloadCMBMap(foreground = "smica", nside = 1024, destfile = dest)
sky <- CMBDataFrame(dest, spix = 1:10)
unlink(dest)
}
Run the code above in your browser using DataLab