Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

r

utf-8

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.

like image 832
Mitchell Avatar asked Feb 03 '16 20:02

Mitchell


1 Answers

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.

like image 173
rodazuero Avatar answered Nov 15 '22 05:11

rodazuero