twitter - "error setting certificate" issue in R -
i can't figure out how fix error keep getting in r:
error setting certificate verify locations:\n cafile: \n capath: none\n error in twinterfaceobj$doapicall(cmd, params, "get", ...) : error: error setting certificate verify locations: cafile: capath: none
i'm trying use twitter
package gather tweets below function. working fine yesterday, can't find way fix certificate issue.
tweetframe <- function(searchterm, maxtweets) { twtlist<-searchtwitter(searchterm,n=maxtweets) #twtlist involved in “variable” scoping exists within function # searchterm needs string use "#hashtag" twttempframe<- do.call("rbind", lapply(twtlist,as.data.frame)) # as.data.frame() coerces each list element row # lapply() applies of elements in twtlist # rbind() takes rows , puts them # do.call() gives rbind() rows individual elements return(twttempframe[order(as.integer(twttempframe$created)), ]) }
i don't know package. maybe http://curl.haxx.se/docs/sslcerts.html can you. solved certificate problem had r package.
Comments
Post a Comment