File: readHTMLDoc.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 (7 lines) | stat: -rw-r--r-- 232 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
library(XML)

opts = xpathSApply(doc, "//p[@class='level0']/a[@name]/following-sibling::span[@class='nroffip']/text()", xmlValue)
opts = tolower(gsub("_", ".", gsub("CURLOPT_", "", opts)))

library(RCurl)
actual = listCurlOptions()