How to Apply the interactive() Function in R (Example Code)
In this tutorial you’ll learn how to test whether R runs in an interactive mode using the interactive function in R programming.
Example: How to Check whether R Runs Interactively
interactive() # Using interactive() function # [1] TRUE |
interactive() # Using interactive() function # [1] TRUE