How can I get my data file to download to my computer using R? Currently an error pops up.

When i download the data file. An error pops up as “Adobe Reader could not open ‘usa_005.dat.gz’ because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn’t correctly decoded.” I am trying to download the data through R. How do I download and view this data file?

Could you describe a bit more about how you are attempting to read the file into R? I just downloaded your most recent extract and was able to import the data to R. If you have already downloaded the zipped extract file to your computer, be sure that you have also downloaded the DDI file (.xml). The R command file included when you create an extract should read the data in without any issues, just be sure that everything is in your working directory (or that you specify the correct file path to where your saved data and xml file are).