Skip to content
Prev 248308 / 398513 Next

Using open calais in R

fayazvf wrote:
You haven't told us nearly enough for us to be able to reproduce
what you are doing.  Where and how is the R function getToHost() ?
is it in an R package?
Yes, and 
  library(RCurl)
  getURLContent("http://api.opencalais.com/enlighten/rest/?licenseID=dkzdggsre232ur97c6be269g&content=Home&paramsXML=")
returns  RDF content
as does
 download.file("http://api.opencalais.com/enlighten/rest/?licenseID=dkzdggsre232ur97c6be269g&content=Home&paramsXML=",
                "eg.txt")

But since we have no way of knowing what getToHost() does (or the postToHost() in your earlier mail),
we cannot figure out what is happening for you.

Please do read the posting guidelines, specifically telling us about your session and
what packages you are using.

  D.