R/http-file-access.R

Defines functions read.table.from.http load.from.http

Documented in load.from.http read.table.from.http

## second approach... download as a temp file and read from there...
read.table.from.http <- function( x, ... ){
    TP <- tempfile()
    download.file( url=x, destfile=TP )
    return( read.table( TP, ... ) )
}

load.from.http <- function( x, ... ){
    TP <- tempfile()
    download.file( url=x, destfile=TP )
    load( TP, envir=globalenv(), ... )
}
jotsetung/unsoRted documentation built on May 19, 2019, 9:42 p.m.