powered by
Because the SQUID is saved in the options, it persists when changed e.g. in function calls, for example when using lapply().
lapply()
get_squid(namespace = NULL)set_squid(x, namespace = NULL)
set_squid(x, namespace = NULL)
The saved SQUID.
Invisibly, x.
Optionally, for saving multiple SQUIDs, a namespace.
A SQUID (or several; the highest is stored).
exampleSQUID <- squids::squids(); squids::set_squid( exampleSQUID ); squids::get_squid();
Run the code above in your browser using DataLab