just found it myself:
in '.GADM' the leading period designates an internal function - the
source
can be viewed with:
getAnywhere('.GADM')
2013/7/12 Kay Cichini <kay.cichini@gmail.com>
> hello,
>
> what is the meaning of a fullstop in the below R-Ffunction (like in
> '.GADM')
>
> > library(dismo)
> Lade nötiges Paket: raster
> Warnmeldungen:
> 1: Paket ‘dismo’ wurde unter R Version 2.15.3 erstellt
> 2: Paket ‘raster’ wurde unter R Version 2.15.3 erstellt
> > getData
> function (name = "GADM", download = TRUE, path = "",
...)
> {
> path <- .getDataPath(path)
> if (name == "GADM") {
> .GADM(..., download = download, path = path)
> }
> else if (name == "SRTM") {
> .SRTM(..., download = download, path = path)
> }
> else if (name == "alt") {
> .raster(..., name = name, download = download, path = path)
> }
> else if (name == "worldclim") {
> .worldclim(..., download = download, path = path)
> }
> else if (name == "ISO3") {
> .ISO()[, c(2, 1)]
> }
> else if (name == "countries") {
> .countries(download = download, path = path, ...)
> }
> else {
> stop(name, " not recognized as a valid name.")
> }
> }
> <bytecode: 0x10f6e5ac>
> <environment: namespace:raster>
>
> thanks in advance,
> kay
>
> --
>
> Kay Cichini, MSc Biol
>
> Grubenweg 22, 6071 Aldrans
>
> Tel.: 0650 9359101
>
> E-Mail: kay.cichini@gmail.com
>
> Web:
www.theBioBucket.blogspot.co.at<http://www.thebiobucket.blogspot.co.at/><http://www.theBioBucket.blogspot.co.at>
> --
>
--
Kay Cichini, MSc Biol
Grubenweg 22, 6071 Aldrans
Tel.: 0650 9359101
E-Mail: kay.cichini@gmail.com
Web:
www.theBioBucket.blogspot.co.at<http://www.thebiobucket.blogspot.co.at/><http://www.theBioBucket.blogspot.co.at>
--
[[alternative HTML version deleted]]