Re: [R] ggmap warning

2015-07-09 Thread Chichi Shu
suggestions? Thanks! From: Thierry Onkelinx Sent: Wednesday, July 01, 2015 2:50 AM To: Chichi Shu Cc: r-help@r-project.org Subject: Re: [R] ggmap warning Your data contains 4945 rows with missing or infinite values. These cannot be handled by stat_density2d and are dropped for that reason

Re: [R] ggmap warning

2015-07-01 Thread Chichi Shu
Thanks Thierry. Is it the longitude and latitude that need to have finite values? From: Thierry Onkelinx Sent: Wednesday, July 01, 2015 2:50 AM To: Chichi Shu Cc: r-help@r-project.org Subject: Re: [R] ggmap warning Your data contains 4945 rows with missing or infinite values. These cannot

[R] ggmap warning

2015-06-30 Thread Chichi Shu
Dear Listers I��ve been using ggmap package to produce crime Heat map. But I��ve noticed the following warning message when executing my code: In loop_apply(n, do.ply) : Removed 4945 rows containing non-finite values (stat_density2d). I��ve googled this message but I couldn��t find an

[R] Comparing values of different columns: Error: level sets of factors are different

2014-10-17 Thread Chichi Shu
Hi, R listers, I��m trying to compare a value of a row in a column to values of previous rows in another column in a loop. ��i�� is just from first row to the last row. j is an another looping controller indicating the rows that row[i] will be compared to and j will be rows before row[i]. I want

Re: [R] Using R to get updated access token on FB Graph API?

2014-09-16 Thread Chichi Shu
assuming they don’t ever become invalid? From: Ista Zahn Sent: Monday, September 08, 2014 5:24 PM To: Chichi Shu Subject: Re: [R] Using R to get updated access token on FB Graph API? Take a look at the httr package, there is a Facebook example in the package demos. Best, Ista On Sep 8, 2014 4:35

[R] Using R to get updated access token on FB Graph API?

2014-09-08 Thread Chichi Shu
Hi, R users, Is it possible to use R to obtain access token to Facebook API automatically? The access token generated in Facebook Graph API expires very soon so I'd like to use R to generate new access token and grab it and save it to a variable automatically every 60 days. Is it possible? If