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 R CMD INSTALL . | |
* installing to library ‘/usr/local/lib/R/library’ | |
* installing *source* package ‘....’ ... | |
Error : Invalid DESCRIPTION file | |
Required fields missing: | |
License | |
See the information on DESCRIPTION files in section 'Creating R | |
packages' of the 'Writing R Extensions' manual. |
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("ggplot2") | |
library(plyr) | |
n.sims <- 100 | |
max.n.vars <- 100 | |
n.obs <- 100 | |
res <- data.frame() | |
for (sim in 1:n.sims) |
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
require(OpenMx) | |
library(parallel) | |
data(demoOneFactor) | |
manifests <- names(demoOneFactor) | |
latents <- c("G") | |
factorModel <- mxModel(name="One Factor", | |
type="RAM", | |
manifestVars = manifests, |
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
STAN_HOME=$HOME/Applications/stan | |
export STAN_HOME |
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
# Conky, a system monitor, based on torsmo | |
# | |
# conky configuration | |
# edited by [email protected] | |
# set to yes if you want Conky to be forked in the background | |
background no | |
# X font when Xft is disabled, you can pick one with program xfontsel | |
#font 5x7 |
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
# Solution to the Messy Matters ubercousin Bonus Puzzle | |
# http://messymatters.com/2011/09/30/smallworld/ | |
library(pedantics) | |
fixPedigree( # automatically create entries for the granddams/grandsires | |
as.data.frame(matrix( | |
# id dam sire |
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
nitt <- dim(m5a.2$VCV)[1] # number of iterations | |
VCV <- array(as.vector(m5a.2$VCV), dim=c(nitt, 2, 2, 2), | |
dimnames=list(itt=1:nitt, trait=c('y.hol', 'y.car'), trait=c('y.hol', 'y.car'), random=c('id', 'units'))) |
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
source("http://bioconductor.org/biocLite.R") | |
biocLite("Rdbi") |
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
>Error # 2072 | |
>There was an unanticipated problem with the license for this product. | |
>This command not executed. | |
>Specific symptom number: 4 | |
End of job: 7 command lines 1 errors 0 warnings 0 CPU seconds |
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
[diff] | |
tool = chdiff | |
[difftool] | |
prompt = false | |
[difftool "chdiff"] | |
cmd = /usr/bin/env chdiff "$LOCAL" "$REMOTE" |