Use these rapid keyboard shortcuts to control the GitHub Atom text editor on macOS.
- ⌘ : Command key
- ⌃ : Control key
- ⌫ : Delete key
- ← : Left arrow key
- → : Right arrow key
- ↑ : Up arrow key
| #!/usr/bin/env Rscript | |
| library(rvest) | |
| futile.logger::flog.info('starting...') | |
| futile.logger::flog.info('checking website') | |
| ubuntu_dailies <- read_html("https://dailies.rstudio.com/rstudioserver/oss/ubuntu/amd64/") | |
| futile.logger::flog.info('extracting url') | |
| ubuntu_latest <- ubuntu_dailies %>% | |
| html_nodes(".filename a") %>% | |
| html_attr("href") |
| library(magick) | |
| library(reshape2) | |
| library(dplyr) | |
| library(tidygraph) | |
| library(particles) | |
| library(animation) | |
| plot_fun <- function(sim) { | |
| df <- as_tibble(sim) | |
| plot(df$x, df$y, col = df$color, pch = '.', axes = FALSE, xlim = c(-100, 317), ylim = c(-268, 100), xlab = NA, ylab = NA) |
| library(data.table) | |
| library(gganimate) | |
| library(ggplot2) | |
| #toy example data | |
| dt = data.table(time=1:10, x=round(runif(10, 50, 100), 0)) | |
| #number of frames per bar | |
| n_frames_per_bar = 20 | |
| #create sequence per time (to imitate the bar growing from ground) |
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on macOS.
| # Here are a few methods for getting text from PDF files. Do read through | |
| # the instructions carefully! NOte that this code is written for Windows 7, | |
| # slight adjustments may be needed for other OSs | |
| # Tell R what folder contains your 1000s of PDFs | |
| dest <- "G:/somehere/with/many/PDFs" | |
| # make a vector of PDF file names | |
| myfiles <- list.files(path = dest, pattern = "pdf", full.names = TRUE) |
Install the newest version of R. Additionally, I highly recommend R-Studio for working with R regularly (but the basic command line will work just fine for most applications). Once R is installed, you can install GTK directly from within R (details below). In short:
RGtk2 package by running: install.packages("RGtk2", depen=T)package ‘RGtk2’ is not available (for R version xxx) if your version of R has been released very recently. If so, just run install.packages("RGtk2", depen=T, type="source") instead to install the RGtk2 package directly from its source code (this might take a few| Byobu Commands | |
| ============== | |
| byobu Screen manager | |
| Level 0 Commands (Quick Start) | |
| ------------------------------ | |
| <F2> Create a new window |
Simplest intro to git by github and codeschool - Try Git
[Intro to github]