title: Installing R 3.6 on Ubuntu disco 19.04
body: <p>I have the new Ubuntu disco 19.04, and I followed the instructions <a href="https://cran.r-project.org/bin/linux/ubuntu/README.html" rel="noreferrer">here</a> to install the new R 3.6.</p>
  
  <p>However, after installing the key and adding the repository through:</p>
  
  <pre><code>sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu disco-cran35/'
  </code></pre>
  
  <p>And running:</p>
  
  <pre><code>sudo apt update
  sudo apt install r-base
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  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 (&gt;= 3.6.0-1cosmic) but 3.5.2-1build1 is to be installed
            Depends: r-recommended (= 3.6.0-1cosmic) but 3.5.2-1build1 is to be installed
  E: Unable to correct problems, you have held broken packages.
  </code></pre>
  
  <p>I could install R through</p>
  
  <pre><code>sudo apt install r-base
  </code></pre>
  
  <p>before adding the aforementioned repository, but version <code>3.5.2</code> is installed.</p>
  
  <p>Does anyone have an idea how to install it without having to compile from source?</p>