Yeah, so to generalise your solutions here: if a library cannot be found, you probably need to install it (e.g. install.packages("DT")).
If your question's been answered— even by you, would you mind choosing a solution? (see FAQ below for how) It makes it a bit easier to visually navigate the site and see which questions still need help.