Check whether manipulate is available in the current front-end environment.
isAvailable()
The manipulate package works only within the RStudio front-end.
TRUE if manipulate is available, otherwise FALSE.
TRUE
FALSE