Reading data.frame into R-markdown

Unable to open data.frame(s) in Markdown.... downloaded 10M MovieLens dataset records in R-studio and created two data.frames. how do I read them in Markdown?

Could you explain what do you mean with this? is the code for downloading the data included in your rmarkdown file? if so then you don`t need to do anything else.

Ideally, could you ask this with a minimal REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.

If you've never heard of a reprex before, you might want to start by reading this FAQ:

I am getting the following: Error in common_by(by, x, y) : object 'movieId' not found
Calls: ... as.data.frame -> semi_join -> semi_join.tbl_df -> common_by Execution halted
validation <- validation %>%
semi_join(edx, by = movieId) %>%
semi_join(edx, by = userId)
Note: "validation" and "edx" data.frame(s) are now created above this code!!!!

We don't really have enough info to help you out because we can't know what could be going wrong with your code without seen it first, please provide a minimal REPRoducible EXample (reprex)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.