[R] Could not find function "pointsToRaster"

Ben Tupper btupper at bigelow.org
Sat Apr 30 13:35:45 CEST 2016


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 ...


The first hit is about pointsToRaster() - it has been replaced by raster::rasterize()


> On Apr 30, 2016, at 4:28 AM, Ogbos Okike <giftedlife2014 at 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 at 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

More information about the R-help mailing list