You are not logged in.
Hi, I am very new to arch which I run with kde(plasma) as DE.
I have installed r and rstudio from the AUR. For some reason, rstudio-bin command works fine and launches the gui if I run it in a root session of KDE, but doesn't work if I am in a regular user session. It just does nothing. If I login as root in my user session nothing happens either.
I have tried editing the .Renviron file as suggested in the wiki, but to no avail.
I have also run the rstudio-backtrace.sh file which produced this output:
RStudio Version: 0.99.447
> print(sessionInfo())
R version 3.2.0 (2015-04-16)
Platform: x86_64-unknown-linux-gnu (64-bit)
Running under: Arch Linux
locale:
[1] C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
>
>
/usr/bin/R
Linux gls 4.0.7-2-ARCH #1 SMP PREEMPT Tue Jun 30 07:50:21 UTC 2015 x86_64 GNU/LinuxAny suggestion on where to look to fix this?
If you are enraged by the question, please, no hurt, no kill.
Last edited by navi_se (2015-07-10 22:54:28)
Offline
Hi navi_se, welcome to the forums. We won't hurt you (yet
)
Is there any output when running rstudio from a terminal? Also, does the problem persist when running as a new user?
Offline
locale:
[1] C
Why?
Online
Nope, no output at all from the terminal. It just immediately returns command to the user.
And no, I made a new user in the same group as my main user, and it can launch rstudio, which works fine.
I am not sure on why it says locale: [1] C, I checked my
/etc/locale.genwhich is empty. If I run
localeI get
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=which is the one I set up during installation.
Offline
locale.gen should not be empty
Online
I fixed it and it is not empty anymore. Followed this post .
The rstudio-bin problem persists, though.
Offline
And did you actually generate the locales after fixing locale.gen?
No idea if this is the problem with rstudio, just something that needs fixed anyway.
Online
Yes, sorry
I run
locale-genwith
en_US.UTF-8uncommented
as well as
localectl set-locale LANG=en_US.UTF-8and the problem was not fixed.
The en_US was the one I actually chose during installation. Still, doing
$ locale
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=showed en_GB.
I have now uncommented en_GB line in locale.gen and re-run the above commands. Now rstudio works correctly. I am not why this is the case and why the above command did not fix it (I would have expected for the locale to be switched to en_US above, apparently there was some mismatch somewhere?). Can somebody explain this? I will mark the thread as solved later on.
Thanks!
Offline
Nope, no output at all from the terminal. It just immediately returns command to the user.
And no, I made a new user in the same group as my main user, and it can launch rstudio, which works fine.
Ok, that is interesting information. This means that it is user specific and there is probably something wrong in your settings. Can you backup your rstudio settings folder, delete it and then try again?
EDIT: Appearantly I was too quick with reading. I have no clue how rstudio works by just fixing the locale.
Last edited by runical (2015-07-10 14:39:44)
Offline
Hi navi_se, note that there's a known issue with the rstudio-desktop-bin PKGBUILD. I couldn't start it and had to reinstall from the AUR with the edited PKGBUILD.
Read the comments here: https://aur.archlinux.org/packages/rstudio-desktop-bin/
Last edited by gugah (2015-07-10 21:25:17)
"The problem with quotes on the Internet is that it is hard to verify their authenticity." ~ Abraham Lincoln
Offline