Skip to content

Instantly share code, notes, and snippets.

@lbusett
lbusett / points_in_distance_parallel.R
Last active September 23, 2020 15:51
function for finding all points within X meters of a point
points_in_distance_parallel <- function(in_pts,
maxdist,
ncuts = 10) {
require(doParallel)
require(foreach)
require(data.table)
require(sf)
# convert points to data.table and create a unique identifier
pts <- data.table(in_pts)
@zhiyzuo
zhiyzuo / Install-Rattle-on-macOS.md
Last active May 17, 2020 12:17
A brief note on how to install rattle/RGtk2 on macOS