containers icon indicating copy to clipboard operation
containers copied to clipboard

Error in loadNamespace(name)

Open martindut opened this issue 5 years ago • 5 comments

Hi

I create a docker container that only have FROM databricksruntime/rbase:latest in. I can start the databricks cluster using my container, but nothing in the container works from a R point of view. Even if I run R.Version(), I get the error:

Error in loadNamespace(name) : there is no package called 'htmltools'

Thanks

martindut avatar Oct 26 '20 10:10 martindut

I think you probably need to install that package first.

Lin2xdd avatar Nov 03 '20 12:11 Lin2xdd

I think you probably need to install that package first.

What package? I would have though that rbase will at least have R.Version() available, or am I missing something?

martindut avatar Nov 03 '20 13:11 martindut

@martindut what DBR version did you choose when creating the cluster (not the DCS base image)

Can you try other DBR versions, maybe 6.x?

evanye avatar Jan 14 '21 23:01 evanye

fyi @falaki

evanye avatar Jan 14 '21 23:01 evanye

You do need htmltools otherwise Databricks Notebooks cannot work. See https://github.com/databricks/containers/blob/master/ubuntu/R/Dockerfile as a minimal example.

falaki avatar Jan 19 '21 05:01 falaki