Error when compiling in R Markdown -


i have chuck of code i'm trying compile in r markdown.

library(jsonlite) library(rvest) library(rjsonio) library(ggplot2) library(dplyr) library(data.table)  #create function download movie info rottenrate <- function(movie){   require(rjsonio)   link <- paste("http://www.omdbapi.com/?t=", movie, "&y=&plot=short&r=json&tomatoes=true", sep = "")   jsondata <- fromjson(link)   return(jsondata) } vrottenrate <- vectorize(rottenrate, "movie", simplify = f) 

when run i'm met

error in file(con, "r") : cannot open connection calls: &lt;anonymous&gt; ... &lt;anonymous&gt; -&gt; fromjson -&gt; fromjson -&gt; -&gt; structure -&gt; unique 


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -