Package Details: rstudio-desktop 2024.12.0.467-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: 72
Popularity: 0.008464
First Submitted: 2011-03-04 15:02 (UTC)
Last Updated: 2024-12-20 21:33 (UTC)

Dependencies (29)

Required by (0)

Sources (3)

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 .. 9 10 11 12 13 14 15 16 17 18 19 .. 30 Next › Last »

jdarch commented on 2023-01-25 13:23 (UTC)

Looks like RStudio does not straightforwardly compile with boost 1.81 anymore. I have reverted to the previous boos packages, as I do not have time to look at it right now. Might be something that should be fixed upstream

LiuKairui commented on 2022-10-02 08:06 (UTC) (edited on 2022-10-02 08:20 (UTC) by LiuKairui)

libboost lib too old?

❯ rstudio
rstudio: error while loading shared libraries: libboost_chrono.so.1.79.0: cannot open shared object file: No such file or directory
❯ sudo find / -name  "libboost_chrono.so*"
/usr/lib/libboost_chrono.so.1.80.0
/usr/lib/libboost_chrono.so

trap000d commented on 2022-08-31 09:04 (UTC)

@AugustinCrochat,

I suspect your issue is not related to RStudio, but rather to R itself, more precisely to its packages dependency hell. I also regularly have odd problems with various R packages (I recall such rmarkdown issue several months ago).

To me the best is not to install any extra R packages system-wide. They're not going to rebuild when R has upgrading. So my recommendation: if you have any installed from AUR, uninstall them.

Also remove ~/R/x86_64-pc-linux-gnu-library/* then try to build them all from scratch.

AugustinCrochat commented on 2022-08-31 08:45 (UTC)

I update rmarkdown and knitr, but it keeps asking to install again, and I can't knit to PDF.

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.

hadallen commented on 2022-07-05 19:19 (UTC)

latest version of boost-libs (1.79.0-1) stops RStudio from starting. downgrading boost and boost-libs to 1.78.0-3 is a workaround

trap000d commented on 2022-04-30 22:34 (UTC) (edited on 2022-05-01 02:33 (UTC) by trap000d)

Hi flying-sheep,

This way of building dependent R packages was here historically, from the very first versions of RStudio. So "it's not me" - it has been done by the previous maintainers.

UPD: Yep, it was introduced somewhere after you have left the package orphaned. I've picked up and adopted working PKGBUILD from other user.

I agree, this needs to be fixed, though.

I'm not sure either these packages are needed during the build only, or for successful run of RStudio. On the other hand, current state of R packages maintenance in Arch is BAD (as well as in other distributions), so if I add them as rstudio-desktop deps, I suspect the chances to build it might get pretty low.

Probably the best is to to build all them (or, may be only few [and add the rest as deps]) in temp directory and remove afterwards. I'll give it a try in a clean environment in a next few days.

UPD: Seems all R packages from dependencies list (at least now), i.e. rmarkdown, renv, testthat, xml2, yaml, are used ONLY for running tests during the build process. So it's safe to install them all into temp dir and remove after build finishes.

Few more notes: rmarkdown may be needed for supporting R markdown projects, so it makes sense to add it to optional dependendencies (may be with next major release of RStudio).

r-testthat seems broken - I couldn't build it. It looks like a circular dependency - it depends on r-dbi, which in turn depends on r-testthat

flying-sheep commented on 2022-04-30 13:05 (UTC) (edited on 2022-04-30 13:07 (UTC) by flying-sheep)

Oh, you’re installing R packages into the user’s library during install.

Please stop doing that.

You need to either package the r packages as Arch packages and make rstudio-desktop depend on them, or (if they’re a build dependency) install them into a temporary directory during build, use them, and then delete everything.