stop collectl via processx interrupt
cl_stop(proc)
proc | an entity inheriting from "Rcollectl_process" S3 class |
---|
invisibly returns the input
#> #> cl_str> if (cl_exists()) { #> cl_str+ zz = cl_start() #> cl_str+ print(zz) #> cl_str+ print(cl_result_path(zz)) #> cl_str+ cl_stop(zz) #> cl_str+ zz$process$is_alive() #> cl_str+ } #> Rcollectl process object #> PROCESS 'collectl', running, pid 122133. #> /tmp/Rtmp9u4arh/file1dce020d05440 #> character(0) #> [1] TRUE