Skip to content

Instantly share code, notes, and snippets.

View cheyuriy's full-sized avatar

Yury Cheremushkin cheyuriy

  • Montevideo, Uruguay
View GitHub Profile
@cheyuriy
cheyuriy / forks_parser.R
Created January 15, 2018 20:21
R script to extract the same fragment of specified file from every fork of original repository
library(httr)
library(dplyr)
library(glue)
library(purrr)
library(futile.logger)
library(digest)
library(stringr)
flog.threshold(DEBUG)
@cheyuriy
cheyuriy / bittrex_wrapper.R
Created January 8, 2018 22:06
Simple R wrapper for Bittrex Exchange API
# Some nasty packages to make it readable
dependencies <- c("futile.logger", "magrittr", "httr", "jsonlite")
if (!all(dependencies %in% installed.packages())) {
install.packages(dependencies[!(dependencies %in% installed.packages())])
}
library(futile.logger)
library(magrittr)
library(httr)
library(jsonlite)
@cheyuriy
cheyuriy / Installing RMySQL on Windows 7 x64.md
Last active August 29, 2015 14:03
Installing RMySQL on Windows 7 x64 (or similar)

Installing RMySQL on Windows 7 x64 (or similar)

###Step 1. Install RTools. Head to official CRAN page http://cran.r-project.org/ and install the latest available RTools for your R version. Install both x86 and x64 versions to save your nerves.

###Step 2. Installing MySQL connectors Install MySQL C Connectors from official MySQL resource: http://dev.mysql.com/downloads/connector/c/ .

Make sure, that you're installing correct version which corresponds to your platform (x64).

Also check, that you've included installation of all components of C Connector in installation wizard (maybe exluding Documentation).