Last updated: October 22nd, 2016 at 01:34 pm
If you’ve been trying to cast in R and have run into the following error:
Error: could not find function "cast"
Then here is the solution. You must install either reshape or reshape2. I actually installed both. Here are the steps in R:
> install.packages("reshape", type="source") > install.packages("reshape2", type="source") > library(reshape) > library(reshape2)
Cast should now work. Good luck!