Displaying 3 results from an estimated 3 matches for "rasterobjectfromfile".
2017 Sep 06
2
rgdal error when trying to import raster
...t a raster with the line:
nlcd <- raster("/home/jpolo/NRI/nlcd_nri5000.tif")
And I keep getting an error like this:
"Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE,
logical.return = TRUE,? :
? there is no package called 'rgdal'
Error in .rasterObjectFromFile(x, band = band, objecttype =
"RasterLayer",? :
? Cannot create RasterLayer object from this file; perhaps you need to
install rgdal first
Calls: raster -> raster -> .local -> .rasterObjectFromFile
Execution halted"
This is the session info:
"R version 3.2.5 (2016-0...
2017 Sep 06
0
rgdal error when trying to import raster
...lt;- raster("/home/jpolo/NRI/nlcd_nri5000.tif")
>
> And I keep getting an error like this:
>
> "Warning message:
> In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
> there is no package called 'rgdal'
> Error in .rasterObjectFromFile(x, band = band, objecttype = "RasterLayer", :
> Cannot create RasterLayer object from this file; perhaps you need to install rgdal first
> Calls: raster -> raster -> .local -> .rasterObjectFromFile
> Execution halted"
>
> This is the session info:
>
&g...
2017 Sep 06
1
rgdal error when trying to import raster
...I/nlcd_nri5000.tif")
>>
>> And I keep getting an error like this:
>>
>> "Warning message:
>> In library(package, lib.loc = lib.loc, character.only = TRUE,
>logical.return = TRUE, :
>> there is no package called 'rgdal'
>> Error in .rasterObjectFromFile(x, band = band, objecttype =
>"RasterLayer", :
>> Cannot create RasterLayer object from this file; perhaps you need
>to install rgdal first
>> Calls: raster -> raster -> .local -> .rasterObjectFromFile
>> Execution halted"
>>
>> This i...