I run an R script which takes hours to complete. This script works well on Windows 7. Recently I have a new notebook with Windows 10. When I ran the same script, it ran for ~6 hours and then suddenly stopped, with the panes in RStudio all disappeared.
We don't really have enough info to help you out. Could you ask this with a minimal REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.