Package Details: rstudio-desktop 2024.09.1.394-1

Git Clone URL: https://aur.archlinux.org/rstudio-desktop.git (read-only, click to copy)
Package Base: rstudio-desktop
Description: A powerful and productive integrated development environment (IDE) for R programming language
Upstream URL: https://github.com/rstudio/rstudio
Licenses: AGPL-3.0-only
Conflicts: rstudio-desktop
Provides: rstudio-desktop
Submitter: None
Maintainer: xiota
Last Packager: xiota
Votes: 73
Popularity: 0.040746
First Submitted: 2011-03-04 15:02 (UTC)
Last Updated: 2024-11-11 05:37 (UTC)

Pinned Comments

trap000d commented on 2024-05-16 21:42 (UTC) (edited on 2024-05-28 20:09 (UTC) by trap000d)

A note for users.

This package is quite complex. It MAY not be built because of OTHER issues. I always build, install and test it on at least two different machines. Only after that I would push a new version to AUR.

Please try some generic solutions before reporting of build problems:

1) Update all other packages (sudo pacman -Syu),

2) Clean up yay and/or makepkg caches ('yay -Sc', 'rm -rf /var/tmp/makepkg'),

3) Be sure you've got enough RAM (8 GB or more is highly recommended) and space on disk (at least 3 GB).

4) Is your Internet connection is stable, fast and not blocked somewhere?

trap000d commented on 2022-07-05 20:32 (UTC) (edited on 2022-10-03 06:28 (UTC) by trap000d)

PLEASE READ THIS MESSAGE BEFORE COMPLAINING FOR LIBBOOST

When boost is updated to a new version and you see an error message about missing libboost*.so, you will need to rebuild and reinstall the rstudio-desktop package.

trap000d commented on 2022-02-19 06:20 (UTC) (edited on 2022-02-19 06:21 (UTC) by trap000d)

Build logic is slightly changed due to changes in upstream. As they've introduced new project format (quarto), it contradicted with standard Arch package base. In brief, quarto contains pandoc as part of itself, so it's pretty hard to keep together system pandoc and embedded quarto.

So I've "resolved" it such way: if there is "quarto*" package installed, then rstudio-desktop will pick it up and use. Otherwise (not installed), quarto support in rstudio will be disabled.

'quarto' is added as optional dependency.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 29 Next › Last »

jibarozzo commented on 2024-05-30 14:59 (UTC) (edited on 2024-05-30 15:02 (UTC) by jibarozzo)

@trap00d When I try creating a new Quarto document from within the IDE (File > New File >...) it does now show Quarto documents in any of the options. Like the issue described HERE. I can create Quarto documents through the console and work on them just fine. I am trying to find the source of the issue described in HERE. Any thoughts on why this might be happening?

trap000d commented on 2024-05-30 04:29 (UTC)

@xiota, thanks, soci link and lto - now it makes sense to me.

For Electron version. You've asked it just in time - I've finished test build a few minutes ago.

I've made a working package a year ago, and it was easy enough. Now it was tricky due to infamous nan bug (see e.g. https://github.com/electron-userland/electron-builder/issues/8081)

Also rstudio developers are keeping two bundled copies of node in project tree - one for build (18.18.2), and another (18.19.1) for embedding into final package, which makes all things a bit more complicated.

Anyway, here is my repo with Electron PKGBUILD: https://github.com/trap000d/aur/tree/master/rstudio-desktop-electron

xiota commented on 2024-05-30 04:15 (UTC)

@trap000d Based on search results, static libraries need some extra arguments during build to work with LTO. Using (in the soci package) gcc-ar or llvm-ar would automatically set the correct options.

How did you get the electron version to build? I get errors at the end when it gets to the npm part.

trap000d commented on 2024-05-29 10:27 (UTC)

@xiota, yes, they announced migration a year ago. If you scroll back AUR comments to page 7, you'll see the corresponding conversation. I would prefer to keep Qt build until the end. I've managed to build and run Electron version - it works not too bad, however size of package is 5 times larger.

My other concern: in my opinion Electron (Chromium) applications have slow and laggy UI. E.g. I can't use VSCode or Google Chrome on regular basis because of noticeable delays between key press (or mouse move) and UI response.

xiota commented on 2024-05-29 09:14 (UTC)

@trap000d Last commit of this package builds successfully.

Also looks like upstream is discontinuing the C++/Qt desktop version in favor of Electron?

trap000d commented on 2024-05-29 04:08 (UTC)

Hi @xiota,

Thanks for updates. I'll give a try to them in a next few days/weeks.

I assume all these are just minor improvements, so they could wait until the next major Rstudio release. Not everyone have 80-core 512 GiB cluster on a hand to rebuild the package every day :)

mrhooman commented on 2024-05-29 00:57 (UTC)

@trap000d
thank you this solved my problem

trap000d commented on 2024-05-28 23:46 (UTC)

@mrhooman, @xiota,

Please try the updated version. I've just finished to build it in clean chroot and 'ordinary' environments. All looks good.

@xiota, thanks for a hint to bundle soci. Generally, this library is used only as statically linked object inside rsession[?] binary. Effectively, keeping system libsoci as dependency makes a little sense. I recall I have switched to system library several years ago when had cleaning up the sources from other bundled stuff (quarto?).