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!
It help, thank.