Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bad restore file magic number #43

Closed
sliptonic opened this issue Jun 6, 2019 · 3 comments
Closed

bad restore file magic number #43

sliptonic opened this issue Jun 6, 2019 · 3 comments
Labels

Comments

@sliptonic
Copy link

I've installed Rstudio Version 1.1.463
R version 3.2.3
Linux Mint 18

I tried opening an older project that I haven't touched in a few months and got the error below.
I retried using the bookdown demo and got the same error.
How can I resolve this?

I tried a more current version of rstudio but it fails on mint with an libssl error.

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

@yihui yihui added the invalid label Jun 7, 2019
@yihui
Copy link
Member

yihui commented Jun 7, 2019

Why load("~/bookdown-demo/bookdown-demo.Rproj")? This file is not supposed to be load()ed into R but should be opened by RStudio.

@sliptonic
Copy link
Author

Call it a long-day, late night, brain fart and accept my apologies. I almost never use RStudio directly but build from a script instead. The RStudio gui had me confused and I was trying to load the project file in the wrong window.

@yihui
Copy link
Member

yihui commented Jun 7, 2019

No worries!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants