Reputation: 1
I am using foreach using dopar to parallelize a task. Inside the statement I am using the %like%, but I hit an error
Error in { : task 1 failed - "could not find function "%like%"
I thought like was just a wrapper for grep and is part of the base package. Can anyone help me out?
Upvotes: 0
Views: 146
Reputation: 1
Try to insert the lines below in your code. I believe you forgot to reference the package.
install.packages ('data.table')
library (data.table)
Upvotes: 0