if (FALSE) {
# get all valid 'GRASS GIS' installation folders in the /usr/bin directory (typical location)
searchGRASSX("/usr/bin")
# get all valid 'GRASS GIS' installation folders in the home directory
searchGRASSX("~/")
}
Run the code above in your browser using DataLab