Reputation: 35
I'm having this problem: all code chunks run fine. But when trying to knit to HTLM file the error message appear. How to solve this?
movies <- mutate(movies, feature_film = ifelse(title_type =="Feature Film", "yes", "no"))
movies$feature_film <- as.factor(movies$feature_film)
Error in mutate_(.data,.dots = lazyeval : : lazy_dots(. . .) : object ´movies´not found calls : . . . withVisible -> eval -> eval -> mutate -> mutate Execution halted
Upvotes: 0
Views: 503
Reputation: 39
Likely the markdown document doesn't have the object loaded. This isn't somewhere in the document:
load(file="your_data.RData")
EDIT: comment already saying pretty much this, apologies.
Upvotes: 1