...
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{framed}
\usepackage{graphicx}
%\usepackage{hyperref}
%\usepackage[hdivide={2cm, *, 2cm}, vscale=0.85]{geometry}
%\usepackage[backend=bibtex]{biblatex}
%\usepackage{listings}
\title{Correlation analysis of the wildlings' deaths and the rise of white walkers}
\author{John Snow}
\date{}
\begin{document}
\maketitle
\section{Introduction}
\end{document}
and save the file (the authomatic file extension will be .Rnw) and try to compile the file ("Compile PDF" button). You should be prompted a PDF: congratulations, this is your first LaTeX file!
Sweave and knitr
You can of course copy-paste your code in LaTeX (using e.g. the package listings for syntax formatting) and save graphics to include, but here the advantage is:
...