File: dynGC.R

package info (click to toggle)
r-cran-rcurl 1.95-4.8-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,140 kB
  • ctags: 515
  • sloc: ansic: 3,135; xml: 1,734; asm: 993; sh: 12; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 297 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
library(RCurl)
u = "http://localhost/~duncan"

curl = getCurlHandle()
r = dynCurlReader(curl)

x = getURLContent(u, header = r, curl = curl)
r$value()
rm(r, curl)
gc()


x = getURLContent(u, followlocation = TRUE)

curl = getCurlHandle()
x = getURLContent(u, followlocation = TRUE, curl = curl)