Compare commits

..

2 Commits

Author SHA1 Message Date
Alex Gebben Work
cbe04f7a37 Added webscraping libraries. Improved vim 2026-01-12 11:39:36 -07:00
Alex Gebben Work
f9edc170b0 File rename 2026-01-08 15:42:04 -07:00
3 changed files with 14 additions and 4 deletions

View File

@ -2,7 +2,6 @@
#Docker images with all the R packages I have ever used #Docker images with all the R packages I have ever used
alias r-full='docker run -ti --rm -v ./:/R-Code/ acg/r_full:latest bash' #Pull in the current directory into the docker image. Enter the image to modify with a r vim IDE preloaded. alias r-full='docker run -ti --rm -v ./:/R-Code/ acg/r_full:latest bash' #Pull in the current directory into the docker image. Enter the image to modify with a r vim IDE preloaded.
alias r-full-script='docker run -v ./:/R-Code/ acg/r_full:latest Rscript' #Run a r-file as a script rather than Interactively alias r-full-script='docker run -v ./:/R-Code/ acg/r_full:latest Rscript' #Run a r-file as a script rather than Interactively
#Docker images with minimal packages loaded to save space #Docker images with minimal packages loaded to save space
alias r-min='docker run -ti --rm -v ./:/R-Code/ acg/r_minimal:latest bash' alias r-min='docker run -ti --rm -v ./:/R-Code/ acg/r_minimal:latest bash'
alias r-min-script='docker run -v ./:/R-Code/ acg/r_minimal:latest Rscript' alias r-min-script='docker run -v ./:/R-Code/ acg/r_minimal:latest Rscript'

View File

@ -12,9 +12,9 @@ RUN apt-get update \
&& chmod 777 /usr/local/lib/R/site-library && chmod 777 /usr/local/lib/R/site-library
USER rdocker USER rdocker
#Install all necessary packages for anaylysis, file manipulation, or for the required R packages to function. #Install all necessary packages for anaylysis, file manipulation, or for the required R packages to function.
RUN sudo apt-get install -y libmariadb-dev imagemagick ghostscript libpoppler-cpp-dev vim wget curl git libcurl4-openssl-dev build-essential texlive-full RUN sudo apt-get install -y libmariadb-dev imagemagick ghostscript libpoppler-cpp-dev vim wget curl git libcurl4-openssl-dev build-essential texlive-full chromium-browser firefox
#Install the R packages used in the R data creation scripts run on on the docker container. #Install the R packages used in the R data creation scripts run on on the docker container.
RUN install2.r tidyverse fixest twang pdftools gt scales vars curl forecast uuid corrplot foreach cluster factoextra xtable Formula miscTools MASS kableExtra clisymbols fredr readxl lubridate tidycensus zipcodeR stargazer sandwich lmtest ggnewscale viridis ggthemes MatchIt optmatch aTSA tsDyn bruceR svars tidyquant zoo eia renv BiocManager miscTools logr && rm -rf /tmp/downloaded_packages RUN install2.r tidyverse fixest twang pdftools gt scales vars curl forecast uuid corrplot foreach cluster factoextra xtable Formula miscTools MASS kableExtra clisymbols fredr readxl lubridate tidycensus zipcodeR stargazer sandwich lmtest ggnewscale viridis ggthemes MatchIt optmatch aTSA tsDyn bruceR svars tidyquant zoo eia renv BiocManager miscTools logr selenium selendir && rm -rf /tmp/downloaded_packages
#Packages used in DCchoice nuclear contigent valuation paper which require a special install method #Packages used in DCchoice nuclear contigent valuation paper which require a special install method
#Icens is required to be installed using BiocManager for DCchoice to be installed. #Icens is required to be installed using BiocManager for DCchoice to be installed.
#"interval" required Icens to be installed #"interval" required Icens to be installed

View File

@ -11,4 +11,15 @@ call plug#begin('~/.vim/plugged')
Plug 'frazrepo/vim-rainbow' Plug 'frazrepo/vim-rainbow'
call plug#end() call plug#end()
let g:rainbow_active = 1 let g:rainbow_active = 1
" Initialize plugin system
syntax on
"noremap n j
"noremap e k
"noremap i l
"noremap l i
"noremap k e
"noremap j n
nmap <M-Right> :vertical resize +1<CR>
nmap <M-Left> :vertical resize -1<CR>
nmap <M-Down> :resize +1<CR>
nmap <M-Up> :resize -1<CR>