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

warn against save #78

Open
gdkrmr opened this issue Aug 25, 2022 · 0 comments
Open

warn against save #78

gdkrmr opened this issue Aug 25, 2022 · 0 comments
Labels
workflow project oriented workflow

Comments

@gdkrmr
Copy link

gdkrmr commented Aug 25, 2022

from a piece of code

save(foo, file = "data.Rdata")

....

load("data.Rdata")

it is absolutely not clear what variables are being loaded into the workspace.

something like:

saveRDS(...)
foo <-  readRDS(...)

is much cleaner. Maybe mention that the representation of R object may change between version of R and should therefore not be relied on for long term storage data or sending data to other people.

@edavidaja edavidaja added the workflow project oriented workflow label Jun 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
workflow project oriented workflow
Projects
None yet
Development

No branches or pull requests

2 participants