This file contains hidden or 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
    
  
  
    
  | structure(c(55, 60, 68, 63, 65, 61, 54, 52, 46, 42, 37, 30, 37, | |
| 44, 55, 53, 58, 50, 48, 45, 41, 34, 30, 24, 29, 34, 44, 54, 57, | |
| 51, 51, 53, 46, 46, 46, 39, 41, 53, 55, 62, 55, 56, 57, 59, 58, | |
| 55, 49, 47, 57, 68, 84, 81, 78, 74, 64, 74, 71, 63, 55, 51, 57, | |
| 63, 75, 85, 80, 77, 68, 72, 68, 70, 53, 50, 53, 58, 73, 72, 68, | |
| 63, 64, 68, 60, 54, 41, 35, 43, 44, 44, 36, 44, 50, 55, 61, 50, | |
| 46, 39, 33, 37, 40, 49, 44, 45, 38, 36, 34, 28, 29, 27, 29, 28, | |
| 29, 36, 32, 36, 34, 31, 36, 39, 40, 39, 33, 44, 46, 57, 59, 64, | |
| 59, 51, 50, 48, 51, 45, 48, 52, 58, 63, 61, 59, 58, 52, 48, 53, | |
| 55, 42, 38, 48, 55, 67, 60, 65, 65, 63, 61, 54, 52, 51, 47, 55, | 
  
    
      This file contains hidden or 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
    
  
  
    
  | lapply(seq_along(a), function(i) {print(paste0(a[i], ": ", nrow(readRDS(a[i]))))}) | 
  
    
      This file contains hidden or 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
    
  
  
    
  | # Answer by Sharpie to the following SO question: | |
| # http://stackoverflow.com/q/3971815/2872891 | |
| # 1. Get the list of packages you have installed, | |
| # use priority to exclude base and recommended packages. | |
| # that may have been distributed with R. | |
| pkgList <- installed.packages(priority='NA')[,'Package'] | |
| # 2. Find out which packages are on CRAN and R-Forge. Because | |
| # of R-Forge build capacity is currently limiting the number of | 
  
    
      This file contains hidden or 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
    
  
  
    
  | sudo find / -size +10M -printf "%k %p\n" 2>&1 | sort -k 1 -g -r | grep -v "No such file" | 
  
    
      This file contains hidden or 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
    
  
  
    
  | # Reproducible process to convert a Microsoft Word document into a TEX document | |
| # | |
| # (Currently under development; partially based on information in the following discussion: | |
| # http://tex.stackexchange.com/questions/46015/converting-ms-word-doc-to-latex-by-command-line) | |
| # | |
| # Step 1. Save Word file as ODT | |
| # | |
| # Step 2. Install or verify installation of Writer2LaTeX (TODO: automate) | |
| # (http://writer2latex.sourceforge.net/) | |
| # | 
  
    
      This file contains hidden or 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
    
  
  
    
  | This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian) (format=pdflatex 2014.8.10) 18 AUG 2014 05:17 | |
| entering extended mode | |
| restricted \write18 enabled. | |
| %&-line parsing enabled. | |
| **demo-slides | |
| (./demo-slides.tex | |
| LaTeX2e <2011/06/27> | |
| Babel <3.9h> and hyphenation patterns for 2 languages loaded. | |
| (/usr/share/texmf/tex/latex/beamer/base/beamer.cls | |
| (/usr/share/texmf/tex/latex/beamer/base/beamerbasercs.sty | 
  
    
      This file contains hidden or 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
    
  
  
    
  | export TEXINPUTS=".:path/to/image:other/path:" | |
| #export TEXINPUTS=~/diss-floss/figures//:~/diss-floss/present/images//:${TEXINPUTS} | 
  
    
      This file contains hidden or 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
    
  
  
    
  | a <- dir() | |
| lapply(seq_along(a), function(i) head(readRDS(a[i]), 20)) | |
| lapply(seq_along(a), function(i) tail(readRDS(a[i]), 20)) | 
  
    
      This file contains hidden or 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
    
  
  
    
  | rm(list=ls(all=TRUE)) # Clear R environment from previous sessions | |
| rds2rda <- function(dataDir = ".", archiveFile = "mergeTestData.rda") { | |
| workDir <- getwd() # save working directory | |
| setwd(dataDir) # set new working directory | |
| objects <- list() | |
| for (file in dir(pattern='\\.rds$')) { | 
  
    
      This file contains hidden or 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
    
  
  
    
  | library(data.table) | |
| fileList <- list.files("../cache/FLOSSmole", pattern="\\.RData$", full.names=TRUE) | |
| dataset <- rbindlist(lapply(fileList, FUN=function(file) {as.data.table(load(file))})) | 
NewerOlder