# Can we save our process if we don&#39;t save a project?

If I don't save a project while running a whole script, can I save my results instead of starting it all over again after restart my computer? R seems to have no memory.

##### Post Metadata
- Posted at: almost 6 years ago
- Author title: Data analyst
- Net upvotes: 1


## Comments
### Comment 1

Yes, you can save either your whole environment or specific objects as .RDS files. RDS files contain one or more R objects. This is very helpful, if you only wish to save intermediate results. For saving RDS objects use saveRDS(). For reloading them use readRDS(). The exact use can be found in the widely available discussions and documentations online. I use it to store large tables that that if read directly from csv-format would take longer to load. Another use for me is storing prediction models that take hours to train.

##### Comment Metadata
- Posted at: over 5 years ago
- Author title: Scientist



### Comment 2

There are many ways to save results as an R script runs, take a look at the R saveRDS function as one example.

For questions like this about R a great place to go is community.rstudio.com. 



##### Comment Metadata
- Posted at: almost 6 years ago




## Related Product
[Posit Team](https://www.g2.com/products/posit-team/reviews)

## Related Category
[Data Science and Machine Learning Platforms](https://www.g2.com/categories/data-science-and-machine-learning-platforms)

## Related discussions
- [How well does Trello scale into a larger team?](https://www.g2.com/discussions/1-how-well-does-trello-scale-into-a-larger-team)
  - Posted at: about 13 years ago
  - Comments: 6
- [Can we please add a new section](https://www.g2.com/discussions/2-can-we-please-add-a-new-section)
  - Posted at: about 13 years ago
  - Comments: 0
- [Quantifiable benefits from implementing your CRM](https://www.g2.com/discussions/quantifiable-benefits-from-implementing-your-crm)
  - Posted at: about 13 years ago
  - Comments: 4


