In that case you will have to give me some more code details and data to see where in the process this goes wrong. I know that this type of data can be large, but it's difficult to guess what's going on without any other information. Try and create a reprex. A reprex consists of the minimal code and data needed to recreate the issue/question you're having. You can find instructions how to build and share one here:
Also, share a link to the exact tutorial you're following. Does it work if you follow the example they provide? (if any).