Error: could not find function “sample.split”


I am facing a strange problem on my mac. I have imported caTools library and checked for its presence too. But when i check whether sample.split is defined, it shows “False”. Any possible solution for this?


Hi @aaronstone, have you tried re-installing the package “caTools”?
And if that doesnt work either, you could also try installing the dev version from GitHub by the following command after installing “devtools” package.


Let us all know what worked :slight_smile: