GmAMisc (version 1.0.0)

impShp: R function to easily import a vectorial dataset (shapefile) into R

Description

The function is a wrapper for the 'shapefile()' function out of the 'raster' package. It provides the facility to import a vectorial dataset (of shapefile type) by means of a window that allows the user to navigate through the computer's folders and to select the appropriate file.

Usage

impShp()

Arguments

Examples

Run this code
# NOT RUN {
#a window will pop up allowing the user to select the shapefile
my.shapefile <- impShp()
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace