How can I read RData with httr? I tried a couple of things but I got error
bin = getBinaryURL(downloadURL, ...yourOtherParams...)
Error: bad restore file magic number (file may be corrupted) -- no data loaded
In addition: Warning message:
file ‘t.rData’ has magic number '<'
Use of save versions prior to 2 is deprecated
This worked for me:
I get a dataframe
overs from the RData-file.
The url is taken from the Download-button of the github-page to get the raw file.