Skip to content

Instantly share code, notes, and snippets.

View maxtaq's full-sized avatar

maxtaq

View GitHub Profile
@igorbrigadir
igorbrigadir / convert.R
Created March 1, 2016 18:32
Convert SPSS SAV or DTA files to CSV with R
library(foreign)
# SAV file?
write.table(read.spss("spss_data.sav", file="from_sav_data.csv", quote = FALSE, sep = ",")
# DTA file?
write.table(read.dta("spss_data.dta"), file="from_dta_data.csv", quote = FALSE, sep = ",")
@c-bata
c-bata / ubuntu_setup.sh
Last active January 14, 2023 01:10
Ubuntuのセットアップを出来るだけ自動化するシェルスクリプト
#!/bin/bash
#====================================================================
# aptのアップデート
#====================================================================
yes | sudo apt-get update
yes | sudo apt-get upgrade
#====================================================================
# 『デスクトップ』『音楽』などの日本語フォルダー名を英語表記にする
#====================================================================