[R] problem with extract raster with polygon

2017-03-21 Thread Jacob Strunk
Hello, I am having some troubles extracting pixels from a raster using polygons. When I attempt to do so, pixels which are only partially intersected by polygons are not included. In the example below the number of pixels returned is less than the number of pixels which can be seen intersecting

[R] package.skeleton, environment argument causes error

2016-08-18 Thread Jacob Strunk
zz", list0[wrong]) ok <- grepl("^[[:alnum:]]", list0) if (any(!ok)) list0[!ok] <- paste0("z", list0[!ok]) list1 <- tolower(list0) list2 <- make.unique(list1, sep = "_") changed <- (list2 != list1) list0[changed] <-