| reap | R Documentation | 
An alternative to close for Sockets, Contexts, Listeners, and Dialers
avoiding S3 method dispatch.
reap(con)
| con | a Socket, Context, Listener or Dialer. | 
May be used on unclassed external pointers e.g. those created by
.context(). Returns silently and does not warn or error, nor does it update
the state of object attributes.
An integer exit code (zero on success).
close()
s <- socket("req")
listen(s)
dial(s)
ctx <- .context(s)
reap(ctx)
reap(s[["dialer"]][[1]])
reap(s[["listener"]][[1]])
reap(s)
reap(s)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.