Hi,

can anyone please guide me on how to install R on a different directory with all dependencies?

Code:
apt-get install r-base
wont do in my case at it installs it in my root. i need it to be installed in a different root directory.

tried using dpkg with the -instdir option but it doesnt resolve dependencies.

thanks