aboutsummaryrefslogtreecommitdiff
path: root/docs/reference/plot.chent.html
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2019-02-19 20:17:59 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2019-02-19 20:17:59 +0100
commitb883e6075bd76f979fbffdb768313665681315a0 (patch)
treecc3f14824db202513bf632f817e8439ae72ae5d8 /docs/reference/plot.chent.html
parent95a067f0ed8fb580cc3652acd4c7885eb000244a (diff)
Only plot when a Picture object is there
grConvert is not needed for plotting
Diffstat (limited to 'docs/reference/plot.chent.html')
-rw-r--r--docs/reference/plot.chent.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/reference/plot.chent.html b/docs/reference/plot.chent.html
index cc4d376..026c25f 100644
--- a/docs/reference/plot.chent.html
+++ b/docs/reference/plot.chent.html
@@ -141,7 +141,7 @@
#&gt; [3] "58-08-2" "Guaranine"
#&gt; [5] "1,3,7-Trimethylxanthine" "Thein"
#&gt; [7] "Cafeina" "Methyltheobromine"
-#&gt; [9] "Koffein" "Mateina" </div><div class='input'><span class='kw'>if</span> (<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/ns-load'>requireNamespace</a></span>(<span class='st'>"grConvert"</span>)) {
+#&gt; [9] "Koffein" "Mateina" </div><div class='input'><span class='kw'>if</span> (!<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/NULL'>is.null</a></span>(<span class='no'>caffeine</span>$<span class='no'>Picture</span>)) {
<span class='fu'><a href='https://www.rdocumentation.org/packages/graphics/topics/plot'>plot</a></span>(<span class='no'>caffeine</span>)
}</div><div class='img'><img src='plot.chent-1.png' alt='' width='700' height='433' /></div></pre>
</div>

Contact - Imprint