I am new to Linux and will try to install the latest version of R on my raspberry. My raspberries work on Wheezy 7.8.
I followed the instructions in CRAN , so I
- added
deb http://cran.rstudio.com/bin/linux/debian wheezy-cran3/ to /etc/apt/sources.list - ran
apt-get update , which was successful and gave me only a "signing error" for the public key, as indicated on the CRAN website - ran
apt-get install r-base
But the result of the last command is
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: r-base : Depends: r-base-core (>= 3.1.2-1~wheezycran3.0) but it is not going to be installed Depends: r-recommended (= 3.1.2-1~wheezycran3.0) but it is not going to be installed Recommends: r-base-html but it is not going to be installed Recommends: r-doc-html but it is not going to be installed E: Unable to correct problems, you have held broken packages.
I tried installing R-2.15 before and then running the above commands. R-2.15 can be successfully installed, but I really need R-3 *.
I browsed the web but did not find any helpful hints for my specific problem, so I appreciate any support you could give me.
Thanks!
If applicable: apt-cache policy r-base gives
r-base: Installed: (none) Candidate: 3.1.2-1~wheezycran3.0 Version table: 3.1.2-1~wheezycran3.0 0 500 http://cran.rstudio.com/bin/linux/debian/ wheezy-cran3/ Packages 3.1.0-1~wheezycran3.0 0 500 http://cran.rstudio.com/bin/linux/debian/ wheezy-cran3/ Packages 2.15.1-4 0 500 http://mirrordirector.raspbian.org/raspbian/ wheezy/main armhf Packages
apt-cache policy r-base-core gives
r-base-core: Installed: (none) Candidate: 2.15.1-4 Version table: 2.15.1-4 0 500 http:
uname -a gives
Linux raspberrypi 3.18.5+
r apt raspberry-pi raspbian
Stephan
source share