if (FALSE) {
# Assuming 'my_project_remote_job_info.json' and 'options.json'
# exist in '~/darwin_runs/my_project_run'.
try({
stop_pyDarwinRemote(
LocalDirectoryPath = "~/darwin_runs/my_project_run",
KeyPath = "~/.ssh/id_rsa_remote"
)
})
# Explicitly providing paths
try({
stop_pyDarwinRemote(
LocalDirectoryPath = "~/darwin_runs/my_project_run", # Still used as a base if needed
LocalJobInfoFilePath = "~/darwin_runs/my_project_run/my_project_remote_job_info.json",
OriginalOptionsPath = "~/darwin_runs/my_project_run/options.json"
)
})
}
Run the code above in your browser using DataLab