RHadoop - Rstudio - Install arulesViz library - arules

I'm trying to install the arulesViz library using RStudion in Cloudera Machine. For that I'm executing:
install.packages("arulesViz", type = "source")
But I'm getting the following error:
ERROR: configuration failed for package ‘curl’
* removing ‘/home/cloudera/R/x86_64-redhat-linux-gnu-library/3.3/curl’
Warning in install.packages :
installation of package ‘curl’ had non-zero exit status
ERROR: dependency ‘curl’ is not available for package ‘httr’
* removing ‘/home/cloudera/R/x86_64-redhat-linux-gnu-library/3.3/httr’
Warning in install.packages :
installation of package ‘httr’ had non-zero exit status
ERROR: dependency ‘httr’ is not available for package ‘plotly’
* removing ‘/home/cloudera/R/x86_64-redhat-linux-gnu-library/3.3/plotly’
Warning in install.packages :
installation of package ‘plotly’ had non-zero exit status
ERROR: dependency ‘plotly’ is not available for package ‘arulesViz’
* removing ‘/home/cloudera/R/x86_64-redhat-linux-gnu-library/3.3/arulesViz’
Warning in install.packages :
installation of package ‘arulesViz’ had non-zero exit status
How can I solve this problem?
Thanks!

Package curl has the following requirements (see https://cran.r-project.org/web/packages/curl/index.html):
SystemRequirements: libcurl: libcurl-devel (rpm) or libcurl4-openssl-dev (deb).
Install the library and it will probably work.

Related

Error: Cannot find module '#trufflesuite/bigint-buffer'

Unable to truffle migrate as it is showing - Error: Cannot find module '#trufflesuite/bigint-buffer'.
Even I tried the command npm install #trufflesuite/bigint-buffer

Getting Module build failed error while running npm run dev

Getting error while running npm run dev
Laravel: 9.19
Vuejs: 2.6
Laravel-mix:6.0.12
Thanks in advance:)
Error:
ERROR in ./resources/sass/app/app.scss
Module build failed (from ./node_modules/laravel-mix/node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js):
Error: Can't resolve '../../../node_modules/bootstrap-sass/assets/stylesheets/fonts/bootstrap/glyphicons-halflings-regular.eot' in '/var/www/html/project-name/resources/sass/app'
at finishWithoutResolve (/var/www/html/project_name/node_modules/enhanced-resolve/lib/Resolver.js:309:18)
ERROR in ./resources/sass/admin/admin.scss
Module build failed (from ./node_modules/laravel-mix/node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js):
Error: Can't resolve '../../../node_modules/admin-lte-sass/build/bootstrap/scss/fonts/bootstrap/glyphicons-halflings-regular.eot' in '/var/www/html/project-name/resources/sass/admin'
2 ERRORS in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details)
webpack compiled with 4 errors

Problems installing Rtools

After installing Rtools4, I try installing jsonlite package
I get the following message:
C:/HYAPP/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lR
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'jsonlite'
* removing 'C:/Users/Documents/R/win-library/4.1/jsonlite'
Warning in install.packages :
installation of package ‘jsonlite’ had non-zero exit status

I can't install postgresql-simple on haskell

When I write this command: cabal install postgres-simple or cabal install postgresql-simple
This error appears:
cabal: Error: some packages failed to install: postgresql-libpg-0.9.4.2 failed during the configure step. The exception was: ExitFailure 1
postgresql-simple-0.6.2 depends on postgresql-libpg-0.9.4.2 which failed to install.
I tried on windows and Ubuntu, the same error appears.
As the comment notes, you need to have postgres already installed on your system.

How do I install RSelenium on raspberry pi 3 (raspbian)?

I'm trying to install the RSelenium package on my Raspberry Ri Rstudio-server but I get alot of error messages when I try to install the package, some of them are posted below. How do I solve this problem?
/usr/lib/R/etc/Makeconf:141: recipe for target 'RcppExports.o' failed
make: *** [RcppExports.o] Error 1
ERROR: compilation failed for package 'semver'
* removing '/usr/local/lib/R/site-library/semver'
Warning in install.packages :
installation of package 'semver' had non-zero exit status
ERROR: dependency 'semver' is not available for package 'binman'
* removing '/usr/local/lib/R/site-library/binman'
Warning in install.packages :
installation of package 'binman' had non-zero exit status
ERROR: dependencies 'binman', 'subprocess', 'semver' are not available for package 'wdman'
* removing '/usr/local/lib/R/site-library/wdman'
Warning in install.packages :
installation of package 'wdman' had non-zero exit status
ERROR: dependencies 'wdman', 'binman' are not available for package 'RSelenium'
* removing '/usr/local/lib/R/site-library/RSelenium'
Warning in install.packages :
installation of package 'RSelenium' had non-zero exit status
So... i'm getting the same error today. I've formatted my computer and now i can't install RSelenium anymore.
i'm running R version 3.4.2 (2017-09-28) -- "Short Summer"
and i've installed r-base and r-base-dev
Try to run in your terminal the following commands:
sudo apt-get install libxml2-dev
and then install the "binman" package in your R:
install.packages("binman")
then install the dev version of Rselenium from github.
For this, you shoud have installed in your R the devtools package.
after install devtools run:
devtools::install_github("ropensci/RSelenium")
This works for me.