https://github.com/cran/spatstat
Raw File
Tip revision: faf8864bb7a1236c2b27fd63c8abb76be20e9386 authored by Adrian Baddeley on 19 October 2006, 22:36:34 UTC
version 1.10-1
Tip revision: faf8864
datasetup.R
#
#   When the package is installed, this tells us 
#   the directory where the .tab files are stored
#
#   Typically data/murgatroyd.R reads data-raw/murgatroyd.tab
#   and applies special processing
#
spatstat.rawdata.location <- function(...) {
    locn <- system.file("data-raw", package="spatstat")
    if(length(list(...)) != 0) 
      locn <- paste(c(locn, ...), collapse=.Platform$file.sep)
    return(locn)
}
back to top