Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

installing data.table results in "there is no package"

Tags:

r

I am new to R and have to install a data.table into my workfile. Right now, I have implemented:

install.packages("data.table")
require(data.table)

However, when I run this part (Ctrl + Enter) I get the following error in the console-window:

Loading required package: data.table

Warning message:

In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : there is no package called data.table

Is this truly an error or can I work on it further without problems? Thank you in advance!!

like image 695
Kimberley Avatar asked Feb 18 '16 19:02

Kimberley


2 Answers

This solved the issue for me:

install.packages("data.table", dependencies=TRUE)
like image 162
Arun Avatar answered Nov 16 '22 00:11

Arun


If install.packages("data.table") does not work, try installing the binary:

install.packages("data.table", type = "binary")

as explained here.

like image 31
candide Avatar answered Nov 15 '22 23:11

candide