how to change class from data frame to spatial polygon? : I have found the same in here <http://stackoverflow.com/questions/29736577/how-to-convert-data-frame-to-spatial-coordinates>. But in my case, I got very large data and i can do like the answer given. So anyone can help me to change classfrom data.frame to spatial polygon?