Assistant Professor - Computer Science
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
The bibtex autocomplete suggester should show more fields than what it currently shows.
After I submitted my package to CRAN yesterday, Uwe Ligges sent me a kind email letting me know CRAN was seeing NOTE
s in its package check process. A classic problem for R package maintainers: we can't reproduce the package-check errors CRAN sees.
I built an entire VM, essentially from scratch, that anyone with Vagrant and VirtualBox can run. My package passes all the checks with only one NOTE
(about bypassing cyclic dependency checks).
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
--- | |
title: "Tufte Handout" | |
author: "John Smith" | |
date: "August 13th, 2014" | |
output: rmarkdown::tufte_handout | |
--- | |
# Introduction | |
The Tufte-\LaTeX\ [^tufte_latex] document classes define a style similar to the style Edward Tufte uses in his books and handouts. Tufte's style is known for its extensive use of sidenotes, tight integration of graphics with text, and well-set typography. |
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
root@vagrant-ubuntu-trusty-64:/vagrant# cabal install pandoc-citeproc | |
Resolving dependencies... | |
Downloading SHA-1.6.4.1... | |
Configuring SHA-1.6.4.1... | |
Building SHA-1.6.4.1... | |
Preprocessing library SHA-1.6.4.1... | |
[1 of 1] Compiling Data.Digest.Pure.SHA ( src/Data/Digest/Pure/SHA.hs, dist/build/Data/Digest/Pure/SHA.o ) | |
In-place registering SHA-1.6.4.1... | |
Installing library in /root/.cabal/lib/SHA-1.6.4.1/ghc-7.6.3 | |
Registering SHA-1.6.4.1... |
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
def find_where_repeating_nines_equal_integers(known_integer, power_of_ten=1): | |
if known_integer == (known_integer - (10**power_of_ten)): | |
print("The Power of Ten was ", power_of_ten, "when the integer equaled the repeated nines") | |
print("known_integer was ", known_integer) | |
return(power_of_ten) | |
else: | |
find_where_repeating_nines_equal_integers(known_integer, (power_of_ten - 1)) |
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
# Make plots inline | |
%matplotlib inline | |
# Make inline plots vector graphics instead of raster graphics | |
# from IPython.display import set_matplotlib_formats | |
# set_matplotlib_formats('pdf', 'svg') | |
# DeprecationWarning: `set_matplotlib_formats` is deprecated since IPython 7.23, directly use `matplotlib_inline.backend_inline.set_matplotlib_formats()` | |
import matplotlib_inline | |
matplotlib_inline.backend_inline.set_matplotlib_formats('retina', 'png', quality = 100) |