edited 2018-04-26: Changed title as per comments, this is a broader issue with R3.5.0
original:
I'm pretty new to R, and not savvy with all of it's joys.
I've just had my works computer upgrade (result!) to windows 10 with java version 8.1 64bit; r 3.5.0, and r studio 1.1.447.
My code is no longer loving qdap package. It claims to install but won't library in.
CODE:
`pkg <- c("rJava","rmarkdown", "tidyverse","ggplot2", "knitr", "tm", "RColorBrewer", "wordcloud", "qdapDictionaries","qdapRegex", "qdapTools","qdap")
new.pkg <- pkg[!(pkg %in% installed.packages())]
if (length(new.pkg)) {
install.packages(new.pkg, repos = "http://cran.rstudio.com")
}
library(qdap)`
output:
`Loading required package: qdapTools
Error: package or namespace load failed for ‘qdapTools’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘data.table’
Error: package ‘qdapTools’ could not be loaded`
googling suggested I needed to modify the dependencies part, which threw this one
`install.packages(new.pkg, repos = "http://cran.rstudio.com", dependencies = TRUE)
also installing the dependencies ‘data.table’, ‘koRpus’, ‘lda’, ‘proxy’, ‘SnowballC’
Package which is only available in source form, and may need compilation of C/C++/Fortran:
‘data.table’
These will not be installed`
Any thoughts (and fixes!) much appreciated. sorry for obvs noobie question.