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

content of R script gets deleted when opened in Rstudio. #5394

Open
SergejRuff opened this issue Nov 16, 2024 · 2 comments
Open

content of R script gets deleted when opened in Rstudio. #5394

SergejRuff opened this issue Nov 16, 2024 · 2 comments
Labels
area: core Issues related to Core category. bug Something isn't working support
Milestone

Comments

@SergejRuff
Copy link

Hello,

System details:

Positron and OS details:

Positron Version: 2024.08.0 build 24
Code - OSS Version: 1.91.0
Commit: d1012cc
Date: 2024-08-09T03:15:54.873Z
Electron: 29.4.0
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Linux x64 6.9.3-76060903-generic

Rstudio:

$mode
[1] "desktop"

$version
[1] ‘2024.4.2.764’

$long_version
[1] "2024.04.2+764"

$release_name
[1] "Chocolate Cosmos"

Interpreter details:

R 4.4.1

Describe the issue:

I have encountered an issue twice where R code written and saved in Positron is permanently deleted upon opening the file in RStudio. The deletion appears irreversible, as the file remains empty even when reopened in Positron or another text editor. Both times, I lost scripts containing 300–500 lines of code. Unfortunately, I have not been able to reproduce the issue. Is this a known problem?

Steps to reproduce the issue:

  1. write R code in positron and save it.
  2. Open it in Rstudio after saving the file.

Expected or desired behavior:

I expect the file to contain the content in both text editors without deletion.

@juliasilge
Copy link
Contributor

Thank you for sharing this info; it is not a known problem, no! 😱

I am not able to reproduce this problem and do tend to open/save files in Positron and RStudio a lot without problems. If you are able to come up with a specific set of steps that causes this problem, that would be super helpful.

@juliasilge juliasilge added bug Something isn't working area: core Issues related to Core category. support labels Nov 18, 2024
@SergejRuff
Copy link
Author

Thank you for replying.
I will try to reproduce it and get back to you.

@petetronic petetronic added this to the Future milestone Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: core Issues related to Core category. bug Something isn't working support
Projects
None yet
Development

No branches or pull requests

3 participants