LauraPS1 / TFEA.ChIP_downloads

TFEA.ChIP is an R package in developement. Its purpose is to analyze transcription factor enrichment in a set of differentially expressed genes.
5 stars 1 forks source link

RData Load Error #6

Open yihanxia opened 3 years ago

yihanxia commented 3 years ago

Hello,

The following step for loading an RData file starting with RM or TC using:

load("path/to/file/database.RData")

causes the following error:

Error in load("path/to/file/database.RData") : bad restore file magic number (file may be corrupted) -- no data loaded In addition: Warning message: file ‘database.RData’ has magic number '' Use of save versions prior to 2 is deprecated

In contrast, the mouse RData files did not produce this error when being loaded. I am currently using R version 4.0.4. Is there some solution to this? Thanks so much!

LauraPS1 commented 3 years ago

Hi, This might have to do with differences across R versions.
All the databases in the repository are saved in versions 2 or 3, including the mouse ones, and I can't reproduce the error, so I don't know the exact cause. Just in case, I've re-saved all the database files in the last version, so you shouldn't get this error anymore. Cheers

yihanxia commented 3 years ago

Hello,

I downloaded the newly uploaded versions and tried loading them, but unfortunately, the same error is still occurring.