Query the type of the OS
ps_os_type()ps_is_supported()
ps_is_supported()
ps_os_type returns a named logical vector. The rest of the functions return a logical scalar.
ps_os_type
ps_is_supported() returns TRUE if ps supports the current platform.
TRUE
# NOT RUN { ps_os_type() ps_is_supported() # }
Run the code above in your browser using DataCamp Workspace