cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results for 
Search instead for 
Did you mean: 

Help installing R package "sf" azure Databricks cluster

data_scientist3
New Contributor II

I need help installing the R package "sf" on the azure Databricks cluster. Any help will be greatly appreciated.

I'm getting the error below when I try installing the "sf" package on a cluster.

"Error Code: DRIVER_LIBRARY_INSTALLATION_FAILURE. Error Message: org.apache.spark.SparkException: Process List(bash, -c, ${DB_HOME:-/home/ubuntu/databricks}/spark/scripts/install_r_package.py "$(echo = | base64 --decode)" /local_disk0/cluster_libraries/r) exited with code 2. Error installing R package: Could not install package with error: installation of package ‘units’ had non-zero exit status
installation of package ‘sf’ had non-zero exit status"

1 REPLY 1

Thanks!

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group