In the process of trying to install spark R, always encountered errors, the reason is that in the installation of Devtools process often error, find the relevant information on the Internet, only to find that need to download a few additional libraries, so the process is recorded.
(Welcome to Exchange Study: e-mail:sparkexpert@sina.com)
Before executing: install.packages ("Devtools"), you need to open a terminal to install two packages.
sudo apt-get install libcurl4-gnutls-dev sudo apt-get install Libxml2-dev In fact this reason should be very simple, mainly because the package downloaded directly from the network, need to have a URL of the parsing library, and the URL solution The library is also dependent on the XML library. Since then, the Devtools has been successfully installed directly. Some computers also have some errors, such as GITR errors, during the test. The error condition is: Dependency ' git2r ' isn't available for the package ' devtools ' this time also to download and install a libssl-dev to resolve.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.