LondonRob LondonRob - 1 year ago 427
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?

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download