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
# http://trinkerrstuff.wordpress.com/2014/05/12/handling-s3methods-death-in-roxygen-4-0-0/ | |
pth <- "C:/Users/trinker/qdap/R" | |
fls <- file.path(pth, dir(pth)) | |
FUN <- function(x) { | |
cont <- readLines(x) | |
cont[grepl("#' @S3", cont)] <- "#' @export" | |
cont[length(cont) + 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
# check if you need to install these packages | |
pkg <- c("RODBC", "ggplot2") | |
inst <- pkg %in% installed.packages() | |
# inst | |
if (length(pkg[!inst]) > 0) { | |
install.packages(pkg[!inst]) | |
} | |
# load all required packages into session | |
lapply(pkg, library, character.only = TRUE) |
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
# solarized light color scheme for my TexShop setup | |
defaults write TeXShop background_R 0.99 | |
defaults write TeXShop background_G 0.96 | |
defaults write TeXShop background_B 0.89 | |
defaults write TeXShop commandred 0.0 | |
defaults write TeXShop commandgreen 0.0 | |
defaults write TeXShop commandblue 1.0 |
OlderNewer