## Not run:
# # starting GRASS session
# initGRASS("/usr/bin/grass-7.0.0", home=tempdir())
# initGRASS("C:/GRASS", home=tempdir())
#
# ## Path of the files to be read
# predictor.names <- c("tann", "mntcm", "mxtwm", "rfann", "rfdm", "rfwm")
# file.names <- paste(system.file(package = "ENiRG"),
# "/ext/", predictor.names, ".asc", sep="")
#
# import.egvs(file.names, predictor.names)
#
# list.maps("rf*")
# list.maps("*ann")
# ## End(Not run)
Run the code above in your browser using DataLab