-#LyX 2.2 created this file. For more info see http://www.lyx.org/
-\lyxformat 508
+#LyX 2.3 created this file. For more info see http://www.lyx.org/
+\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
+\use_microtype false
+\use_dash_ligatures false
\graphics default
\default_output_format default
\output_sync 0
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
-\use_package cancel 0
+\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
-\use_package mathtools 0
+\use_package mathtools 1
\use_package mhchem 1
-\use_package stackrel 0
-\use_package stmaryrd 0
+\use_package stackrel 1
+\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\suppress_date false
\justification true
\use_refstyle 1
+\use_minted 0
\index Index
\shortcut idx
\color #008000
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
-\quotes_language english
+\is_math_indent 0
+\math_numbering_side default
+\quotes_style english
+\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
name "xie@yihui.name"
target "xie@yihui.name"
type "mailto:"
+literal "false"
\end_inset
source documents.
\end_layout
+\begin_layout Standard
+Since \SpecialChar LyX
+ 2.3, it is necessary to enable the use of
+\emph on
+needauth
+\emph default
+ converters in
+\family sans
+ Preferences\SpecialChar menuseparator
+File Handling\SpecialChar menuseparator
+Converters
+\family default
+ in order to compile with
+\series bold
+knitr
+\series default
+.
+\end_layout
+
\begin_layout Standard
Note the
\series bold
\end_layout
\begin_layout Standard
-\begin_inset ERT
+\begin_inset Flex Chunk
status open
\begin_layout Plain Layout
-<<show-off>>=
-\end_layout
+\begin_inset Argument 1
+status open
\begin_layout Plain Layout
-rnorm(5)
+show-off
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Plain Layout
-df=data.frame(y=rnorm(100), x=1:100)
+rnorm(5)
\end_layout
\begin_layout Plain Layout
-summary(lm(y~x, data=df))
+df=data.frame(y=rnorm(100), x=1:100)
\end_layout
\begin_layout Plain Layout
-@
+summary(lm(y~x, data=df))
\end_layout
\end_inset