How to Apply the Sys.getpid() Function in R (Example Code)
In this R article you’ll learn how to apply the Sys.getpid function.
Example: How to Return the Process ID of an R Session Using the Sys.getpid() Function
Sys.getpid() # Using Sys.getpid function # [1] 10152 |
Sys.getpid() # Using Sys.getpid function # [1] 10152