Error in data.frame(…, check.names = FALSE) : Looping For
问题 I am working with large data. I have 2 datasets as ORIGIN and DESTINATION. Using google API, I would like to compute the direction from ORIGIN dataset to DESTINATION dataset. The data is as follows: Origin(masterdata): No xcoord ycoord 1 109.6663 -6.897970 2 109.6584 -6.897511 3 109.6519 -6.893822 4 109.6586 -6.896936 5 109.6651 -6.897484 Destination(xystation3375) No Long Lat 1 109.6644 -6.889696 2 109.7008 -6.902980 key = "Google API dataset_origin <- as.data.frame(masterdata[1:500,])