Package Details: rstudio-desktop-bin 2022.02.3.492-1

Git Clone URL: https://aur.archlinux.org/rstudio-desktop-bin.git (read-only, click to copy)
Package Base: rstudio-desktop-bin
Description: An integrated development environment (IDE) for R (binary from RStudio official repository)
Upstream URL: http://www.rstudio.org/
Licenses: GPL
Conflicts: rstudio-desktop, rstudio-desktop-git, rstudio-desktop-preview-bin
Provides: rstudio-desktop
Submitter: Meow
Maintainer: Meow
Last Packager: Meow
Votes: 325
Popularity: 2.16
First Submitted: 2011-06-16 16:26 (UTC)
Last Updated: 2022-06-06 01:55 (UTC)

Latest Comments

minore commented on 2022-06-07 06:54 (UTC)

After the latest update, I can launch Rstudio from the GUI environment normally, without needing the terminal. I'm on Manjaro Gnome. Thank you for the update.

TheKoalaBoy commented on 2022-04-25 15:23 (UTC)

As trap000d said in this comment, there are some issues related with dependencies with quarto. If rstudio does not open, hangs, the "Visual" option hangs or freezes, open rstudio from terminal with rstudio-bin --no-sandbox. Hope this helps.

minore commented on 2022-04-18 11:38 (UTC) (edited on 2022-04-18 13:19 (UTC) by minore)

Opening rstudio through the terminal along with the parameter "--disable-seccomp-filter-sandbox" stopped working for me since yesterday. I had not yet installed updates on kernel and packages, I only downloaded the updates. However, the parameter "--no-sandbox" works. Why is that?

sdaliso commented on 2022-04-17 20:32 (UTC)

Thanks a lot for your excellent work!!

lbravo commented on 2022-04-08 20:50 (UTC)

@jsbach Same problem here. Building the rstudio-desktop package works for me.

jsbach commented on 2022-03-15 22:15 (UTC)

I run Arch Linux + KDE + sddm under X11. rstudio-desktop-bin is installed on my system (from the AUR). I am able to start rstudio using sudo, but the other proposed solutions (--no-sandbox and --disable-seccomp-filter-sandbox) do not work for me. The problem started recently. Suggestions are welcome. See comment #2 at

https://bbs.archlinux.org/viewtopic.php?pid=2027043#p2027043

chendaniely commented on 2022-03-15 01:41 (UTC)

@meow I think the fix we can do on the AUR side is to replace

sed -i 's|/usr/lib/rstudio/bin/rstudio|/usr/bin/rstudio-bin|' "$pkgdir/usr/share/applications/rstudio.desktop"

with

sed -i 's|/usr/lib/rstudio/bin/rstudio|/usr/bin/rstudio-bin --disable-seccomp-filter-sandbox|' "$pkgdir/usr/share/applications/rstudio.desktop"

in the PKGBUILD. This should "just" fix the rstudio.desktop for now and get things working normally again.

haven commented on 2022-03-13 16:44 (UTC)

Not sure if today's update was aimed at fixing the blank screen issue, but it doesn't fix it and overwrites the rstudio.desktop file, need to add --disable-seccomp-filter-sandbox as per below @chendaniely comment.

ishaanbhimwal commented on 2022-03-11 13:41 (UTC)

If anyone is getting the below error in wayland then try to set the QT_QPA_PLATFORM environment variable:

export QT_QPA_PLATFORM=xcb
rstudio --no-sandbox #or --disable-seccomp-filter-sandbox
Failed to load client buffer integration: wayland-egl

WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
qt.qpa.wayland: No shell integration named "xdg-shell" found
qt.qpa.wayland: No shell integration named "xdg-shell-v6" found
qt.qpa.wayland: No shell integration named "wl-shell" found
qt.qpa.wayland: No shell integration named "ivi-shell" found
qt.qpa.wayland: Loading shell integration failed.
qt.qpa.wayland: Attempted to load the following shells ("xdg-shell", "xdg-shell-v6", "wl-shell", "ivi-shell")
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

chendaniely commented on 2022-02-23 20:08 (UTC) (edited on 2022-02-26 22:03 (UTC) by chendaniely)

quick fix for the --no-sandbox / --disable-seccomp-filter-sandbox issue in rstudio is to either:

  1. export RSTUDIO_CHROMIUM_ARGUMENTS="--disable-seccomp-filter-sandbox" >> ~/.bashrc

  2. You can also aim to modify /usr/share/applications/rstudio.desktop to include --disable-seccomp-filter-sandbox at the end of the exec section

See this GitHub comment and the one below it: https://github.com/rstudio/rstudio/issues/9854#issuecomment-1047074303

edit: used to say --no-sandbox, changed becaues of @alarg's comment

chendaniely commented on 2022-02-16 18:37 (UTC)

The glibc issue for rstudio is being tracked here: https://github.com/rstudio/rstudio/issues/9854

landaro commented on 2022-02-16 15:58 (UTC)

for what its worth, the Microsoft Teams app from the AUR (running via electron, I think) has similar whitescreen issues since recently, and the discussion there has identified the recent glibc and gcc updates as the presumable source of the problems.

Moreover, teams can be restored to functionality on the updated libs, by passing the --no-sandbox flag as well.

Given that the same workaround seems to fix both teams and rstudio, I would suggest to have a closer look at the underlying shared stack (i.e. electron?)

Hope this helps somehow ^^

paskali commented on 2022-02-16 15:40 (UTC) (edited on 2022-02-16 15:43 (UTC) by paskali)

rstudio-bin --no-sandbox solves the white screen issue. I think there is a bug with qt5webengine, as the issue appeared after an update of qt5. I guess we should wait for an upstream fix.

PS: I reinstalled rstudio-desktop-bin a few times, then tried rstudio-desktop-preview-bin, downgraded all qt5 packages to older versions, but nothing seems to fix the issue.

haven commented on 2022-02-16 15:39 (UTC)

Same blank screen. Thought it was only me, reinstalled everything, so far only rstudio-bin --no-sandbox helped

LuisDamiano commented on 2022-02-16 15:08 (UTC) (edited on 2022-02-16 23:18 (UTC) by LuisDamiano)

Same issue: blank screen. I switched to starting rstudio-server locally and opening rstudio in my browser, it seems to work fine so far as a temporary workaround.

renordw commented on 2022-02-16 02:13 (UTC)

Also opening up to a white screen with serious problems all over, including pamac and gnome document coredumps.

Goetz commented on 2022-02-16 00:57 (UTC) (edited on 2022-02-16 00:59 (UTC) by Goetz)

Yes, same error here. I found a workaround: Start the program with rstudio-bin --no-sandbox will work.

aqua123 commented on 2022-02-15 19:24 (UTC) (edited on 2022-02-15 20:03 (UTC) by aqua123)

Is it just me or is anyone else experiencing rstudio opening to a blank screen?

I'm on KDE, noticed that last night I did an upgrade to qt5-base 5.15.2+kde+r298-1, and this has happened to me on two separate machines -- might try a downgrade to qt5-base

E: Downgrade to qt5-base didn't work. But there is a coredump of QtWebEngineProc, though. Traceback

aspeddro commented on 2022-01-13 01:31 (UTC) (edited on 2022-01-13 01:32 (UTC) by aspeddro)

Update to 2021.09.2.382
From 24e14067a298f69a4ed7858a685c39f7d0d81a2e Mon Sep 17 00:00:00 2001
From: Pedro Castro <pdesacastro@gmail.com>
Date: Wed, 12 Jan 2022 22:01:31 -0300
Subject: [PATCH] 2021.09.2.382

---
 .SRCINFO |  8 ++++----
 PKGBUILD | 10 +++-------
 2 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index ea3b9c0..4ef516b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = rstudio-desktop-bin
    pkgdesc = An integrated development environment (IDE) for R (binary from RStudio official repository)
-   pkgver = 2021.09.1.372
+   pkgver = 2021.09.2.382
    pkgrel = 1
    url = http://www.rstudio.org/
    install = rstudio-desktop-bin.install
@@ -15,12 +15,12 @@ pkgbase = rstudio-desktop-bin
    depends = postgresql-libs
    depends = sqlite
    optdepends = clang: C/C++ and Rcpp support
-   provides = rstudio-desktop=2021.09.1.372
+   provides = rstudio-desktop=2021.09.2.382
    conflicts = rstudio-desktop
    conflicts = rstudio-desktop-git
    conflicts = rstudio-desktop-preview-bin
    options = !strip
-   source_x86_64 = https://download1.rstudio.org/desktop/bionic/amd64/rstudio-2021.09.1-372-amd64.deb
-   sha256sums_x86_64 = 921b4f230d29fab4af7a550f622831f2c364870c0cdf7b8e6ba195ac0448bc75
+   source_x86_64 = https://download1.rstudio.org/desktop/bionic/amd64/rstudio-2021.09.2-382-amd64.deb
+   sha256sums_x86_64 = f3dd882395ad8fad8ab263284608d50f56eb758a76a9d2a9b7968100c5efe4b0

 pkgname = rstudio-desktop-bin
diff --git a/PKGBUILD b/PKGBUILD
index cfc3525..06deac2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
 # NOTE: If you are experiencing segmentation fault, delete the ".rstudio-desktop" folder from your home directory then restart the program should fix the issue.

 pkgname=rstudio-desktop-bin
-pkgver=2021.09.1.372
-_pkgver=2021.09.1-372
+pkgver=2021.09.2.382
+_pkgver=2021.09.2-382
 pkgrel=1
 pkgdesc="An integrated development environment (IDE) for R (binary from RStudio official repository)"
 arch=('x86_64')
@@ -20,11 +20,7 @@ conflicts=('rstudio-desktop' 'rstudio-desktop-git' 'rstudio-desktop-preview-bin'
 provides=("rstudio-desktop=${pkgver}")
 options=(!strip)

-sha256sums_x86_64=(
-921b4f230d29fab4af7a550f622831f2c364870c0cdf7b8e6ba195ac0448bc75
-#84e61f5eda991b978fa168d6762f7990
-#391ba54997d6faddbfe41a185a823ee4
-)
+sha256sums_x86_64=('f3dd882395ad8fad8ab263284608d50f56eb758a76a9d2a9b7968100c5efe4b0')

 source_x86_64=("https://download1.rstudio.org/desktop/bionic/amd64/rstudio-${_pkgver}-amd64.deb"
 #"http://archive.ubuntu.com/ubuntu/pool/main/g/gstreamer0.10/libgstreamer0.10-0_0.10.36-1.2ubuntu3_amd64.deb"
--
2.34.1

mithanan commented on 2021-12-07 09:03 (UTC)

@CyrusYip, thank you for your comment, i found an easier solution, just install the rstudio-fcitx5 package

fantom commented on 2021-11-25 22:35 (UTC)

This is building fine but when running I get an error because it requires an old version of libldap which can be found in the AUR: https://aur.archlinux.org/packages/libldap24/

Samsagax commented on 2021-10-28 23:07 (UTC)

May I suggest to add WAYLAND_DISPLAY=, effectively disabling wayland and forcing XWayland. Like this

Exec=env WAYLAND_DISPLAY= /usr/bin/rstudio-bin %F

Overriding the .desktop file so it works on Wayland sessions (tested on KDE and it works)

CyrusYip commented on 2021-10-20 01:46 (UTC)

Hi, @mithanan. You can use Fcitx5 via this command.

sudo wget -O /usr/lib/rstudio/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so  https://github.com/JackieMium/libfcitxplatforminputcontextplugin.so/raw/f6d37b8b1ec9147b1f333db48091dc55af9a0e7a/lib-fcitx-plugin/debian.sid.20181208/libfcitxplatforminputcontextplugin.so.for.RStudio

Restart Rstudio, and you can use Fcitx5 now.

For more information, read these two Chinese posts:

lgggobol commented on 2021-09-18 15:57 (UTC) (edited on 2021-09-18 15:58 (UTC) by lgggobol)

@ith140 - I had the same error too. Try install "libxkbcommon-x11". It worked after rebooting in my case.

chendaniely commented on 2021-08-28 17:01 (UTC)

@Meow: just a heads up, the preview + daily builds have changed their versioning conventions (multiple times); they're moving to a date-based numbering.

ith140 commented on 2021-08-11 14:01 (UTC) (edited on 2021-08-19 20:38 (UTC) by ith140)

@asm0dey - I have the same problem as you (KDE as well). I've tried several rstudio AUR package versions and none of them seem to start (on another arch machine I have, I don't have this problem and have gone thourgh several package updates, but my brand new machine which never had rstudio on it fails as yours does).

I've also done some preliminary troubleshooting to try to find the problem but have turned up nothing yet. The only thing I found was that it will start if I start the program using sudo (not a good idea but it does run).

The git version of this package builds and runs fine for me as a normal user and without the xcb error.

asm0dey commented on 2021-04-16 11:49 (UTC)

Fails ti run for me:

rstudio-bin
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/usr/lib/rstudio/plugins/platforms" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs (from /usr/lib/rstudio/plugins/platforms), linuxfb (from /usr/lib/rstudio/plugins/platforms), minimal (from /usr/lib/rstudio/plugins/platforms), minimalegl (from /usr/lib/rstudio/plugins/platforms), offscreen (from /usr/lib/rstudio/plugins/platforms), vnc (from /usr/lib/rstudio/plugins/platforms), wayland-egl (from /usr/lib/rstudio/plugins/platforms), wayland (from /usr/lib/rstudio/plugins/platforms), wayland-xcomposite-egl (from /usr/lib/rstudio/plugins/platforms), wayland-xcomposite-glx (from /usr/lib/rstudio/plugins/platforms), xcb (from /usr/lib/rstudio/plugins/platforms), eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

[1]    1714232 abort (core dumped)  rstudio-bin

on KDE

mehrad commented on 2021-01-20 09:14 (UTC)

This is the patch I made and it worked for me:

diff --git a/PKGBUILD b/PKGBUILD
index 1758d65..4bbf5f9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# NOTE: If you are experiencing segmentation fault, delete the ".rstudio-desktop" folder from your home directory then restart the program should fix the issue.

pkgname=rstudio-desktop-bin
-pkgver=1.3.1093
+pkgver=1.4.1103
pkgrel=1
pkgdesc="An integrated development environment (IDE) for R (binary from RStudio official repository)"
arch=('x86_64')
@@ -22,7 +22,7 @@ provides=("rstudio-desktop=${pkgver}")
options=(!strip)

sha256sums_x86_64=(
-ff222177fa968f8cf82016e2086bab10ca4bcbe02a4c16f0ecb650151748cf1c
+768643499ffeef393915998cb141f404db15f4a59f42293ed3f830f9171e323a
#84e61f5eda991b978fa168d6762f7990
#391ba54997d6faddbfe41a185a823ee4
)

pedrorafael commented on 2021-01-18 16:43 (UTC)

Dear

when will the new version of RStudio be made available that brings major improvements and new experiences to those who program in R? Version 1.4.X is now available.

ith140 commented on 2020-12-24 18:03 (UTC)

This also has a dependency on icu67.

mithanan commented on 2020-12-23 01:49 (UTC)

how can i input chinese with fcitx or fcitx5 in this build?

HaoZeke commented on 2020-11-09 20:14 (UTC)

This needs an integrity check.

md5sums_x86_64=('4aa8bacb566a3c9652b02bfc1c07ae97')

Will do.

shigueru_nagata commented on 2020-08-25 23:05 (UTC)

Version 1.3.1073 is out.

chendaniely commented on 2020-07-21 15:03 (UTC)

This is more of an AUR PKGBUILD question: Does anyone know how one would go about changing the PKGBUILD file so this package can co-exist with the -preview and -daily versions? In an ideal world, it would be nice to have a fallback and/or test new versions without having to uninstall+reinstall

I tried adding "-preview" to all the links, but I'm not sure if it's possible because of the QT exports and the folder structure from the extracted .deb

dejanKneekey commented on 2020-05-23 11:50 (UTC)

When I double clicked a pdf file in this RStudio, it failed to invoke any pdf viewer. I changed the options in Options-Sweave-PDF Preview, but they didn't work. My default pdf viewer was qpdfview. Would someone help solve the problem?

fabwu commented on 2020-05-11 16:44 (UTC) (edited on 2020-05-11 17:05 (UTC) by fabwu)

@mhr16 see https://stackoverflow.com/a/59624249/4143128

mhr16 commented on 2020-04-24 13:15 (UTC)

when i try to change the view it stops working and i cant kill it

getzze commented on 2020-04-15 11:44 (UTC)

I don't have openssl-1.0 but openssl (1.1.1) and I get this error:

/usr/lib/rstudio/bin/rstudio: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

dviktor commented on 2019-11-15 16:08 (UTC)

Is it possible to link against systemwide Qt libraries? Seems like Qt libs bundled with RStudio are old enough and when I try to run RStudio on NVidia GPU with $ QT_DEBUG_PLUGINS=1 optirun rstudio-bin I get the following errors:

...
Cannot load library /usr/lib/rstudio/plugins/platforms/libqxcb.so: (/usr/lib/rstudio/bin/../lib/libQt5Core.so.5: version `Qt_5.13' not found (required by /usr/lib/libQt5XcbQpa.so.5))
QLibraryPrivate::loadPlugin failed on "/usr/lib/rstudio/plugins/platforms/libqxcb.so" : "Cannot load library /usr/lib/rstudio/plugins/platforms/libqxcb.so: (/usr/lib/rstudio/bin/../lib/libQt5Core.so.5: version `Qt_5.13' not found (required by /usr/lib/libQt5XcbQpa.so.5))"
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/usr/lib/rstudio/plugins/platforms" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Obviously, bundled library doesn't have 5.13 support:

$ strings /usr/lib/rstudio/plugins/platforms/libqxcb.so | grep Qt_5.1
Qt_5.12
qt_version_tag@@Qt_5.12

eorn commented on 2019-05-29 08:07 (UTC) (edited on 2019-05-29 08:07 (UTC) by eorn)

Anybody having troubles opening/saving files with version 1.2 (except while being root)? https://community.rstudio.com/t/rstudio-1-2-cannot-open-or-save-any-file/31774

Smoerrebroed commented on 2019-05-26 09:25 (UTC)

Is openssl-1.0 really necessary? The previously installed version (1.1.463) did not require this, and I had the current openssl (1.1.1) installed.

martin3141 commented on 2019-05-24 08:28 (UTC) (edited on 2019-05-24 09:39 (UTC) by martin3141)

@qubit @mravila I was getting random frequent crashes on my desktop, but not my laptop, with the following error:

rstudio: ../libdrm-2.4.98/nouveau/pushbuf.c:723: nouveau_pushbuf_data: Assertion `kref' failed. Received signal 6

My desktop has NVIDIA graphics whereas laptop is Intel, are you both NVIDIA by any chance?

Update, looks like a driver issue, see: https://github.com/rstudio/rstudio/issues/3781

installing the nvidia package seems to fix this for me.

FFY00 commented on 2019-05-10 12:15 (UTC)

Please install this to /opt instead of /usr/{share,lib} as this was precompiled.

dviktor commented on 2019-04-10 07:24 (UTC)

Please, don't forget to add orc and fcitx-qt5 to dependency list along with soon update!

danielfm123 commented on 2019-03-09 19:56 (UTC)

missing dependency on orc

a36233 commented on 2019-02-15 18:15 (UTC)

==> Converting debian package... ls: cannot access '/usr/lib/libFcitxQt5WidgetsAddons.so': No such file or directory ls: cannot access '/usr/lib/libFcitxQt5WidgetsAddons.so.': No such file or directory ls: cannot access '/usr/lib/libFcitxQt5DBusAddons.so': No such file or directory ls: cannot access '/usr/lib/libFcitxQt5DBusAddons.so.': No such file or directory

$ sudo pacman -Fys libFcitxQt5WidgetsAddons.so community/fcitx-qt5 1.2.3-5 usr/lib/libFcitxQt5WidgetsAddons.so

please add fcitx-qt5 as deps.

mravila commented on 2019-01-27 11:55 (UTC)

@qubit: I am also experiencing sudden crashes. if opened by the terminal, i get this error: "“rstudio-bin” terminated by signal SIGSEGV (Address boundary error)"

anyone else? couldn't find any workaround yet... (for me it crashes when my computer sleeps or when I plug into an external monitor... but not always)

Smoerrebroed commented on 2018-12-07 04:43 (UTC)

Nothing out of the ordinary here. Also not seeing the Qt5 issue (using my modified PKGBUILD as described below).

qubit commented on 2018-12-06 10:21 (UTC)

Anybody else experiencing sudden crashes of RStudio with the latest built version (1.1.463)?

Smoerrebroed commented on 2018-11-07 11:37 (UTC)

NB: Tested with the AUR packages mentioned below. Works like a charm.

Smoerrebroed commented on 2018-11-07 09:45 (UTC) (edited on 2018-11-13 04:57 (UTC) by Smoerrebroed)

Aside from the out of date topic: Wouldn't it be cleaner to depend on the gstreamer packages from AUR?

https://aur.archlinux.org/packages/gstreamer0.10/

https://aur.archlinux.org/packages/gstreamer0.10-base-plugins/

lluis commented on 2018-09-18 19:54 (UTC) (edited on 2018-09-20 18:39 (UTC) by lluis)

Installation fails on 32 bits architecture. Must edit PKGBUILD to remove several '/'

  • line 59: ARCH=${CARCH/686/386}

  • line 74: ./usr/lib/${CARCH/686/386}-linux-gnu/libgstapp-0.10.so.* \

  • line 75: ./usr/lib/${CARCH/686/386}-linux-gnu/libgstinterfaces-0.10.so.* \

  • line 76: ./usr/lib/${CARCH/686/386}-linux-gnu/libgstpbutils-0.10.so.* \

  • line 77: ./usr/lib/${CARCH/686/386}-linux-gnu/libgstvideo-0.10.so.* \

dlin commented on 2018-09-05 01:00 (UTC)

It required 'orc' for runtime. Please update the PKGBUILD

hwkiller commented on 2018-08-12 02:33 (UTC) (edited on 2018-08-12 02:34 (UTC) by hwkiller)

For those having the std::runtime_error error message: This is due to the 'later' package. The latest github release has a fix for this: devtools::install_github('r-lib/later'). For any future arch linux users wondering why everything broke.

nessuno commented on 2018-08-09 14:32 (UTC)

I confirm that my problem was about glibc v2.28 and that, so, was on R and not on RStudio

Thanks

greenisagoodcolo commented on 2018-08-08 15:12 (UTC) (edited on 2018-08-08 15:41 (UTC) by greenisagoodcolo)

@nessuno. Fixed by removing all R packages besides base and rebuilding/reinstalling rstudio-desktop-bin. R is most current version from pacman. Although when I try to build some new packages (e.g. "later"), it throws a similar error and cannot build... "terminate called after throwing an instance of 'std::runtime_error' what(): Mutex creation failed"

I imagine it has to do with some sort of internal C thing..perhaps as usual, archlinux is ahead on gcc or something that makes older syntax from the packages not build? its beyond my level of current computer comprehension.

Fixed by downgrading lib32 and glibc...which is apparently a no-no, but I need to make this code work for a deliverable later today...always famous last words...

sudo pacman -U /var/cache/pacman/pkg/glibc-2.27-3-x86_64.pkg.tar.xz /var/cache/pacman/pkg/lib32-glibc-2.27-3-x86_64.pkg.tar.xz

nessuno commented on 2018-08-07 19:54 (UTC) (edited on 2018-08-07 19:56 (UTC) by nessuno)

I have a very similar error

what(): Mutex creation failed

but I have it if I try to install sparklyr and it started doing so since I updated r-mkl and not this package

Therefore

  1. If you discover how to solve the problem, please let me know!
  2. Are you sure that you didn't update your r package together with the rstudio one?

Thanks

greenisagoodcolo commented on 2018-08-07 13:44 (UTC)

Hey, I upgraded to latest version and installed the packages hexd recommended. I can only get a few commands in (e.g. loading libraries, read.csv) before the R session aborts with the error:

"The R session had a fatal error. Unexpected exception: Mutex creation failed"

It seems to not be correlated to any particular command and can occur with or without user input to the command line. Does anyone have any thoughts on why this is occurring? Does it have to do with me not updating some C libraries in pacman?

Thank you.

sessionInfo() R version 3.5.1 (2018-07-02) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Arch Linux

Matrix products: default BLAS: /usr/lib/libblas.so.3.8.0 LAPACK: /usr/lib/liblapack.so.3.8.0

locale: [1] LC_CTYPE=en_US.UTF-8
[2] LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8
[4] LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8
[6] LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8
[8] LC_NAME=C
[9] LC_ADDRESS=C
[10] LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 [12] LC_IDENTIFICATION=C

attached base packages: [1] stats graphics grDevices utils datasets [6] methods base

loaded via a namespace (and not attached): [1] compiler_3.5.1 tools_3.5.1 yaml_2.2.0

hexd commented on 2018-07-25 22:00 (UTC)

The following packages are required in order to use R Notebooks:

r-evaluate r-highr r-markdown r-yaml r-knitr r-rprojroot r-rmarkdown

Since they need to be installed (either system-wise through AUR, or for a single user directly from CRAN), I think these should be listed as optdepends.

Smoerrebroed commented on 2018-06-12 09:33 (UTC)

Out of date for a month ... what's going on?

Cbhihe commented on 2018-05-14 18:07 (UTC)

Per the previous comment and that of dviktor, add fctix-qt5 as dependency in yr makefile.

flying-sheep commented on 2018-05-07 14:30 (UTC)

fcitx-qt5 as well, please

alfunx commented on 2018-04-17 13:36 (UTC)

Please add 'orc' as dependency, which provides liborc-0.4

https://www.archlinux.org/packages/extra/x86_64/orc

lillemets commented on 2018-03-21 09:33 (UTC) (edited on 2018-03-21 09:34 (UTC) by lillemets)

@SZJX I still think there is some missing dependency issue related to the liborc-0.4 error. I've had similar behaviour on three separate Arch systems: Run RStudio and it throws the aforementioned error. Then install gstreamer0.10-base and it runs fine.

SZJX commented on 2018-03-07 15:12 (UTC)

@lillemets Seems that I was able to remove gstreamer0.10-base after having installed it, and it launches fine?

dviktor commented on 2018-02-23 13:43 (UTC) (edited on 2018-02-23 13:44 (UTC) by dviktor)

Hi! After last update I got these lines when the package is being built (for English users: cannot stat - no such file or directory):

==> Converting debian package...

ls: невозможно получить доступ к '/usr/lib/libFcitxQt5WidgetsAddons.so': Нет такого файла или каталога

ls: невозможно получить доступ к '/usr/lib/libFcitxQt5WidgetsAddons.so.*': Нет такого файла или каталога

ls: невозможно получить доступ к '/usr/lib/libFcitxQt5DBusAddons.so': Нет такого файла или каталога

ls: невозможно получить доступ к '/usr/lib/libFcitxQt5DBusAddons.so.*': Нет такого файла или каталога

lillemets commented on 2018-01-03 06:58 (UTC)

Looks like the package does not require gstreamer0.10-base anymore but when that is removed from the system, Rstudio fails to start with the following error:

/usr/lib/rstudio/bin/rstudio: error while loading shared libraries: liborc-0.4.so.0: cannot open shared object file: No such file or directory

chendaniely commented on 2017-12-01 19:42 (UTC)

pandoc 2.x might cause some issues with rmarkdown. See: https://github.com/rstudio/rmarkdown/issues/1211

gaelic commented on 2017-10-27 07:52 (UTC)

@artemklevtsov: try to remove all of the lib* files in that directory (or move them to a bak directory). It works for me that way.

hopimet commented on 2017-10-25 14:29 (UTC) (edited on 2017-10-25 14:30 (UTC) by hopimet)

Since Archlinux 32 bits is no more supported, it could be the right time to use the 64 bits deb package for Ubuntu 16 or Debian 9 (I mean this one: https://download1.rstudio.org/rstudio-xenial-1.1.383-amd64.deb) and get definitely rid of gstreamer0.10.

pat-s commented on 2017-10-25 13:04 (UTC)

My terminal integration is not working - I tried setting a custom path to the terminal but that did not help. Any idea what I might be missing here?

artemklevtsov commented on 2017-10-16 06:05 (UTC)

@gaelic after doing this I can't close an untitled not empty documents.

gaelic commented on 2017-10-10 07:04 (UTC)

Tip: For anyone struggling with the qt-theme when using r-studio: rstudio-desktop-bin is shipping bundled qt libraries, which can be safely removed if qt5 is installed anyways. Just remove: /usr/lib(64)/rstudio/bin/libQt5* & /usr/lib(64)/rstudio/bin/qt.conf afterwards rstudio is behaving well and is using the theme set by the user (menubar, file dialogs)

leonardof commented on 2017-10-10 00:57 (UTC)

RStudio 1.1 was released.

iyanmv commented on 2017-09-22 17:01 (UTC) (edited on 2017-09-22 17:01 (UTC) by iyanmv)

@smallmouse why would you mark this as out of date? RStudio 1.1 is still a preview and this versions installs just fine. If you have problems to install gstreamer0.10-base, try to create the package manually instead of using pacaur. gstreamer0.10-base fails to install when using pacaur (see comments in https://aur.archlinux.org/packages/gstreamer0.10-base/)

dviktor commented on 2017-08-05 22:48 (UTC)

what if add conditional dependencies? this will be more handful, IMHO

coxackie commented on 2017-08-04 17:59 (UTC)

@hopimet: ok, this clears up some confusion. however, with the deb version of this package, gstreamer0.10 is still a dependence. and I assume it is better to have a build for both 32 and 64 bit architectures at this point, even though arch deprecated the 32-bit one.

hopimet commented on 2017-08-04 14:36 (UTC)

@coxackie The 1.0.153 version works without gstreamer0.10. However the rstudio team only published a 64 bits package (here : https://download1.rstudio.org/rstudio-xenial-1.0.153-amd64.deb) for debian 9 or Ubuntu 16. I tested it, it works fine and is no more dependent of the gstreamer0.10 package. Other 1.0.153 packages (for Ubuntu 12.04 or Fedora) still need gstreamer0.10 but they are released both for 32 and 64 bits architectures. @dviktor If the PKGBUILD is modified, it won't work anymore for 32 bit architectures. If you work on a 64 bits installation, you can use this one: https://pastebin.com/n2mzRfQR

coxackie commented on 2017-08-04 14:08 (UTC)

@dviktor: I am not all that sure that gstreamer0.10 is not a dependence. I removed gstreamer0.10 from PKGBUILD and installed the package. When I run rstudio-bin I get: ------------------------- /usr/lib/rstudio/bin/rstudio: error while loading shared libraries: libgstreamer-0.10.so.0: cannot open shared object file: No such file or directory -------------------------

dviktor commented on 2017-08-04 13:08 (UTC)

Hey, 1.0.153 version should not depend on gstreamer0.10 package anymore... Please fix the PKGBUILD

hopimet commented on 2017-07-24 11:12 (UTC) (edited on 2017-07-24 11:16 (UTC) by hopimet)

@chendaniely, f course you can. Here is a new version of the PKGBUILD for the stable version 1.0.153 (here: https://download1.rstudio.org/rstudio-xenial-1.0.153-amd64.deb): https://pastebin.com/n2mzRfQR I have not still tested it because I have not access to the computer where rstudio is intalled. It will work only on 64 bits architecture. There may be a bug at this line: tar xpf data.tar.xz -C "$pkgdir" because the structure of the deb is different of other versions where the file is data.tar.gz). @coxackie Yes, the 64 bits version 1.0.153 for Debian 9 / Ubuntu 16 (the previous link in this post) works without the old gstreamer0.10 package.

coxackie commented on 2017-07-24 07:30 (UTC)

There is stable v1.0.153 out, does this avoid dependency with gstreamer0.10 then?

chendaniely commented on 2017-07-23 21:59 (UTC) (edited on 2017-07-23 22:00 (UTC) by chendaniely)

@hopimet mind if I take your PKGBUILD file for the rstudio-desktop-preview-bin package? The preview version of Rstudio has slowed down this year, they pretty much release the preview edition along with the regular 'final' version at the same time. There used to be a preview update every Friday. I'm almost debating if I should make another package for their daily channel. But it's going to have to be able to live concurrently with the non-daily builds just in case something breaks horribly.

leonardof commented on 2017-07-12 15:33 (UTC)

@coxackie, Trusted users are free to pick any package they want.

coxackie commented on 2017-07-12 07:10 (UTC)

The popularity of this package is huge - I am wondering why it has not moved to community yet. Does not appear to be a licence problem (AGPLv3).

hopimet commented on 2017-07-10 09:28 (UTC)

I modified the PKGBUILD to try to install the preview version of rstudio-1.0.147 for debian 9. It works fine and I could remove the obsolete gstreamer0.10 package. Here is the PKGBUILD for those who want to try it: https://pastebin.com/c5axeXZq It works only for 64 bits systems.

hopimet commented on 2017-07-08 08:32 (UTC) (edited on 2017-07-08 17:20 (UTC) by hopimet)

It seems that the preview version dedicated to debian 9 / ubuntu xenial now depends on the new libgstreamer. [Depends: libjpeg62, libedit2, libssl1.0.0 | libssl1.0.2, libgstreamer1.0-0, libgstreamer-plugins-base1.0-0, libc6 (>= 2.7)] The deb package is here: https://www.rstudio.com/products/rstudio/download/preview/ Last link of the installers (for ubuntu): https://s3.amazonaws.com/rstudio-dailybuilds/rstudio-xenial-1.0.147-amd64.deb (only for 64 bits systems)

zertyz commented on 2017-07-07 17:19 (UTC)

facing issues with gstreamer-0.10 package, which seems to not provide many needed lib files anymore. Don't know where to get the required .so's. Some of the messages: # /usr/lib/rstudio/bin/rstudio: error while loading shared libraries: libgstreamer-0.10.so.0: cannot open shared object file: No such file or directory # /usr/lib/rstudio/bin/rstudio: error while loading shared libraries: libgstapp-0.10.so.0: cannot open shared object file: No such file or directory # /usr/lib/rstudio/bin/rstudio: error while loading shared libraries: libgstinterfaces-0.10.so.0: cannot open shared object file: No such file or directory # /usr/lib/rstudio/bin/rstudio: error while loading shared libraries: libgstpbutils-0.10.so.0: cannot open shared object file: No such file or directory # /usr/lib/rstudio/bin/rstudio: error while loading shared libraries: libgstvideo-0.10.so.0: cannot open shared object file: No such file or directory

dviktor commented on 2017-06-26 12:30 (UTC)

@proft I move 'pandoc' and 'pandoc-citeproc' to the optdepends section RStudio builds and runs without issue If you have not pandoc installed you will have no RMarkdown support

mikkelbue commented on 2017-06-26 10:49 (UTC)

@proft I simply removed 'pandoc' and 'pandoc-citeproc' from depends=() in the PKGBUILD. RStudio still starts. Some fyunctionality may be broken, but it avoids the half-gig-haskell dependencies.

proft commented on 2017-06-26 08:30 (UTC)

How to disable pandoc relationship? Last installation of rstudio requires pandoc with 544 mb dependencies :(.

dviktor commented on 2017-06-25 12:31 (UTC)

No, it have only symlinks to the system-wide pandoc...

leonardof commented on 2017-06-24 23:02 (UTC)

Why the package depends on pandoc when it ships its own pandoc and pandoc-citeproc?

dviktor commented on 2017-06-24 14:25 (UTC)

Hello! Please, add Pandoc as optional dependency! After last moving to dynamically-linked pandoc we all should install part of huge Haskell ecosystem what may be unwanted. PS: In Jupyter Notebook pandoc is already an optional dependency

xuiqzy commented on 2017-04-25 23:19 (UTC)

please change the source url to the TLS encrypted https version, I tested it and it worked perfectly. Also consider removing some stuff from post install as pacman already has triggers for things like updating the mime cache

R.mj commented on 2017-03-30 03:46 (UTC)

[09:14xplorer@xplorer ~]$ rstudio-bin [09:14xplorer@xplorer ~]$ @Anatin : Nothing happened. It just finished execution without doing anything :(

Anatin commented on 2017-03-17 15:17 (UTC)

What happens when you run the application from the command line?

R.mj commented on 2017-03-17 10:40 (UTC)

Please somebody help me. I am still not getting the issues :(

R.mj commented on 2017-03-14 08:32 (UTC) (edited on 2017-03-14 08:34 (UTC) by R.mj)

Compiled and installed but not able to open RStudio. I can see the icon of the software installed but it shows the loading symbol closes when trying to open. Please help to resolve. I not an expert, so couldn't understand what is causing this issue. [root@xplorer xplorer]# pacman -Q gstreamer0.10-base hicolor-icon-theme libxcomposite libxrandr libxslt pandoc pandoc-citeproc r shared-mime-info gstreamer gstreamer0.10-base 0.10.36-10 hicolor-icon-theme 0.15-1 libxcomposite 0.4.4-2 libxrandr 1.5.1-1 libxslt 1.1.29+41+gdf5330d1-1 pandoc 1.19.2.1-22 pandoc-citeproc 0.10.4.1-13 r 3.3.3-1 shared-mime-info 1.8-1 gstreamer 1.10.4-1 Thanks

Anatin commented on 2017-02-14 18:33 (UTC)

@greenisagoodcolo : Working okay for me on 1.0.136: executes selected line(s) on Ctrl+Enter or executes the line the cursor's on if nothing is selected.

greenisagoodcolo commented on 2017-02-14 17:14 (UTC) (edited on 2017-02-14 17:15 (UTC) by greenisagoodcolo)

Default run selected line option "ctl + enter" is not working for me -- unless I select the entire script and hit "ctl + enter". Very frustrating to have to use copy + paste. Has anyone encountered a similar issue?

jwhendy commented on 2017-02-14 00:11 (UTC)

Why is this listed out of date? I thought there might have been a rev update, but the website still lists 1.0.136 on the download page, so this package seems caught up.

argymeg commented on 2017-02-01 00:51 (UTC)

I tried running rstudio-bin after forcibly removing gstreamer0.10 and it fails. I assume as long as upstream compiles it with gstreamer there isn't much this package can do about it.

flying-sheep commented on 2017-01-27 11:12 (UTC) (edited on 2017-01-27 12:19 (UTC) by flying-sheep)

i’m the maintainer of the rstudio-desktop package. gstreamer is listed as dependency: https://github.com/rstudio/rstudio/blob/3fbb3b84056cf97817b983641e584757e1b3bd91/package/linux/CMakeLists.txt#L70 but it compiles fine without.

sebstar commented on 2017-01-27 10:53 (UTC)

gstreamer0.10 is back on. I noticed that the rstudio-desktop AUR package (the non-binary) doesn't have this dependency. Is it still needed?

sebstar commented on 2017-01-23 20:12 (UTC)

Dependency gstreamer0.10-base is gone. Please fix.

xgdgsc commented on 2016-11-24 15:53 (UTC)

Could you please update to 1.0?

gokcen commented on 2016-11-23 15:36 (UTC)

Could you please update to 1.0?

Cabrokimer commented on 2016-11-02 18:41 (UTC)

please update to 1.0.44 I changed my local pkbuild with new version and it compiled ok thanks

smrz commented on 2016-10-14 23:59 (UTC)

Re my previous comment: the problem was that (somehow) the locales were not set. Running locale-gen fixed the problem. Oddly, rstudio failed with no error message whatsover. Had to run the binary with strace to see the problem.

smrz commented on 2016-10-14 19:25 (UTC)

rstudio (0.99.903-1-x86_64) is not launching on a newly installed arch system (linux 4.7.6-1). The package builds and installs with no errors. But when I launch it, nothing happens. No error message, no sign of a segfault. I set the user.pax.flags per tscs37's comment, but it made no difference. I tried building/installing an older version (0.99.903-1-x86_64) that I have running on another system, but got the same results. Any thoughts on this? I've never had a problem with this package before and I don't know what to try next. thanks

tscs37 commented on 2016-10-05 08:28 (UTC)

When GrSec Kernel patches are installed, the binary crashes with a segfault. Setting the "emr" flags via setfattr of the user.pax.flags flag will fix this.

greenisagoodcolo commented on 2016-09-29 17:39 (UTC)

Hello, I'm running plasma and not seeing a system menu bar above the rstudio program. This means I cannot minimize or move the window. V. inconvient...Can any suggest a reason why? Kwin stuff? compositor? That's starting to get above my paygrade and I am struggling. love, greenisagoodcolor

xduugu commented on 2016-08-02 13:41 (UTC)

The .install file is not required anymore (pacman hooks) and pandoc and pandoc-citeproc seem to be optional dependencies, at least I use rstudio several month now without them. For that have Qt configured to use the style from Gtk: You have to use the old value for this package, because it still uses Qt 5.4 and the value changed from "GTK+" to "gtk2" in Qt 5.7. I added the following line to /usr/bin/rstudio-bin to fix the style in rstudio: [[ $QT_STYLE_OVERRIDE == "gtk2" ]] && export QT_STYLE_OVERRIDE=GTK+

xgdgsc commented on 2016-05-29 08:46 (UTC)

Please add some co maintainers if you don' t have enough time.

hopimet commented on 2016-05-28 16:08 (UTC)

@davvelsan Thank you. I'm happy that it works on x64 system. It works fine also on my x32 system. Maybe these modifications could be adopted by the maintainer?

davvelsan commented on 2016-05-28 09:38 (UTC)

@hopimet, Your PKGBUILD installs fine on my x64 system. Thank you for writing it!

hopimet commented on 2016-05-27 18:26 (UTC)

@davvelsan, I am not familiar with PKGBUILD, I never done that. But I tried. Here is a proposal that should work for x32. I think this can be easily adpated for x64. I have added: - clang dependency - line 60 (mkdir -p "$pkgdir/usr/lib/rstudio/bin/rsclang") - comment for line 63 (#patchelf --set-rpath '$ORIGIN/..' libclang.so) [I think there is no need to patch if clang is installed. It works fine for x32 version) That's all! http://pastebin.com/TxnsRNvF Thanks in advance for your comments and your help. Maybe Meow will have other ideas.

davvelsan commented on 2016-05-27 13:51 (UTC) (edited on 2016-05-27 13:53 (UTC) by davvelsan)

@hopimet, I only modified the version number and related md5 hashes in the PKGBUILD, since the x64 version installs fine and I can only test that. You seem to be familiar with the x32 issues. Maybe you could write a modified PKGBUILD with those changes, and test that it works? I'm guessing clang could be added as a dependency, too. I'm willing to check that your build changes do not interfere with the x64 install, if necessary. Other than that, I guess it's up to the maintainer to update the package.

hopimet commented on 2016-05-26 15:19 (UTC)

The difference between the 32 and the 64 bits deb still persists and the libclang.so remains absent from the 32 bit deb (i don't know why). The workaround I gave below works fine but it is necessary to repeat the procedure at each update. Is there a way to contact the rstudio developers to inform them of the problem?

davvelsan commented on 2016-05-26 12:00 (UTC) (edited on 2016-05-27 13:51 (UTC) by davvelsan)

0.99.902 PKGBUILD http://pastebin.com/VXFjXxbF

hopimet commented on 2016-05-13 05:09 (UTC)

@dlin, I already posted a workaround i a previous comment. The problem is related to the absence of rsclang. First, install clang if it's not already done. Then, follow my previous post and modify the pkgbuild as follows: mkdir -p "$pkgdir/usr/lib/rstudio/bin/rsclang" # because rsclang is not created cd "$pkgdir/usr/lib/rstudio/bin/rsclang" # unchanged ln -sf /usr/lib/libclang.so ./ # a symlink for libclang.so, so you need clang #patchelf --set-rpath '$ORIGIN/..' libclang.so # commented because it gives the following error 'stat: No such file or directory.'

dlin commented on 2016-05-13 00:00 (UTC)

Can't not work on i686 ==> Converting debian package... /var/tmp/yaourt-tmp-dlin/aur-rstudio-desktop-bin/./PKGBUILD: line 60: cd: /var/tmp/yaourt-tmp-dlin/aur-rstudio-desktop-bin/pkg/rstudio-desktop-bin/usr/lib/rstudio/bin/rsclang: No such file or directory

dlin commented on 2016-05-13 00:00 (UTC)

Can't not work on i686 ==> Converting debian package... /var/tmp/yaourt-tmp-dlin/aur-rstudio-desktop-bin/./PKGBUILD: line 60: cd: /var/tmp/yaourt-tmp-dlin/aur-rstudio-desktop-bin/pkg/rstudio-desktop-bin/usr/lib/rstudio/bin/rsclang: No such file or directory

xduugu commented on 2016-05-07 00:05 (UTC)

The install file can be removed since its functionality is now provided by alpm hooks. You also might want to use architecture-specific variables (source_{i686,x86_64} and md5sums_{i686,x86_64}) instead of the case statement. See the PKGBUILD man page: > Additional architecture-specific sources can be added by appending an underscore and the architecture name e.g., source_x86_64=(). > There must be a corresponding integrity array with checksums, e.g. md5sums_x86_64=().

xgdgsc commented on 2016-04-09 02:29 (UTC)

Please git rm .gitignore.

flying-sheep commented on 2016-02-26 08:41 (UTC)

yes, please fix ASAP it’s hugely annoying to click on .R or .Rproj files and RStudio just opens blank

jestover commented on 2016-01-22 16:08 (UTC)

Adding "$@" to the end of line 94 on the PKGBUILD will allow users to open files in RStudio by typing "rstudio-bin <file-name>.R" into the command line instead of having to launch RStudio and then open the file from inside the RStudio environment.

SJrX commented on 2016-01-09 06:40 (UTC)

I could not get r studio to start, and I'm not sure exactly what the problem is. It would simply return with a exit code 0. Running strace on it revealed that it was looking for an LC_TIME file in various directories and couldn't find it. My Arch did not have any LC_TIME files, but copying the file from an Ubuntu box to Arch in one of those locations allowed r studio to start. I'm really not sure how to fix it properly. Just thought I'd leave a comment in case others needed it though.

Loy commented on 2016-01-06 10:19 (UTC)

Hello, It's not depend on GTK but Qt (ldd return this : https://framabin.org/?c241886bf9fe44a7#Lz2JkPSsQ45v5771LNIfxhF0u0eDdF6AkQouDzjaDeQ= )

Jesse2004 commented on 2016-01-04 07:25 (UTC)

Bug: does not support fcitx input framework. See https://support.rstudio.com/hc/en-us/articles/205605748-Using-RStudio-0-99-with-Fctix-on-Linux. I tried copying /usr/lib/qt/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so to /usr/lib/rstudio/bin/plugins/platforminputcontexts but couldn't get it to work. While /usr/lib/rstudio/bin/plugins/platforminputcontexts already has libibusplatforminputcontextplugin.so so the ibus input framework works.

hopimet commented on 2015-12-30 17:46 (UTC)

@framar, Try to build the package in an other directory. yaourt -a rstudio-desktop-bin --tmp ~/ Your error is related to an an insufficient disk space in /tmp where packages are built by default.

framar commented on 2015-12-29 13:34 (UTC)

@hopinet You're rigth. Thank you. I have another error : -> Compression du paquet... xz : (stdout) : Erreur d'écriture : Aucun espace disponible sur le périphérique bsdtar: Write error ==> ERREUR : Échec à la création du paquet. How can I solve it?

hopimet commented on 2015-12-28 18:47 (UTC)

@framar, If you're on the 32 bits version the problem is related to the absence of rsclang. First, install clang if it's not already done. Then, follow my previous post and modify the pkgbuild as follows: mkdir -p "$pkgdir/usr/lib/rstudio/bin/rsclang" # because rsclang is not created cd "$pkgdir/usr/lib/rstudio/bin/rsclang" # unchanged ln -sf /usr/lib/libclang.so ./ # a symlink for libclang.so, so you need clang #patchelf --set-rpath '$ORIGIN/..' libclang.so # commented because it gives the following error 'stat: No such file or directory.'

framar commented on 2015-12-28 18:11 (UTC)

I have this problem : /tmp/yaourt-tmp-franck/aur-rstudio-desktop-bin/./PKGBUILD: ligne 68 : cd: /tmp/yaourt-tmp-franck/aur-rstudio-desktop-bin/pkg/rstudio-desktop-bin/usr/lib/rstudio/bin/rsclang: Aucun fichier ou dossier de ce type How can I solve it?

woodape commented on 2015-11-04 10:32 (UTC) (edited on 2015-11-04 10:33 (UTC) by woodape)

package breaks with latest upgrade from official repositories: requires: harfbuzz-1.0.6-1-x86_64.pkg.tar.xz harfbuzz-icu-1.0.6-1-x86_64.pkg.tar.xz lib32-harfbuzz-1.0.6-1-x86_64.pkg.tar.xz icu-55.1-1-x86_64.pkg.tar.xz lib32-icu-55.1-1-x86_64.pkg.tar.xz Latest in official repos is: harfbuzz-1.0.6-2-x86_64.pkg.tar.xz harfbuzz-icu-1.0.6-2-x86_64.pkg.tar.xz lib32-harfbuzz-1.0.6-2-x86_64.pkg.tar.xz icu-56.1-1-x86_64.pkg.tar.xz lib32-icu-56.1-1-x86_64.pkg.tar.xz downgrading solves the issue

hopimet commented on 2015-09-27 19:21 (UTC)

OK I was right. In the 64-bit .deb package there is a subdirectory /usr/lib/rstudio/bin/rsclang/ providing libclang.so. This subdirectory (and of course libclang.so) is not present in the 32-bit .deb package.

hopimet commented on 2015-09-27 19:04 (UTC)

Well, I have some new informations. The pkgbuild works well in 64 bits architecture. In 32 bits it still doesn't install with the same errors I previously reported. So I modified the pkgbuild and added: mkdir -p "$pkgdir/usr/lib/rstudio/bin/rsclang" # because rsclang is not created cd "$pkgdir/usr/lib/rstudio/bin/rsclang" # unchanged ln -sf /usr/lib/libclang.so ./ # a symlink for libclang.so, so you need clang #patchelf --set-rpath '$ORIGIN/..' libclang.so # commented because it gives the following error 'stat: No such file or directory.' Then it worked (installed on 2 computers). I suspect the 32 bits .deb has a problem because there is no rsclang subdirectory after decompression.

linux_dream commented on 2015-09-27 15:06 (UTC)

The latest package installs correctly here, but fails with a seg. fault at executing: http://pastebin.com/KiiTXJVq.

artemklevtsov commented on 2015-09-27 10:37 (UTC)

@hopimet: use mkdir -p.

hopimet commented on 2015-09-27 08:03 (UTC)

Despite the modifications the installation still doesn't work and returns the same error about "$pkgdir/usr/lib/rstudio/bin/rsclang": this directory does not exist. I added: mkdir "$pkgdir/usr/lib/rstudio/bin/rsclang" in the pkgbuild. Then the installation goes further but returns another error: stat: No such file or directory. Thanks in advance for your help

hopimet commented on 2015-09-26 19:02 (UTC)

This revision doesn't install. A new dependency for clang has been introduced (I don't know why). Then the installation fails when the pkgbuild tries to enter in cd "$pkgdir/usr/lib/rstudio/bin/rsclang" (cd "$pkgdir/usr/lib/rstudio/bin/rsclang" at line 57) because this directory doesn't exist. You need to to create the directory before line 57. I suggest to add: mkdir "$pkgdir/usr/lib/rstudio/bin/rsclang" before cd "$pkgdir/usr/lib/rstudio/bin/rsclang"

AsmundEr commented on 2015-08-28 13:52 (UTC)

The pandoc that ships with the latest rstudio-desktop-bin (0.99.473) no longer works. See https://github.com/rstudio/rmarkdown/issues/498 . Current confirmed workaround is to install pandoc via cabal and replace /usr/lib/rstudio/bin/pandoc/* with the pandoc and pandoc-citeproc binaries from that install. Beware, this will compile pandoc from scratch, which takes a **long** time and uses a lot of disk space. Also, I suspect the maintainer forgot to include the .SRCINFO in their latest update commit, hence this page says 0.99.442 but the PKGBUILD says 0.99.467. (I've done this myself on other packages. It's easy to forget, and IMO there should be a global git hook on AUR to remind us.)

hopimet commented on 2015-08-27 08:24 (UTC)

The package name should be corrected since the PKGBUILD installs the 0.99.467 version and not the 0.99.442 as indicated. New release (0.99.473) is out. To install it I think that changes in the PKGBUILD shoud be: pkgver=0.99.473 _x86md5=4b86b8fd3d501ae11ab84c059c0cb0ce _x64md5=4952d2e53fc9f63fec43c5b99f3b5a73

navi_se commented on 2015-07-10 13:16 (UTC)

The installation works fine, but the command rstudio-bin produces no results. I don't know how to produce log or info to help with this, if you guide me I will post results here.

flying-sheep commented on 2015-06-26 09:23 (UTC)

why do you leave the Qt libraries in? using system Qt works!

flying-sheep commented on 2015-06-19 12:18 (UTC)

updated PKGBUILD: https://gist.github.com/flying-sheep/d5e0dd31ec9adfb471f8

chendaniely commented on 2015-06-15 13:14 (UTC)

is qt5-svg really needed to install rstudio? I had a different AUR package installed [1] and it was working without the qt5-svg dependency. [1] https://aur.archlinux.org/packages/rstudio-desktop-preview/

produnis commented on 2015-06-07 17:51 (UTC)

thank you very much, chmue the PKGBUILD works for me!

linux_dream commented on 2015-06-06 18:43 (UTC)

Thank you chmue, your fix worked for me.

chmue commented on 2015-06-06 09:23 (UTC)

See @gokcen's comment below for a solution of the segfault problem. This PKGBUILD that implements the proposed solution that works for me (all props to @gokcen for discussing the issue with RStudio devel and following up with Qt): https://gist.github.com/chmue/7baeb5892f46c43b3000

julian.carpenter commented on 2015-06-06 07:23 (UTC)

yup, can confirm it, segfault .. i already filed a request at support.rstudio.com and included your error output...let's see what it brings

produnis commented on 2015-06-05 11:53 (UTC)

seems to be related to qt5: segfault at 7f821ce5fc00 ip 00007f821ce5fc00 sp 00007fff384599a8 error 15 in libQt5Gui.so.5.4.2[7f821ce4f000+15000]

produnis commented on 2015-06-04 20:48 (UTC)

crashes with segfault on startup since todays update...

gokcen commented on 2015-05-08 11:51 (UTC)

Removing bundled Qt and leaving plugins/ directory in the package leads to problems in new rstudio-preview versions. I updated rstudio-desktop-preview package to fix the issue. See here for the details: https://github.com/rstudio/rstudio/commit/d036073f255be2ef3154d10976d9a4e87a812a33#commitcomment-11104386

malditobarbudo commented on 2015-03-13 17:24 (UTC)

@bquast Thanks! I needed to update in order to use the new R version.

bquast commented on 2015-02-19 07:34 (UTC)

For anyone who wants to update now, just update the package version (to 0.98.1102) and the relevant md5 checksum (x86 or 64), from the last column here: http://www.rstudio.com/products/rstudio/download/

artemklevtsov commented on 2014-09-21 00:34 (UTC)

namcap says: rstudio-desktop-bin W: Referenced library 'libjpeg.so.62' is an uninstalled dependency rstudio-desktop-bin W: Referenced library 'libtiff.so.4' is an uninstalled dependency Seems need libtiff4 and libjpeg6 packages.

AsmundEr commented on 2014-06-26 11:52 (UTC)

I definitely agree that Pandoc should be bundled with Rstudio as it is now. There's a reason why upstream chose to do that, namely that compiling Pandoc is a pain in the backside. (I just spent an hour installing Pandoc, and now found out it is included with the latest Rstudio...)

Meow commented on 2014-06-25 13:46 (UTC)

@neverfox : Yes, it includes Pandoc now, two quite large binary files used for different document formats conversion. Pandoc is only available in AUR for now (and it depends a huge amount of packages in order to be compiled), so I don't think I should remove them and add an extra dependence on AUR package.

neverfox commented on 2014-06-20 19:57 (UTC)

Total Installed Size: 170.69 MiB Net Upgrade Size: 84.12 MiB Did it really double in size?

tstenner commented on 2014-06-19 11:14 (UTC)

The newer versions also provide pandoc, here's a diff for the PKGBUILD: 4c4 < pkgver=0.98.507 --- > pkgver=0.98.932 12,13c12,13 < provides=("rstudio-desktop=${pkgver}") < options=(!strip) --- > provides=("rstudio-desktop=${pkgver}" 'pandoc') > options=() 15,16c15,16 < _x86md5=4c05ffb4e4e8285cb5aa020110e86271 < _x64md5=9a75bd0651270257607bd7a11b867324 --- > _x86md5=ac5e9c4a7095f8d9c329745ddb1485ae > _x64md5=121fbada620bb772edb2be5c929903e7 38a39,40 > ln -s -f ../lib/rstudio/bin/pandoc/pandoc > ln -s -f ../lib/rstudio/bin/pandoc/pandoc-citeproc

johanzebin commented on 2014-01-19 13:05 (UTC)

Can confirm it working on latest x86-64 (Intel i5 processor).

zeltak commented on 2013-12-19 12:20 (UTC)

thx axil42 thats so weird, using the latest x86_64 as well thx Z

axil42 commented on 2013-12-19 11:36 (UTC)

@zeltak I just installed the latest version and it started normally (on x86_64).

zeltak commented on 2013-12-19 10:36 (UTC)

Hi all i am trying to get it to work but as with the post by fofo i cant get it to work, i launch the binary rstudio-desktop but it does nothing at all any help would be greatly appreciated, as i need it for uni work best Z

setempler commented on 2013-12-07 21:58 (UTC)

0.98.484 seems to be the next stable. http://www.rstudio.com/ide/download/desktop my modified PKGBUILD looks like this: # Contributor: Meow < meow at linux dot cn > pkgname=rstudio-desktop-bin pkgver=0.98.484 pkgrel=1 pkgdesc="A new integrated development environment (IDE) for R (binary version from RStudio official website)" arch=('i686' 'x86_64') license=('GPL') url="http://www.rstudio.org/" depends=('r>=2.11.1' 'pango>=1.14.0' 'qtwebkit') conflicts=('rstudio-desktop' 'rstudio-desktop-git') provides=("rstudio-desktop=${pkgver}") options=(!strip) _x86md5=SKIP _x64md5=98b1f39e29e8e26963934834e4cdb107 case "$CARCH" in 'i686') _arch=i386 md5sums=($_x86md5) ;; 'x86_64') _arch=amd64 md5sums=($_x64md5) ;; esac source=("http://download1.rstudio.org/rstudio-${pkgver}-${_arch}.deb") install="$pkgname".install package() { msg "Converting debian package..." cd "$srcdir" tar zxpf data.tar.gz -C "$pkgdir" install -dm755 "$pkgdir/usr/bin" cd "$pkgdir/usr/lib/rstudio/bin" rm lib*.so.* cd "$pkgdir/usr/bin" ln -s -f ../lib/rstudio/bin/rstudio rstudio-bin }

StreakyCobra commented on 2013-09-26 21:51 (UTC)

For interested people, there is a «preview» release of version 0.98 available at http://www.rstudio.com/ide/download/preview . New main features: Debugging and support for presentation creation. Lines to change (currently) in PKGBUILD (Yes, it's not safe, but I don't care about md5sums just for testing): pkgver=0.98.309 _x86md5=SKIP _x64md5=SKIP source=("https://s3.amazonaws.com/rstudio-dailybuilds/rstudio-${pkgver}-${_arch}.deb") News seen on: http://www.r-statistics.com/2013/09/r-3-0-2-and-rstudio-0-9-8-are-released/

commented on 2013-07-28 11:37 (UTC)

If I install rstudio-desktop(-bin) package via AUR it get's installed but I can't start the program. It just quits without notice. ----- k@higgins ~ % rstudio-bin !308 k@higgins ~ % ----- k@higgins ~ % gdb rstudio-bin !309 GNU gdb (GDB) 7.6 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/lib/rstudio/bin/rstudio...(no debugging symbols found)...done. (gdb) run Starting program: /usr/lib/rstudio/bin/rstudio warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000 warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [Inferior 1 (process 1372) exited normally] (gdb)

khughitt commented on 2013-03-02 20:04 (UTC)

qt dependency needs to be switched to qt4 (https://www.archlinux.org/news/qt4-replaces-qt/)

commented on 2013-01-29 14:55 (UTC)

this is a pkgbuild for 0.97.312 open and repalce the current pkgbuild with this one enjoy ---cut here ---> pkgname=rstudio-desktop-bin pkgver=0.97.312 pkgrel=1 pkgdesc="A new integrated development environment (IDE) for R (binary version from RStudio official website)" arch=('i686' 'x86_64') license=('GPL') url="http://www.rstudio.org/" depends=('r>=2.11.1' 'pango>=1.14.0' 'qtwebkit') conflicts=('rstudio-desktop' 'rstudio-desktop-git') provides=("rstudio-desktop=${pkgver}") options=(!strip) case "$CARCH" in 'i686') _arch=i386 md5sums=('342e214ed85826e2ca5dfd9728d3f239') ;; 'x86_64') _arch=amd64 md5sums=('c42f88ee7ecf34651325e3b2399fa60d') ;; esac source=("http://download1.rstudio.org/rstudio-${pkgver}-${_arch}.deb") install="$pkgname".install package() { msg "Converting debian package..." cd "$srcdir" tar zxpf data.tar.gz -C "$pkgdir" install -dm755 "$pkgdir/usr/bin" cd "$pkgdir/usr/lib/rstudio/bin" rm lib*.so.* cd "$pkgdir/usr/bin" ln -s -f ../lib/rstudio/bin/rstudio rstudio-bin } <---end cut---

pedro.schuler commented on 2013-01-22 20:41 (UTC)

0.97.311 is out

commented on 2012-12-19 16:41 (UTC)

0.97.246 is out.

commented on 2012-11-30 16:59 (UTC)

0.97.237 is out.

commented on 2012-11-14 06:45 (UTC)

0.97.173 is out.

commented on 2012-11-01 07:38 (UTC)

0.97.168 is out.

Meow commented on 2012-09-19 06:06 (UTC)

updated

commented on 2012-08-28 18:34 (UTC)

0.96.331 is out.

commented on 2012-08-07 13:33 (UTC)

version 0.96.330 released.

commented on 2012-07-19 13:42 (UTC)

Hi, if anyone is interested in the next stable version until the maintainer updates the package, here's a patch for the pkgbuild: --- cut here --- --- PKGBUILD 2012-06-10 09:47:31.000000000 -0300 +++ /home/cassio/PKGBUILD 2012-07-19 10:29:10.344367860 -0300 @@ -1,7 +1,7 @@ # Contributor: Meow < meow@linux.cn > pkgname=rstudio-desktop-bin -pkgver=0.96.304 +pkgver=0.96.316 pkgrel=1 pkgdesc="A new integrated development environment (IDE) for R" arch=('i686' 'x86_64') @@ -18,7 +18,7 @@ ;; 'x86_64') _arch=amd64 - md5sums=('26c38847ba4faba5cd1c6252d5d14483') + md5sums=('855b11dd0dda57aade8796039fb9f64b') ;; esac # --- end of case --- source=("http://download1.rstudio.org/rstudio-${pkgver}-${_arch}.deb") --- cut here --- * just save it as rstudio.patch and place it in the extracted tarball directory. * apply it against the original PKGBUILD: patch < rstudio.patch * run makepkg -s and install with sudo pacman -U rstudio-desktop-bin-0.96.316-1-x86_64.pkg.tar.xz this works for the x86_64, for the i686 just compute the md5sum and change the line in the pkgbuild.

commented on 2012-07-04 22:12 (UTC)

0.96.316 is out.

commented on 2012-06-07 04:45 (UTC)

0.96.231 is out. ^_^

commented on 2012-05-28 11:10 (UTC)

0.96.228 is out.

commented on 2012-05-25 15:32 (UTC)

0.96 is out http://blog.rstudio.org/2012/05/24/rstudio-v0-96-225-update/

Meow commented on 2012-02-06 14:02 (UTC)

update.

machoo02 commented on 2012-01-29 16:46 (UTC)

md5 for i386: d40781d27639d0892b9974e4c861831f md5 for x84: 095687ded888bf9e5634513ce0311494

commented on 2012-01-26 23:54 (UTC)

0.95 is out http://blog.rstudio.org/2012/01/25/rstudio-v0-95-released/

commented on 2011-09-08 10:41 (UTC)

0.94.102 is available

Meow commented on 2011-08-05 09:55 (UTC)

My Bad. Fixed.

commented on 2011-07-13 13:34 (UTC)

The MD5 for x86_64 (at least) is wrong. It should be: 010b0dcb2954e40aa1f85b1fc2e5afef