unmount_appdata {kindisperse} | R Documentation |
Unmount a KinPairData
Object (clear slot from appdata environment)
Description
This function is part of a suite of functions handling the interface between the kindisperse app & R
package. Due to how shiny's interactive programming works, ordinary objects are not visible to the reactive functions
embedded in the app. The solution implemented here is to construct a custom environment, env_appdata
, that is
accessible within the app and outside of it.
When called, this function clears any objects with names found in the vector nms
from the app interface
environment, keeping it from becoming over-cluttered & taking up space.
Usage
unmount_appdata(nms)
Arguments
nms |
A character vector of names of objects to unmount from the appdata environment |
Value
No return value, called for side effects
See Also
Other app_ports:
display_appdata()
,
mount_appdata()
,
reset_appdata()
,
reset_tempdata()
,
retrieve_appdata()
,
retrieve_tempdata()
,
retrieveall_appdata()
Examples
mount_appdata(kin_pair_data(), "mydata")
unmount_appdata("mydata")