Created
March 14, 2013 15:26
-
-
Save alexhanna/5162283 to your computer and use it in GitHub Desktop.
When Brett dared me to Sweave Adam's website.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{graphicx} | |
\title{Can I Sweave Adam's Website?} | |
\author{Alexander Hanna} | |
\begin{document} | |
\maketitle | |
% put R code here | |
<<web>>= | |
library("httpRequest") | |
doc <- getToHost("ssc.wisc.edu", "/~aslez/", '', 80) | |
print( strsplit(doc, "\n") ) | |
@ | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment