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
open -n -a RStudio.app |
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
git rebase --abort |
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
colorscheme shine | |
set guifont=Fira\ Code:h13 |
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
# Solution to Linux warning message | |
# Warning: package '#' in library '/usr/lib/R/library' will not be updated | |
update.packages(oldPkgs = old.packages(), ask = FALSE) |
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
#!/usr/bin/env bash | |
# OpenBLAS serial | |
sudo apt-get install libopenblas-serial-dev | |
sudo update-alternatives --set libblas.so.3-x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/openblas-serial/libblas.so.3 | |
sudo update-alternatives --set liblapack.so.3-x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/openblas-serial/liblapack.so.3 | |
# OpenBLAS pthread | |
# sudo apt-get install libopenblas-base | |
# sudo update-alternatives --set libblas.so.3-x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3 |
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
#' --- | |
#' title: "Test TwoSampleMR installation methods" | |
#' date: "2023-02-09" | |
#' output: html_document | |
#' --- | |
remove.packages(c('TwoSampleMR')) | |
reprex::reprex({ | |
remotes::install_github("MRCIEU/TwoSampleMR") |
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
mklink %APPDATA%\TinyTeX\tlpkg\tlgs\Resource\Init\Fontmap "%ProgramFiles(x86)%\gs\gs9.56.1\Resource\Init\Fontmap" | |
mklink %APPDATA%\TinyTeX\tlpkg\tlgs\Resource\Init\Fontmap.GS "%ProgramFiles(x86)%\gs\gs9.56.1\Resource\Init\Fontmap.GS" | |
rd /s /q %APPDATA%\TinyTeX\tlpkg\tlgs\Resource\Font | |
mklink /d %APPDATA%\TinyTeX\tlpkg\tlgs\Resource\Font "%ProgramFiles(x86)%\gs\gs9.56.1\Resource\Font" |
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
% (Public domain.) | |
% This texmf.cnf file should contain only your personal changes from the | |
% original texmf.cnf (for example, as chosen in the installer). | |
% | |
% That is, if you need to make changes to texmf.cnf, put your custom | |
% settings in this file, which is .../texlive/YYYY/texmf.cnf, rather than | |
% the distributed file (which is .../texlive/YYYY/texmf-dist/web2c/texmf.cnf). | |
% And include *only* your changed values, not a copy of the whole thing! | |
% | |
TEXMFLOCAL = $SELFAUTOPARENT/texmf-local |
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
FC=/usr/local/bin/gfortran | |
F77=/usr/local/bin/gfortran | |
FLIBS=-L/usr/local/gfortran/lib | |
CFLAGS=-I/opt/homebrew/include | |
CPPFLAGS=-I/opt/homebrew/include | |
CXXFLAGS=-I/opt/homebrew/include | |
CXX11FLAGS=-I/opt/homebrew/include | |
LDFLAGS=-L/opt/homebrew/lib |
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
install.packages("tinytex") | |
tinytex::install_tinytex() |