Rainer wrote: > I am using GRASS from within an R script, and would need > the GRASS version. I do not know the startup script, so grass > --version is not an option. Nevertheless, I have obviously > specified the GRASS directory where the grass executables and > scripts sit. Is there one which I can use to get the grass > version?
If grass is started you can use the GRASS_VERSION enviro variable or the g.version module to get it. If GRASS is not started you can look in the $GISBASE/etc/VERSIONNUMER file. Hamish _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
