library(RTypeInference)
f = function(n)
{
total = 0L
for(i in 1:n)
total = total + i
total
}
g = function(n) 1:n
tt.f = infer_types(f)
tt.g = infer_types(g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.