Welcome to ClientVPS Mirrors

epoxy in R scripts

epoxy in R scripts

epoxy isn’t just for reports and Shiny apps! You can use the epoxy() function just like an epoxy knitr chunk.

movie <- list(
    year = 1989,
    title = "Back to the Future Part II",
    budget = 4e+07
)

epoxy(
    "The movie {.titlecase movie$title}",
    "was released in {movie$year}",
    "and was filmed with a budget of",
    "{.dollar movie$budget}.",
    .sep = "\n"
)
#> The movie Back to the Future Part II
#> was released in 1989
#> and was filmed with a budget of
#> $40,000,000.

For HTML and LaTeX contexts, check out epoxy_html() and epoxy_latex(). These work just like epoxy(), but use convenient defaults for HTML and LaTeX settings.

Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.

This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.