Examples for 'tools::HTMLheader'


Generate a Standard HTML Header for R Help

Aliases: HTMLheader

Keywords: utilities documentation

### ** Examples

cat(HTMLheader("This is a sample header"), sep="\n")
<!DOCTYPE html>
<html>
<head><title>R: This is a sample header</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<link rel="stylesheet" type="text/css" href="/doc/html/R.css" />
</head><body><div class="container">
<h1> This is a sample header
<img class="toplogo" src="/doc/html/Rlogo.svg" alt="[R logo]" />
</h1>
<hr/>
<div style="text-align: center;">
<a href="/doc/html/index.html"><img class="arrow" src="/doc/html/up.jpg" alt="[Top]" /></a>
</div>

[Package tools version 4.2.3 Index]