I am trying to install Rstudio in my linux mint 17.1 using software package manager.
I tried the following way which is given by this link. But I am getting the following error.
E: Malformed line 2 in source list /etc/apt/sources.list (dist)
E: The list of sources could not be read.
I need to add the correct repository in the gedit for the latest version of R(full software with packages or libraries)..