使用gmapsdistance包,我尝试运行简单的代码行:

results=gmapsdistance("Chicago+IL","New+York+City+NY","walking","myapicode")

我收到以下错误:
Error: 1: Input is not proper UTF-8, indicate encoding !
Bytes: 0xC9 0x74 0x61 0x74

请告诉我我做错了什么,或指出一个方向来帮助解决我的问题。

最佳答案

谢谢你的帖子。我是gmapsdistance软件包的维护者。我收到了几封针对Windows用户的带有此错误的电子邮件。我修复并再次提交给CRAN。如果尚未在CRAN中启动,则可以从github网站安装最新版本:

# install.packages("devtools")
devtools::install_github("rodazuero/gmapsdistance")

请让我知道问题是否仍然存在。

关于R: "Error: 1: Input is not proper UTF-8, indicate encoding ! Bytes: 0xC9 0x74 0x61 0x74",我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/35186520/

10-09 03:50