You are not logged in.

#1 2015-07-10 13:39:14

navi_se
Member
Registered: 2015-07-06
Posts: 139

[SOLVED] rstudio-bin doesn't launch, no output on terminal

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/Linux

Any 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

#2 2015-07-10 13:49:44

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: [SOLVED] rstudio-bin doesn't launch, no output on terminal

Hi navi_se, welcome to the forums. We won't hurt you (yet tongue)

Is there any output when running rstudio from a terminal? Also, does the problem persist when running as a new user?

Offline

#3 2015-07-10 13:50:32

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: [SOLVED] rstudio-bin doesn't launch, no output on terminal

locale:
[1] C

Why?

Online

#4 2015-07-10 14:05:36

navi_se
Member
Registered: 2015-07-06
Posts: 139

Re: [SOLVED] rstudio-bin doesn't launch, no output on terminal

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.gen

which is empty. If I run

locale

I 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

#5 2015-07-10 14:06:41

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: [SOLVED] rstudio-bin doesn't launch, no output on terminal

locale.gen should not be empty

Online

#6 2015-07-10 14:15:11

navi_se
Member
Registered: 2015-07-06
Posts: 139

Re: [SOLVED] rstudio-bin doesn't launch, no output on terminal

I fixed it and it is not empty anymore. Followed this post .

The rstudio-bin problem persists, though.

Offline

#7 2015-07-10 14:16:30

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: [SOLVED] rstudio-bin doesn't launch, no output on terminal

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

#8 2015-07-10 14:25:54

navi_se
Member
Registered: 2015-07-06
Posts: 139

Re: [SOLVED] rstudio-bin doesn't launch, no output on terminal

Yes, sorry

I run

locale-gen

with

en_US.UTF-8

uncommented

as well as

localectl set-locale LANG=en_US.UTF-8

and 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

#9 2015-07-10 14:38:50

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: [SOLVED] rstudio-bin doesn't launch, no output on terminal

navi_se wrote:

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

#10 2015-07-10 21:25:02

gugah
Member
Registered: 2013-01-02
Posts: 63

Re: [SOLVED] rstudio-bin doesn't launch, no output on terminal

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

Board footer

Powered by FluxBB