Open ~/.bash_profile
in your favorite editor and add the following content to the bottom.
# Git branch in prompt.
parse_git_branch() {
library(shiny) | |
server <- function(input, output) { | |
output$input_ui <- renderUI({ | |
num <- as.integer(input$num) | |
lapply(1:num, function(i) { | |
numericInput(paste0("n_input_", i), label = paste0("n_input", i), value = 0) | |
}) | |
}) |
clear | |
set seed 10009 | |
set obs 100 | |
gen x1 = rnormal() | |
* Induce positive correlation between x1 and x2 | |
gen x2 = rnormal() + .2*x1 | |
* TRUE data-generating process | |
gen y = 1 + x1 + 5*x2 + rnormal() |
# If you don't list all dependencies for code (because maybe it varies programmatically) then you can force a remake by doing 'make -B <target>. Note that it will remake all dependencies! | |
#nice-ness. Uncomment a line to enable. Default is +10 | |
#nice_prefix := nice | |
#nice_prefix := nice -n10 | |
############################# Project-specific Entries #################### | |
# which entries use parallel and need a windows gateway | |
# from $grep -r eval_synth . --include="*.do" |
This is my recommended Python setup, as of Fall 2022. The Python landscape can be a confusing mess of overlapping tools that sometimes don't work well together. This is an effort to standardize our approach and environments.