| CRclose | R Documentation |
Closes and deallocates resources that were created and loaded earlier. These can be the basic graphics-list returned by CRopen, the texture-list from CRcreate_texture and other loaded resources returned by CRload_image, CRload_font, CRload_wav or CRopen_controller. Passing the graphics-list to CRclose will close the window.
CRclose(...)
... |
One or more lists containing CREx structures (see description). A status list can also be passed optionally, as in most other functions. |
Closing is generally necessary for resources that were loaded or created by CREx-functions internally, as opposed to the user in R.
gs <- CRopen(50, 50, 500, 500)
CRclose(gs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.