Support Questions

Find answers, ask questions, and share your expertise

Using R in Zeppelin, HDP 2.6.3 missing package

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

@Mario Borys,

Try installing the package and run the script.Login to R shell and run the command

# R
# install.packages('data.table')

Thanks,

Aditya

View solution in original post

4 REPLIES 4

@Mario Borys,

Try installing the package and run the script.Login to R shell and run the command

# R
# install.packages('data.table')

Thanks,

Aditya

Explorer

Ehm, my bad.

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

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.

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

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.