Skip to content

Typo #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions inst/www/data.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<body>
<h1>Shipping data with packages</h1>

<p>The section on <a href="http://cran.r-project.org/doc/manuals/R-exts.html#Data-in-packages">data in packages</a> in the <i>writing r extentions</i> manual explains various ways of including data in packages. The appdemo package contains a couple of datasets; you can find these in the <code>data</code> directory of the <a href="http://github.com/opencpu/appdemo">source package</a> (these data were copied from MASS for illustration purposes).</p>
<p>The section on <a href="http://cran.r-project.org/doc/manuals/R-exts.html#Data-in-packages">data in packages</a> in the <i>writing r extensions</i> manual explains various ways of including data in packages. The appdemo package contains a couple of datasets; you can find these in the <code>data</code> directory of the <a href="http://github.com/opencpu/appdemo">source package</a> (these data were copied from MASS for illustration purposes).</p>

<p>The <a href="https://public.opencpu.org/api.html">OpenCPU API docs</a> explain how to access the data using the <code>/package/data/</code> endpoint. For example we can read "Boston" dataset using any of the output formats:</p>

Expand All @@ -72,7 +72,7 @@ <h1>Shipping data with packages</h1>

<h2>Lazy Data</h2>

<p>If you want to use data sets in code or functions, make sure to read the section on <a href="http://cran.r-project.org/doc/manuals/R-exts.html#Data-in-packages">data in packages</a> in the <i>writing r extentions</i> manual. You either need to set <t>LazyData: true</t> in the package <a href="../DESCRIPTION">DESCRIPTION</a> file, or use the <code>data()</code> funcion in R.</p>
<p>If you want to use data sets in code or functions, make sure to read the section on <a href="http://cran.r-project.org/doc/manuals/R-exts.html#Data-in-packages">data in packages</a> in the <i>writing r extensions</i> manual. You either need to set <t>LazyData: true</t> in the package <a href="../DESCRIPTION">DESCRIPTION</a> file, or use the <code>data()</code> function in R.</p>

<h3> Plot Boston data</h3>

Expand Down Expand Up @@ -102,4 +102,4 @@ <h3> Plot Boston data</h3>
<br />

</body>
</html>
</html>