Learn R Programming

AnalysisPageServer (version 1.6.2)

copy.front.end: copy.front.end

Description

Copy the APS front end (HTML, CSS, JS, etc) to a web directory

Usage

copy.front.end(outdir, client.basedir = system.file("htdocs/client/dist-apss", package = "AnalysisPageServer"), include.landing.page = TRUE, ...)

Arguments

outdir
Target directory. This directory will contain your index.html file.
client.basedir
Path to client files. Default: system.file("htdocs/client/dist-apss", package = "AnalysisPageServer"). Probably should not be modified except during development work on the client.
include.landing.page
Boolean. Should I include the landing page "analysis-page-server-static.html"? Default: TRUE
...
Passed through to file.copy, such as overwrite = TRUE

Value

Whatever file.copy returns.

Details

This makes a copy of the complete APS static front end (HTML, CSS, JS, etc) to a web directory.

Examples

Run this code
message("See vignette embedding.html")

Run the code above in your browser using DataLab