add support for R and HTTP