How to choose a shapefile interactively

المشرف العام

Administrator
طاقم الإدارة
I am writing a function in R where i want the user to choose a Esri shapefile from its destination folder. Since a shapefile is made of several files how can i select them. For a point feature class i used readShapePoints()

data = readShapePoints((file.choose())OR

data = readShapePoints((choose.files())none of it works. Do i need to zip files which than can be selected? i dont know. Kindly guide me.



أكثر...
 
أعلى