Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/77.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/hibernate/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
R中有HTTP库吗?_R - Fatal编程技术网

R中有HTTP库吗?

R中有HTTP库吗?,r,R,我需要使用R生成HTTP POST命令。是否有R HTTP库可以这样做?是 如果您希望对发布的实体和标题进行细粒度控制,可以直接使用curlPerform。另一种更方便的方法是: 使用HTTP谓词组织的HTTP的有用工具(GET(), POST()等)。配置功能使其易于控制 其他请求组件(authenticate()、add_headers()等) 上) [httr] library(RCurl) # example from the vignette: x = postForm('http:/

我需要使用R生成HTTP POST命令。是否有R HTTP库可以这样做?


如果您希望对发布的实体和标题进行细粒度控制,可以直接使用
curlPerform

另一种更方便的方法是:

使用HTTP谓词组织的HTTP的有用工具(GET(), POST()等)。配置功能使其易于控制 其他请求组件(authenticate()、add_headers()等) 上)

[httr]
library(RCurl)
# example from the vignette:
x = postForm('http://www.wormbase.org/db/searches/advanced/dumper', 
  species="briggsae", 
  list="", 
  flank3="0", 
  flank5="0", 
  feature="Gene Models", 
  dump = "Plain TEXT", 
  orientation = "Relative to feature", 
  relative = "Chromsome", 
  DNA ="flanking sequences only", 
  .cgifields =c("feature", "orientation", "DNA", "dump", "relative"))