Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

我想要存取透過革命 R 企業草 GIS 命令。下列程式碼透過 RStudio 的運作正常︰

require(spgrass6) 
setwd("D:/Temp/testLsat2") 
loc <-initGRASS("C:/Program Files (x86)/草 GIS 6.4.3",home=getwd()、 gisDbase ="LSAT3",覆寫 = TRUE)

但出現下列錯誤訊息,當透過 [R] 主控台中執行程式碼,從革命:

在檔案中的錯誤 (檔案、 ifelse (附加,"a"、"w")):
無法開啟連線
此外︰ 警告訊息︰
1︰ 執行命令 ' g.dirseps.exe-g"D:/Temp/testLsat2\.grassrc6"' 有狀態 309
2︰ 執行命令 ' g.dirseps.exe-g"LSAT3"' 有狀態 309
3︰ 執行命令 ' g.gisenv.exe"設定 = GISDBASE = NA"' 有狀態 309
4︰ 執行命令 ' g.gisenv.exe"設定 = GISDBASE = NA"' 有狀態 309
5︰ 執行命令 ' g.gisenv.exe"設定 = LOCATION_NAME = file1948485237cb"' 有狀態 309
6︰ 執行命令 ' g.gisenv.exe"設定 = MAPSET = file194846673c18"' 有狀態 309
7︰ 執行命令 ' g.gisenv.exe"設定 = GRASS_GUI = 文字"' 有狀態 309
8︰ 執行命令 'g.version.exe' 有狀態 309
9︰ 檔案中 (檔案、 ifelse (附加,"a"、"w")):
無法開啟檔案 ' NA/file1948485237cb/永久/DEFAULT_WIND ': 沒有這種檔案或目錄


答案︰ 他們使用 GIS 系統連接的協力廠商套件,而且現在我們沒有可用於測試和重現您的錯誤,但從系統路徑中移除所需的草 GIS bin 目錄的 GIS 系統一切都好現在運作。我們也可以取得一些資訊,在

http://r-sig-geo.2731867.n2.nabble.com/Linking-R-spgrass6-to-OSGEO4W-GRASS-GIS-installation-td7585204.html

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×