[R-sig-Debian] Installing in RStudio Server in Windows WSL2

Michael Rutter
Wed, 16 Sep 2020 22:57:02 -0000

On 9/16/20 3:37 PM, Irene V. Siemen wrote:
> Hi,
>
> I am following the below instructions for setting up an RStudio server in
> Windows.
>
>
https://support.rstudio.com/hc/en-us/articles/360049776974-Using-RStudio-Server-in-Windows-WSL2
>
>    I am a novice so I might be making an obvious mistake, but I am
receiving
> an error in step 3 of the RStudio server setup. I entered the below code
> into ubuntu:
> sudo add-apt-repository 'deb
https://cloud.r-project.org/bin/linux/ubuntu
> focal-cran40/'

Irene,

I believe the issue is that the "Linux" is capitalized.  It should be
a
lower case "linux".  If you edit your
"/etc/apt/sources.list" file to
make it lower case, it should work.  I will let the folks are RStudio know.

Michael

> and I received the error message:
> E: The repository 'https://cloud.r-project.org/bin/Linux/ubuntu
> focal-cran40/ Release' does not have a Release file.
> N: Updating from such a repository can't be done securely, and is
therefore
> disabled by default.
>
> Am I missing something or do I need to reference a different url?
>
> thanks!
> Irene
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Debian mailing list
> R-SIG-Debian at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-debian
>