「raster」パッケージを使用してラスターをプロットしようとしていますが、エラーが発生します
これが私のコードです
map = raster("A055E.tif")
plot(map)
Error in `colnames<-`(`*tmp*`, value = "A055E") :
length of 'dimnames' [2] not equal to array extent
sessionInfo()
R version 3.1.1 (2014-07-10)
Platform: i386-w64-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] rgdal_0.9-1 raster_2.3-0 sp_1.0-15
loaded via a namespace (and not attached):
[1] grid_3.1.1 lattice_0.20-29 tools_3.1.1
ただし、次のバージョンの Linux マシンで実行すると: R バージョン 3.1.1 (2014-07-10) プラットフォーム: i686-pc-linux-gnu (32 ビット)、raster_2.2-31 sp_1.0 -15)
それは私に問題を与えません