restart_reattach | R Documentation |
Re-attaches package (restarting session)
restart_reattach(pkg = NULL)
pkg |
An R package as a string (this was designed to quickly fix and test my own packages) |
By default, it restarts R and reattaches cptools
.
Otherwise, it detaches the named package if it is loaded
and tries to attach it again.
# Another mistake in my own package # (fixing it) reattach_package(cptools)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.