%% LyX 2.0.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[spanish,14pt]{beamer}
\usepackage{mathptmx}
\usepackage{helvet}
\usepackage{courier}
\renewcommand{\familydefault}{\rmdefault}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{color}
\usepackage{calc}
\usepackage{amsmath}
\usepackage{amssymb}

\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
 % this default might be overridden by plain title style
 \newcommand\makebeamertitle{\frame{\maketitle}}%
 \AtBeginDocument{
   \let\origtableofcontents=\tableofcontents
   \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
   \def\gobbletableofcontents#1{\origtableofcontents}
 }
 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
   \frame<#1>[#2][#3]{\frametitle{#4}#5}}
 \def\lyxframeend{} % In case there is a superfluous frame end

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{minivideo}

\makeatother

\usepackage{babel}
\addto\shorthandsspanish{\spanishdeactivate{~<>}}

\begin{document}




\date{}



\framebox{\begin{minipage}[t][5cm][c]{1\textwidth}%

\title{\textcolor{red}{INSTALAR R}}


\author{\textbf{\textcolor{black}{\emph{Manuel Luque}}}}


\institute{\textbf{\textcolor{black}{\emph{Dpto. Inteligencia Artificial, UNED}}}}\makebeamertitle
%
\end{minipage}}




\lyxframeend{}\lyxframe{\titlemvfirst{INSTALAR R}}

\vspace{-0.7in}%
\framebox{\begin{minipage}[c][1.3\totalheight]{1\textwidth}%
\centering 

Versiones: \mv{Windows, Mac y Linux}

Ejecución \mv{interpretada}

Organizado en \mv{paquetes}

Inst. \mv{base}

Inst. \mv{paquetes externos}%
\end{minipage}}


\lyxframeend{}


\lyxframeend{}\lyxframe{\titlemvsecond{Inst. base}}

\vspace{-0.6in}%
\framebox{\begin{minipage}[c][1.3\totalheight]{1\textwidth}%
Inst. \mv{manual}{} siempre disponible

\texttt{http://cran.es.r-project.org}

Inst. \mv{automática}{} en \mv{Linux}

Disponible en \mv{Ubuntu y Debian}

En consola: \mv{APT}

En entorno gráfico: \mv{Synaptic}

\mv{r-base}%
\end{minipage}}


\lyxframeend{}

%% When using listings in Beamer the frame needs the option 'fragile'
\begin{frame}[fragile]
\frametitle{\titlemvthird{Comprobación}}
\vspace{-1.0in}
\begin{mvenv}
\begin{listador}
n=1000
x <- runif(n,0,1)
y <- runif(n,0,1)
print(4*sum(x^2+y^2<1) / n)
\end{listador}
\begin{listador}
> source(~/ejemplo.R)
\end{listador}
\end{mvenv}

\mv{$\pi\approx3.14$}

\end{frame}


\lyxframeend{}\lyxframe{\titlemvsecond{Inst. paquetes externos}}

\vspace{-1.2in}%
\framebox{\begin{minipage}[c][1.3\totalheight]{1\textwidth}%
\mv{> library()}

\mv{> install.packages(survival)}

Seleccionar \mv{mirror}%
\end{minipage}}


\lyxframeend{}


\lyxframeend{}\lyxframe{\titlemvsummary{Res: Instalar R}}

\vspace{-1.2in}%
\framebox{\begin{minipage}[c][1.3\totalheight]{1\textwidth}%
\mv{Inst. R}

\mv{Inst. base}

\mv{Comprob.}

\mv{Inst. paq. ext.}%
\end{minipage}}


\lyxframeend{}

%% When using listings in Beamer the frame needs the option 'fragile'
\begin{frame}
\vspace{-0.9in}
\finalpicture

\centering
\vspace{0.1in}

\emph{\small E. Letón, L.M. Sarro, M. Luque, UNED (DIA)}{\small \par}

\end{frame}
\end{document}
