Mitchell
Mitchell

Reputation: 237

R: "Error: 1: Input is not proper UTF-8, indicate encoding ! Bytes: 0xC9 0x74 0x61 0x74"

Using the gmapsdistance package i tried to run a simple line of code:

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

I get the following error:

Error: 1: Input is not proper UTF-8, indicate encoding !
Bytes: 0xC9 0x74 0x61 0x74

Please tell me what I am doing wrong or point me in a direction to help solve my problem.

Upvotes: 5

Views: 1518

Answers (1)

rodazuero
rodazuero

Reputation: 332

thanks for your post. I am the maintainer of the gmapsdistance package. I received a couple of e-mails with this bug for Windows users. I fixed and submitted it to CRAN again. If it is not yet up in CRAN you can install the most updated version from the github website:

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

Please, let me know if the problem persists.

Upvotes: 7

Related Questions