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.cich...@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.cich...@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.cich...@gmail.com

Web: 
www.theBioBucket.blogspot.co.at<http://www.thebiobucket.blogspot.co.at/><http://www.theBioBucket.blogspot.co.at>
--

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to