Interactive() Function in R
In this article, we are going to see interactive() Function in R Programming Language.
It returns TRUE when R is being used interactively and FALSE otherwise. This function is used to test whether R runs interactively or not.
It will return TRUE, if is running interactively, otherwise FALSE.
Check whether the environment is Running interactively or not.
Check whether the environment is Running interactively or not by creating two vectors and display them
 2 3 4  2 1 2 3  TRUE