Package Details: rstudio-desktop 2024.04.1.748-3

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://www.rstudio.com/products/rstudio/
Licenses: AGPL3
Submitter: None
Maintainer: trap000d (xiota)
Last Packager: trap000d
Votes: 72
Popularity: 0.81
First Submitted: 2011-03-04 15:02 (UTC)
Last Updated: 2024-05-19 22:20 (UTC)

Pinned Comments

trap000d commented on 2024-05-16 21:42 (UTC)

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 .. 22 Next › Last »

CRomeroB commented on 2018-04-13 01:59 (UTC) (edited on 2018-04-13 16:44 (UTC) by CRomeroB)

UPDATE: Installation completed. Deleted all installation files and started again, I figured out that solving all previous java compiler issues and starting again will yield a different behavior (errors). Indeed, new error... "undefined reference to `pthread_create'"

Added the next line to the CMakeLists.txt: find_package(Threads REQUIRED) (though I am not sure if I saved it before running again, so I cannot tell if this solved the problem)

re-run again "makepkg -sic", this time without removing anything

Success!

<hr>

Hi! I am a newbie, this is just the second time I attempt to install an AUR package. Installation aborted at 97% after trying to "Linking CXX executable rsession"...

... ... BUILD SUCCESSFUL Total time: 7 minutes 5 seconds [ 94%] Built target gwt_build [ 94%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/modules/tex/SessionViewPdf.cpp.o [ 95%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/modules/vcs/SessionVCSCore.cpp.o [ 95%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/modules/vcs/SessionVCSUtils.cpp.o [ 95%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/modules/viewer/SessionViewer.cpp.o [ 95%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/modules/viewer/ViewerHistory.cpp.o [ 96%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/projects/SessionProjects.cpp.o [ 96%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/projects/SessionProjectContext.cpp.o [ 96%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/projects/SessionProjectFirstRun.cpp.o [ 96%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/SessionAddins.cpp.o [ 96%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/http/SessionPosixHttpConnectionListener.cpp.o [ 97%] Linking CXX executable rsession CMakeFiles/rsession.dir/SessionConsoleProcess.cpp.o: file not recognized: File truncated collect2: error: ld returned 1 exit status make[2]: [src/cpp/session/CMakeFiles/rsession.dir/build.make:4331: src/cpp/session/rsession] Error 1 make[1]: [CMakeFiles/Makefile2:616: src/cpp/session/CMakeFiles/rsession.dir/all] Error 2 make: *** [Makefile:152: all] Error 2 ==> ERROR: A failure occurred in package(). Aborting... [rstudio-desktop]$

Any ideas what went wrong?

Thanks!

now-im commented on 2018-04-10 14:18 (UTC)

Can't update following error happens:

javac: [mkdir] Created dir: /home/alpha/.cache/yay/rstudio-desktop/src/rstudio-rstudio-2c49f68/src/gwt/bin [javac] Compiling 10 source files to /home/alpha/.cache/yay/rstudio-desktop/src/rstudio-rstudio-2c49f68/src/gwt/bin [javac] error: Source option 5 is no longer supported. Use 6 or later. [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

BUILD FAILED /home/alpha/.cache/yay/rstudio-desktop/src/rstudio-rstudio-2c49f68/src/gwt/build.xml:81: Compile failed; see the compiler error output for details.

Total time: 6 seconds make[2]: [src/gwt/CMakeFiles/gwt_build.dir/build.make:57: gwt_build] Error 1 make[1]: [CMakeFiles/Makefile2:107: src/gwt/CMakeFiles/gwt_build.dir/all] Error 2 make: *** [Makefile:152: all] Error 2 ==> ERROR: A failure occurred in package(). Aborting... Error making: rstudio-desktop

MaoCPU commented on 2018-01-17 21:33 (UTC)

This is more a general question: In order to compile the code of rstudio-1.1.383 with the with the current libraries (eg boost-1.66), it would be necessary to apply patches that are already part of the rstudio releases on github. I am aware that applying just some patches and ignoring others would create the potential of additional problems, so I am not sure if this would be a good idea.

An alternative would be to fall back on the rstudio-desktop-bin package as a stable alternative or the rstudio-desktop-preview-bin (both rely on prebuild deb packages).

Another solution would be to use the rstudio-desktop-git package which has all current patches applied, but uses the latest development tree – including patches that are not even packaged by the rstudio team – adding potential new problems to the software itself.

I was wondering, if any of you are aware of a PKGBUILD that builds the latest release from github (https://github.com/rstudio/rstudio/releases) – or if you think there is a need for this?

Apologies if this wasn't the right place to ask or this has been answered before.

MaoCPU commented on 2017-10-17 13:33 (UTC)

I put an updated PKGBUILD for 1.1.383 at https://gist.github.com/anonymous/efc868e4cdb686848209be8c5917608d I cleaned out some of the patches that were necessary for the 1.0 builds. The core-dictionaries should not have worked before, but they should now. I am still using the previous mirrors. @RCCSilva: This part in the PKGBUILD is only to mirror what the build scripts (see dependencies/common/install-gwt) are doing and I don't think it makes sense to diverge too much from that. Other than that it would surprise me if there was a big difference between Google and Amazon S3, but what data do you base your suggestion on? I tried building it with gwt-2.8.1, but that leads to run-time errors.

flying-sheep commented on 2017-10-16 11:37 (UTC)

hi! do more reliable mirrors for the other links also exist?

RCCSilva commented on 2017-10-12 13:10 (UTC)

Hi, I was having some issues while downloading gwt 2.7 . Not sure if I'm the only, but maybe you should use another website to download this file. I had success at <http://storage.googleapis.com/gwt-releases/gwt-2.7.0.zip>. Great package by the way. Thanks

flying-sheep commented on 2017-10-09 09:48 (UTC)

I see. So not “using javac 1.5”, but “compiling for the Java 5 runtime” fails. Well, this is the stable RStudio, so we can either wait for a RStudio release with this commit… https://github.com/rstudio/rstudio/commit/74c99748324dc7d2b2089e73e398a1d1fd6cbfd9 …or include it as a patch and hope it works. Can you try if RStudio 1.0.153 compiled with that patch works?

creat89 commented on 2017-10-09 09:30 (UTC) (edited on 2017-10-09 09:31 (UTC) by creat89)

Sorry for the late reply, pretty busy at work. No, I don't use an old version of javac, it is the latest one. But GWT 2.7.0 doesn't compile with the newest one: javac: [mkdir] Created dir: /tmp/pamac-build-adrian/rstudio-desktop/src/rstudio-rstudio-a47842c/src/gwt/bin [javac] Compiling 10 source files to /tmp/pamac-build-adrian/rstudio-desktop/src/rstudio-rstudio-a47842c/src/gwt/bin [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later. [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later. The source and target option are indicated in the build.xml of GWT installation. It looks that the version 2.8.1 solves this problem.

flying-sheep commented on 2017-09-29 14:16 (UTC)

dependencies/common/install-gwt sets GWT_SDK_VER=2.7.0. and why do you use an ancient javac? mine has version 1.8