Hi, A terrific resource for this type of issue (and pretty much anything related to R) is http://rseek.org/ I'm sure I use it at least daily. Check out ...
http://rseek.org/?q=pointsToRaster The first hit is about pointsToRaster() - it has been replaced by raster::rasterize() Cheers, Ben > On Apr 30, 2016, at 4:28 AM, Ogbos Okike <giftedlife2...@gmail.com> wrote: > > Dear All, > I have a script that draws longitude and latitude of lightning > occurrence. This script was running fine before. But when I changed my > system and do a fresh install on another laptop, this error persist. > source("script") > Error in eval(expr, envir, enclos) : > could not find function "pointsToRaster" > > I have tried to see if there is any other package I need to install > to take of the problem, I could not see. Already, when I installed > raster, it installed its dependencies such as sp. > Can any body please bail me out. > > Thanks > Ogbos > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. Ben Tupper Bigelow Laboratory for Ocean Sciences 60 Bigelow Drive, P.O. Box 380 East Boothbay, Maine 04544 http://www.bigelow.org ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.