Can't use DT package due to missing jquery calls

114 views Asked by At

I am trying to use the DT library for the first time, but seem to be running into difficulties even with the smallest example?

library(DT)
df = as.data.frame(cbind(matrix(round(rnorm(50), 3), 10), sample(0:1, 10, TRUE)))
datatable(df)
#Warning messages:
#1: In file.create(to[okay]) :
#  cannot create file 'lib/dt-core-1.10.12/js/jquery.dataTables.min.js', reason 'No such file or directory'
#2: In file.create(to[okay]) :
#  cannot create file 'lib/dt-core-1.10.12/css/jquery.dataTables.min.css', reason 'No such file or directory'
#3: In file.create(to[okay]) :
#  cannot create file 'lib/dt-core-1.10.12/css/jquery.dataTables.extra.css', reason 'No such file or directory'

I have just reinstalled it. Here's the installed version and my sessionInfo:

> packageVersion("DT")
[1] ‘0.2’

> sessionInfo()
> R version 3.3.2 (2016-10-31) Platform: x86_64-w64-mingw32/x64 (64-bit)
> Running under: Windows >= 8 x64 (build 9200)
> 
> locale: [1] LC_COLLATE=English_United States.1252 
> LC_CTYPE=English_United States.1252    LC_MONETARY=English_United
> States.1252 [4] LC_NUMERIC=C                          
> LC_TIME=English_United States.1252    
> 
> attached base packages: [1] stats     graphics  grDevices utils    
> datasets  methods   base     
> 
> other attached packages: [1] DT_0.2
> 
> loaded via a namespace (and not attached): [1] htmlwidgets_0.7
> magrittr_1.5    htmltools_0.3.5 tools_3.3.2     yaml_2.1.13    
> Rcpp_0.12.7     jsonlite_1.1    [8] digest_0.6.10

Checked github issues... nothing reported there. Any ideas?

0

There are 0 answers