LondonRob LondonRob - 9 months ago 225
R Question

argument "destdir" is missing, with no default

In my Linux Mint 17 terminal, I start

simple by typing:

> R

Then, when I do
, I get:

argument "destdir" is missing, with no default

How should I choose my
? And why is it not set by default?


On my system at least, uninstalling the rbase package resolved this problem (presumably because the system then 'fell back' to some default version):

apt remove r-base

Now I get the following:

bash > R
> install.packages('foo')
Installing package into ‘/home/rob/R/x86_64-pc-linux-gnu-library/3.1’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---

And the installation proceeds as expected.