delete_cookies | R Documentation |
Delete Cookies
delete_cookies(
domain,
key = "",
jar = default_jar(),
fixed = FALSE,
ask = TRUE
)
domain |
The domain for which the cookies should be deleted. |
key |
An optional filter to retrieve only certain cookies by matching
certain keys/names. Accepts regular expression depending on the value of
|
jar |
A character string of the path to the cookie jar (the default is
to use |
fixed |
If |
ask |
A logical value indicating whether the user should be asked to confirm the deletion. |
Nothing. Called to remove cookies from jar.
# to conform with CRAN policies, examples use a temporary location. Do not use
# the options like this, except you want your cookies gone when closing R.
options(cookie_dir = tempdir())
add_cookies(cookiefile = system.file("extdata", "cookies.txt", package = "cookiemonster"))
delete_cookies("example.com", ask = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.