knitr::opts_chunk$set(echo = TRUE)
These are just simple functions I find myself using often.
# clear variable and reset clear( resetR = T ) # clear variables only clear()
tic() # start timer toc() # end timer
b( x ) # size in bytes Kb( x ) # in kilobytes Mb( x ) # in megabytes Gb( x ) # in gigabytes
multipleof( x = 15, y = 5 )
reinstall(pkg = 'saxy', repo = 'ssaxe-usgs)
shead( x )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.