Error in curl::curl_fetch_memory(url, handle = handle) : URL using bad/illegal format or missing URL
I have this function that won't run. The command inside of the code works when it is applied on it's own but when I run it in this lapply function it errors out. I have tried updating my Curl libraries etc... No idea why it's happening. library(curl) ##dataframe looks like this as factor list: x = "http://google.com" funk <- function(x) { read_html(x) %>% html_node("title") %>% html_text } df$titles<-lapply(df$urls,funk) Error: 'Error in curl::curl_fetch_memory(url, handle = handle) : URL using bad/illegal format or missing URL ' does not exist in current working directory ('/Users/Home/'). An
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.