Saves the full `orbit_system` object (bodies, forces, and time) to an `.rds` file so it can be restored later with [load_system()]. This preserves everything — the gravitational constant, body states, and class — exactly as it was.
Examples
# \donttest{
sys <- create_system() |>
add_sun() |>
add_planet("Earth", parent = "Sun")
save_system(sys, file.path(tempdir(), "my_system.rds"))
# }