Description of issue - I have already installed RStudio in my windows. I need Linux for running some code in RStudio. I installed the Linux (Ubuntu) subsystem from the Microsoft Windows official site and installed it in the same system. I installed RStudio in Linux with all necessary packages. I can open the R script in the terminal, but I can not lunch the RStudio app. It is showing on my startup that I have two RStudio when the windows versions is launching. Any suggestions will be highly appreciated! Thank you so much!
Attempted steps taken to fix - Reinstalled RStudio. Changed internet connection. Reinstalled R packages. downloaded an older version of RStudio (RStudio 4.1.1)
System Information:
RStudio Edition: Desktop
RStudio Version: 4.1.1
OS Version: Windows 11 Pro 64-bit Version: 22000.856
The server was showing error in installing couple of packages like raster, tidyverse, RStoolbox. I managed to install tidyverse and raster package, but couldn't install RStoolbox. Error messages are:
ERROR: lazy loading failed for package ‘exactextractr’
removing ‘/home/jannatul/R/x86_64-pc-linux-gnu-library/4.2/exactextractr’
Warning in install.packages :
installation of package ‘exactextractr’ had non-zero exit status
ERROR: dependencies ‘rgdal’, ‘exactextractr’ are not available for package ‘RStoolbox’
removing ‘/home/jannatul/R/x86_64-pc-linux-gnu-library/4.2/RStoolbox’
Warning in install.packages :
installation of package ‘RStoolbox’ had non-zero exit status
The downloaded source packages are in
‘/tmp/Rtmpbz9sJx/downloaded_packages’
When I tried to install dependencies, it showed error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgdal1-dev
Does anyone has any solution for this? Please help! Thank you so much.
This is a different question not related to the IDE but to the installation of an R package. We like to keep things tidy around here so next time please ask it on a new topic.
In short you are missing a system dependency that you have to install