Disconnect from the fecal database
1 | fecalDisconnect(con, ...)
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
#connect to the MySQL database running remotely
con = fecalConnect(user = "user", password = "password")
#connect to local instance of the database
con = fecalConnect(user = "user", password = "password", host = "127.0.0.1")
#Always clean up by disconnecting from the database
dbDisconnect(con)
#Alternatively, there is a handy function built in here
fecalDisconnect(con)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.