Skip to content

Instantly share code, notes, and snippets.

View jokerkeny's full-sized avatar

Yang Yang jokerkeny

  • Columbia University
  • New York
View GitHub Profile
@jokerkeny
jokerkeny / GoldPaige.py
Created February 12, 2020 06:42
GoldPaige.py Animation
# coding:utf-8
# Modified for PaigeKing
# Original code from internet, unknown source
import turtle as t
t.pensize(4) # 设置画笔的大小
t.colormode(255) # 设置GBK颜色范围为0-255
t.color((255, 155, 192), "pink") # 设置画笔颜色和填充颜色(gold)
@jokerkeny
jokerkeny / Solutions.md
Last active September 19, 2018 04:23
Solution to run wk2-Tutorial-TextMining.Rmd

If you just wanna see the final report and don't wanna knit it by yourself, just download this html(click and Ctrl+S, with your columbia gmail logged in):
https://drive.google.com/open?id=15pokdPPv8trdWEai-40uUwn2O34KDmJ2

Here are some solutions to some common problems when you try to run/knitr "wk2-Tutorial-TextMining.Rmd".
Hope it can help you.

Install/Load packages

During the first chunk of packages installation&loading, you may see several warnings(which doesn't matter) or errors(which prevents success install/load).
We suggest run "library("rvest"); library("tibble"); ..." line by line and figure out which packages haven't been properly installed. Then, install.package("<TheTroublePackageName>") So you can manually look up the error messages in Google.
Sometimes it may already output the directions to solve the error, just follow it.

Java problem(for "qdap" package)