-
Notifications
You must be signed in to change notification settings - Fork 586
/
034-chinese.html
83 lines (81 loc) · 1.8 KB
/
034-chinese.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
.inline {
background-color: #f7f7f7;
border:solid 1px #B0B0B0;
}
.error {
font-weight: bold;
color: #FF0000;
}
.warning {
font-weight: bold;
}
.message {
font-style: italic;
}
.source, .output, .warning, .error, .message {
padding: 0 1em;
border:solid 1px #F7F7F7;
}
.source {
background-color: #f5f5f5;
}
.left {
text-align: left;
}
.right {
text-align: right;
}
.center {
text-align: center;
}
.hl.num {
color: #AF0F91;
}
.hl.sng {
color: #317ECC;
}
.hl.com {
color: #AD95AF;
font-style: italic;
}
.hl.opt {
color: #000000;
}
.hl.def {
color: #585858;
}
.hl.kwa {
color: #295F94;
font-weight: bold;
}
.hl.kwb {
color: #B05A65;
}
.hl.kwc {
color: #55aa55;
}
.hl.kwd {
color: #BC5A65;
font-weight: bold;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>你好,中文</title>
</head>
<body>
<p>肿么就不能写中文呢?</p>
<div class="chunk" id="unnamed-chunk-1"><div class="rcode"><div class="source"><pre class="knitr r"><span class="hl def">x</span> <span class="hl kwb">=</span> <span class="hl num">1</span> <span class="hl opt">+</span> <span class="hl num">1</span>
<span class="hl kwd">pnorm</span><span class="hl def">(x)</span>
</pre></div>
<div class="output"><pre class="knitr r">## [1] 0.9772
</pre></div>
<div class="source"><pre class="knitr r"><span class="hl kwd">plot</span><span class="hl def">(mtcars[,</span> <span class="hl num">1</span><span class="hl opt">:</span><span class="hl num">2</span><span class="hl def">])</span>
</pre></div>
</div><div class="rimage default"><img src="https://db.yihui.org/knitr-examples/figure/034-chinese-unnamed-chunk-1-1.png" alt="plot of chunk unnamed-chunk-1" class="plot" /></div></div>
<p>介不是好好的吗?</p>
</body>
</html>