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.030655
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 .. 4 5 6 7 8 9 10 11 12 13 14 .. 29 Next › Last »

trap000d commented on 2024-05-13 20:09 (UTC) (edited on 2024-05-13 20:10 (UTC) by trap000d)

Hi @Mailaender,

"Notabug". This var used if cmake<3.14. You might argue cmake=3.29 already in Arch. I'll think what to do with it by the next rstudio release.

Corresponding part in CmakeLists.txt looks as:

if(CMAKE_VERSION VERSION_GREATER "3.14")
    ..........
    set(YAML_CPP_INCLUDE_DIR "${yaml-cpp_SOURCE_DIR}/include")
    set(YAML_CPP_LIBRARIES   yaml-cpp::yaml-cpp)
elseif(NOT RSTUDIO_USE_SYSTEM_YAML_CPP)
    set(YAML_CPP_INCLUDE_DIR "${RSTUDIO_TOOLS_ROOT}/yaml-cpp/${YAML_CPP_VERSION}/include")
    set(YAML_CPP_LIBRARIES   "${RSTUDIO_TOOLS_ROOT}/yaml-cpp/${YAML_CPP_VERSION}/build/libyaml-cpp.a")
else()
  ..........
endif()

Mailaender commented on 2024-05-13 19:30 (UTC)

  Manually-specified variables were not used by the project:

    RSTUDIO_USE_SYSTEM_YAML_CPP

trap000d commented on 2024-05-04 21:13 (UTC)

@arunkhattri,

It looks as the error happened somewhere in the middle of the build process. Tail of message is too generic, it tells nothing (except it happened around 60%). To find out where is the error, you might need to look through the full build log: either increase terminal buffer size, or redirect output to file.

Standard recommendations: update all other packages, clean up yay and makepkg caches, be sure you've got enough RAM (8 GB or more is highly recommended) and space on disk (at least 3 GB).

arunkhattri commented on 2024-05-04 15:17 (UTC)

[ 60%] Built target rstudio
make: *** [Makefile:156: all] Error 2
make: Leaving directory '/home/arunkhattri/.cache/yay/rstudio-desktop/src/build'
ERROR: A failure occurred in package().
    Aborting...
 -> error making: rstudio-desktop-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
rstudio-desktop - exit status 4

can anybody help me?

xiota commented on 2023-12-21 01:56 (UTC) (edited on 2023-12-21 02:18 (UTC) by xiota)

@leonardof Try building in clean chroot. Successfully built this a couple days ago.

leonardof commented on 2023-12-21 01:27 (UTC)

Looks like icu 74 is not compatible with building rstudio-desktop?

==> Iniciando package()...
make: Entrando no diretório '/home/leonardof/aur/rstudio-desktop/src/build'

SNIP

[100%] Built target rsession
[100%] Building GWT sources
Buildfile: /home/leonardof/aur/rstudio-desktop/src/rstudio-2023.12.0-369/src/gwt/build.xml

SNIP

panmirror:
     [echo] yarn location: yarn
     [echo] panmirror location: ./lib/quarto/apps/panmirror
     [echo] panmirror minify: true
     [exec] node: error while loading shared libraries: libicui18n.so.73: cannot open shared object file: No such file or directory

BUILD FAILED
/home/leonardof/aur/rstudio-desktop/src/rstudio-2023.12.0-369/src/gwt/build.xml:189: The following error occurred while executing this line:
/home/leonardof/aur/rstudio-desktop/src/rstudio-2023.12.0-369/src/gwt/build.xml:142: exec returned: 127

Total time: 2 seconds
make[2]: *** [src/gwt/CMakeFiles/gwt_build.dir/build.make:2692: src/gwt/timestamp] Error 1
make[1]: *** [CMakeFiles/Makefile2:412: src/gwt/CMakeFiles/gwt_build.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
make: Saindo do diretório '/home/leonardof/aur/rstudio-desktop/src/build'

==> ERRO: Uma falha ocorreu em package().
    Abortando...

trap000d commented on 2023-11-14 20:52 (UTC)

Hi @BAlmeidaS,

Sorry, no idea. I don't use copilot and have no intention to. You might try to install rstudio-desktop-bin from AUR to check if this tool works there.

As they mention, currently it's a "public preview"

https://docs.posit.co/ide/user/ide/guide/tools/copilot.html

...and I guess is not ready to use yet - you might refer to issues here (I see several are very similar to what you have):

https://github.com/rstudio/rstudio/issues?q=copilot

BAlmeidaS commented on 2023-11-14 20:27 (UTC)

For some reason, the copilot is not working in this version, maybe it is because of nodeJS on the build?

leonardof commented on 2023-10-20 14:29 (UTC)

Hello @trap000d, thanks for your help, sorry for not answering earlier.

seems like the problem was between the chair and the keyboard.

I still keep my Zotero library inside my Firefox profile, which apparently hinders RStudio fom finding it. I had to set the Zotero Data Directory, in:

Tools -> Global or Project Options -> R Markdown -> Citations -> Zotero lLibrary: Local -> Zotero Data Directory (-> Choose between Local library and a group one)

In case anyone else has this issue, they can find their Zotero Data Directory by opening Zotero and checking:

Edit -> Preferences -> Advanced -> Files and Folders -> Data directory location -> see the directory under "Personalized", minus the "locate" part

Mine was ~/.mozilla/firefox/[8 alphanumeric code].default/zotero/

trap000d commented on 2023-10-08 20:17 (UTC) (edited on 2023-10-09 20:23 (UTC) by trap000d)

@leonardof,

No idea. Probably I'll have some time to test this stuff tomorrow. Could you share some example of document which causes the problem?

[Just speculating] It might be somewhere either on Quarto, Rstudio or Zotero side. There were several Zotero related issues reported to RStudio upstream, e.g.: https://github.com/rstudio/rstudio/issues/12295, https://github.com/rstudio/rstudio/issues/13152

Generally, Quarto support in RStudio is still buggy, whereas Quarto itself is quite far from 'production ready'.

UPD: I've tested it on Arch machine. All works well

rstudio-desktop: 2023.09.0.463-2

quarto-cli-pre-release: 1.4.392-1

zotero: 6.0.27-1

I have created a new Quarto project in RStudio. When I press @ in visual editor, I can see cite hints, autocompletion works too

I recall, several months ago there was a bug in RStudio resulted to freezes and crashes when highlights appear. As override they suggested to disable them completely with configuration flag. https://github.com/rstudio/rstudio/issues/13188

options(rstudio.help.showDataPreview = FALSE)

I'm just wondering if you have it defined in your ~/.Rprofile ?