Data Science Daily Dealings: R Packages Installation 2

R Packages

A similar story again. Another package, R tells me it can’t install dependency rgdal. In this case, lib-gdal was missing. A whole lot of dependencies for that, too, in linux.

Also needed were libproj-dev

The solution to find the exact name of the missing library as not quite obvious? Google. Or in this case, DuckDuckGo, as the default search engine here.

Richard

Data Science Daily Dealings: R Packages Installation

R Packages

People that don’t work with computer technology at a different level can often be seen getting frustrated when things don’t work.

People that do have this happen to them as well, but at a different level, so they perhaps tend to take it in stride more and just do the usual until things work.

An example:

A package I wanted to use had two dependencies as it turned out, neither of which would install when requested. Often that means something is missing at the operating system level. In this case, for Linux Mint (Ubuntu), it was.

tkpanel wouldn’t install as tcl/tk gear missing. In this case, tk-dev needed installing.

Trying again, it then said BWidget was missing. Same story. sudo apt-get install bwidget.

Then the package and dependencies were good to go.

Just a process you do and forget it about it, so I thought I might document them as I come across them.