Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Using R in Zeppelin, HDP 2.6.3 missing package

avatar
Explorer

Hello,

I want to try R in Zeppelin out but eaven in the pre created note [R(SparkR)] I've got some errors. First some errors like "no 'knitr' Package" but I managed to fix it in the shell with command <>install.packages("knitr") </>.

Now I get this Error Message:

Error in library(data.table): " there is no package called ‘data.table’ "

Anybody got a hint ?

48406-hw.png

1 ACCEPTED SOLUTION

avatar
Super Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
4 REPLIES 4

avatar
Super Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
Explorer

Ehm, my bad.

I tried this but i must have a typo, i installed the package. Thank you.

avatar
Contributor

@Aditya Sirna @Mario Borys @Geoffrey Shelton Okot

I have got limited access to internet for my cluster and I am facing the same issue and I believe knitr should be installed by command - R -e "install.packages('knitr', repos = 'http://cran.us.r-project.org')"

Am I Correct?

Also, what all packages are to be installed to make sure Zeppelin works fine with R?

Please help me on this.

avatar

How did you fix the issue java.lang.RuntimeException: Error in library("knitr"): there is no package called ‘knitr’ ?