\begin{knitrout}
\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
\begin{alltt}
\hlstd{fit} \hlkwb{<-} \hlkwd{fitdistr}\hlstd{(d}\hlopt{$}\hlstd{dist,} \hlstr{"weibull"}\hlstd{)} \hlcom{# функция из пакета MASS}
\hlstd{fit}\hlopt{$}\hlstd{estimate}
\end{alltt}
\begin{verbatim}
##    shape    scale 
##  1.72371 48.15234
\end{verbatim}
\end{kframe}
\end{knitrout}