I am trying out the examples mentioned in this link . I have successfully installed all the packages mentioned as the basic packages here.
When I try to use command gmap
(given in the example as mymap <- gmap("France")
i get the following problem:
> gmap("France")
Loading required namespace: rgdal
Failed with error: ‘there is no package called ‘rgdal’’
Error in gmap("France") : rgdal not available
Also I am aware that gmap
command belongs to the package dismo
. And I have successfully installed this package.