Dear Ogbos Okike, I can't know how your script depends on pointsToRaster(), but googling around I found that the function seems to have been marked as obsolete:
http://www.inside-r.org/packages/cran/raster/docs/linesToRaste Hope that helps, Leonardo Ferreira Fontenelle http://lattes.cnpq.br/9234772336296638 Em Sáb 30 abr. 2016, às 05:28, Ogbos Okike escreveu: > 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. ______________________________________________ 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.