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: "Title" | |
#' author: "My Name" | |
#' date: "" | |
#' output: html_document | |
#' --- | |
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
{ | |
"panes": { | |
"quadrants": [ | |
"Source", | |
"Console", | |
"TabSet1", | |
"TabSet2" | |
], | |
"tabSet1": [ | |
"Environment", |
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
sudo wget http://se.archive.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb | |
sudo dpkg -i libpng12-0_1.2.54-1ubuntu1_amd64.deb |
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
Set-ExecutionPolicy Bypass -Scope Process -Force; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) |
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
sudo apt update && sudo apt upgrade -y | |
sudo apt install ubuntu-mate-desktop --no-install-recommends -y | |
sudo apt-get install mate-desktop-environment-extras | |
sudo dpkg-reconfigure dbus && sudo service dbus restart | |
# install missing icons | |
sudo apt install ubuntu-mate-icon-themes | |
# install fira code font | |
sudo apt install fonts-firacode |
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
REM Launch an X11 window | |
start /B ubuntu-nodec.xlaunch | |
REM Start pulseaudio | |
start "" /B "C:\bin\pulseaudio-1.1\bin\pulseaudio.exe" | |
REM For WSL 1 | |
REM ubuntu1804.exe run "if [ -z \"$(pidof mate-session)\" ]; then export DISPLAY=127.0.0.1:0.0; export PULSE_SERVER=tcp:127.0.0.1; mate-session; pkill '(gpg|ssh)-agent'; taskkill.exe /IM pulseaudio.exe /F; taskkill.exe /IM vcxsrv.exe; fi;" | |
REM For WSL 2 |
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
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<dir>/mnt/c/Windows/Fonts</dir> | |
</fontconfig> |
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
# rstan::rstan_options(auto_write = TRUE) | |
if (Sys.info()["sysname"] == "Windows"){ | |
# For improved execution time, we recommend calling | |
Sys.setenv(LOCAL_CPPFLAGS = '-march=corei7 -mtune=corei7') | |
} | |
# don't ask to save workspace on quit; `q()` | |
# utils::assignInNamespace( | |
# "q", | |
# function(save = "no", status = 0, runLast = 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
chkdsk /r /f |
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
# GITHUB_PAT=# use gitcreds instead | |
# delete .tar.gz after checking package | |
R_KEEP_PKG_SOURCE=no | |
# first download JAVA JDK | |
JAVA_HOME="C:/Program Files/Java/jdk-16.0.1" | |
# first download and install JAGS | |
JAGS_HOME="C:/Program Files/JAGS/JAGS-4.3.0" |