I am trying to update my packages put I keep getting an error saying,
E: Malformed entry 52 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read
When I run
sudo nano /etc/apt/sources.list
I get these lines of code on line 52
deb http://cran.rstudio.com/bin/linux/ubuntu xenial
deb http://cran.rstudio.com/bin/linux/ubuntu xenial
Anyone have any ideas, I tried to write xenial partner but to no avail. Any help would be very much appreciated. Thanks