जब से तुम एक प्रदान नहीं किया है, मैं तुम्हारे लिए ऐसा करेंगे:
\documentclass{article}
\begin{document}
Side by side images:
\begin{figure}[htpb]
<<myChunk, fig.width=3, fig.height=2.5, out.width='.49\\linewidth', fig.show='hold'>>=
par(mar=c(4,4,.1,.1),cex.lab=.95,cex.axis=.9,mgp=c(2,.7,0),tcl=-.3)
plot(cars)
boxplot(cars$dist,xlab='dist')
@
\end{figure}
Ta da!
\end{document}
जो कुछ है कि मेरे लिए मोटे तौर पर इस तरह दिखता है जब मैं knitr चलाने में जो परिणाम:

यह सुनिश्चित करने के लिए कि सबकुछ अच्छा दिखता है, par
सेटिंग्स के साथ झुकाव पर ध्यान दें। आप को टिंकर करना होगा।
यह न्यूनतम प्रतिलिपि उदाहरण knitr वेबसाइट पर बहुत विस्तृत examples से लिया गया था।
संपादित
अपने दूसरे सवाल का जवाब करने के लिए, भले ही यह एक शुद्ध LaTeX सवाल का अधिक है, यहाँ एक न्यूनतम उदाहरण है:
\documentclass{article}
\usepackage{wrapfig,lipsum}
%------------------------------------------
\begin{document}
This is where the table goes with text wrapping around it. You may
embed tabular environment inside wraptable environment and customize as you like.
%------------------------------------------
\begin{wraptable}{l}{5.5cm}
\caption{A wrapped table going nicely inside the text.}\label{wrap-tab:1}
<<mychunk,results = asis,echo = FALSE>>=
library(xtable)
print(xtable(head(cars)),floating = FALSE)
@
\end{wraptable}
%------------------------------------------
\lipsum[2]
\par
Table~\ref{wrap-tab:1} is a wrapped table.
%------------------------------------------
\end{document}
, एक बार फिर मैं बस अनुकूलित कोड मैं में पाया thisपर आश्चर्यजनक सहायक tex.stackexchange.com साइट पर प्रश्न।
क्या आप एक साधारण न्यूनतम उदाहरण प्रदान कर सकते हैं। आरएनडब्ल्यू फाइल जो दिखाती है कि यह काम नहीं कर रही है? कोड का उपयोग करते हुए – joran
बराबर (mfrow = c (1, 2)) का उपयोग कर ऐसा नहीं करता है? – Kay