Package Details: rstudio-desktop-git 0.99.1214-1

Git Clone URL: https://aur.archlinux.org/rstudio-desktop-git.git (read-only)
Package Base: rstudio-desktop-git
Description: A powerful and productive integrated development environment (IDE) for R programming language
Upstream URL: https://www.rstudio.com/products/rstudio/
Keywords: IDE R statistics
Licenses: AGPL3
Conflicts: rstudio-desktop, rstudio-desktop-bin, rstudio-desktop-preview
Provides: rstudio-desktop, rstudio-desktop-bin, rstudio-desktop-preview
Submitter: None
Maintainer: artemklevtsov
Last Packager: artemklevtsov
Votes: 40
Popularity: 0.164700
First Submitted: 2011-03-09 06:13
Last Updated: 2016-06-10 13:38

Latest Comments

artemklevtsov commented on 2015-11-03 13:49

@wushuzh: you always get the latest tagged commit from git. No need change version for the git packages. The version will be updated automatically during build.

wushuzh commented on 2015-11-03 13:07

After installation, I found that my version is rstudio-desktop-git-0.99.749-1, while the latest version tag in aur is rstudio-desktop-git 0.99.717-1. If there is anyone get the same ?

artemklevtsov commented on 2015-10-15 15:32

Good suggestion. Thank you.

yan12125 commented on 2015-10-15 14:33

I don't request every rstudio users to install community/pandoc. Instead, specify 'pandoc' as a dependency and add 'pandoc' to provides of pandoc-bin allows users to choose from community/pandoc and pandoc-bin.

artemklevtsov commented on 2015-10-15 13:11

pandoc from the community repo depends on haskell libs and ghc (more than 1.5 Gb).

yan12125 commented on 2015-10-15 13:01

There's community/pandoc now. Could you change the dependency pandoc-bin to pandoc? I've also asked pandoc-bin to add pandoc to provides array.

artemklevtsov commented on 2015-08-04 18:03

@johanzebin this known bug in the R 3.2.0. See https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15899 for the details.

Edit /usr/include/R/Rinterface.h and replace 'int R_running_as_main_program;' with 'extern int R_running_as_main_program;'.

johanzebin commented on 2015-08-04 17:58

I'm running R 3.2.0 and ran into this issue:
multiple definition of `R_running_as_main_program'

As already mentioned by @unikum, the only needed fix is to edit /usr/include/R/Rinterface.h file and add "+extern" to the following line:
-int R_running_as_main_program;
+extern int R_running_as_main_program;

artemklevtsov commented on 2015-08-01 05:05

@kruegsch thanks for the report. It should be fixed now

kruegsch commented on 2015-07-31 22:32

I had an issue in the preparation step.
The directory with gin's version number was missing.

36: -install -d src/gwt/lib/{gin,gwt/$_gwtver}
36: +install -d src/gwt/lib/{gin/${_ginver},gwt/$_gwtver}

EDIT: It was the -f paramter used for unzip. Without it, unzip will create the 1.5 directory and extract the files.

kruegsch commented on 2015-07-31 22:02

I had an issue in the preparation step.
The directory with gin's version number was missing.

36: -install -d src/gwt/lib/{gin,gwt/$_gwtver}
36: +install -d src/gwt/lib/{gin/${_ginver},gwt/$_gwtver}

artemklevtsov commented on 2015-07-25 12:56

Now it works for me. Pls try it.

Weasel commented on 2015-07-20 14:36

Trying to compile this package, but fails:

Linking CXX executable rsession
[ 90%] Built target rsession
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Makepkg was unable to build rstudio-desktop-git.

A more exstensive compilation-log found here on pastebin: http://pastebin.com/QFgtx6Fw

artemklevtsov commented on 2015-07-15 06:25

To solve problems with compilation on R version 3.2 edit the /usr/include/R/Rinterface.h file and replace the following:
-int R_running_as_main_program;
+extern int R_running_as_main_program;

artemklevtsov commented on 2015-07-15 05:58

To solve problems with compilation on R version 3.2 edit the /usr/include/R/Rinterface.h file and replace the following:
-int R_running_as_main_program;
+extern int R_running_as_main_program;

artemklevtsov commented on 2015-05-10 12:03

I can't check this now. R 3.2 isn't available in the extra now.

hwkiller commented on 2015-04-28 22:44

This fails to build in a clean source directory.

I updated to r 3.2, and perhaps that broke the rstudio build?

artemklevtsov commented on 2015-04-13 15:56

It's not related with PKGBUILD or install file. This message from source git directory. Yesterday I successfully built it in the clean chroot.

artemklevtsov commented on 2015-04-13 15:56

It's not related with PKGBUILD or install file. This message from source git directory.

gabx commented on 2015-04-13 09:21

unfortunately already done. No changes

artemklevtsov commented on 2015-04-13 08:59

@gabx: cleanup build directory and try again.

gabx commented on 2015-04-13 08:43

Error when makepkg:

==> Downloading and installing packages
Cannot pull with rebase: You have unstaged changes.
Please commit or stash them.
==> ERROR: A failure occurred in prepare().
Aborting...

artemklevtsov commented on 2015-01-27 10:37

Should be fixed now.

hwkiller commented on 2015-01-26 21:03

The latest preview ( v0.99.179 ) failed to build.

wertha commented on 2015-01-11 22:31

Is there a way to fix the jdk7-openjdk dependency. I'm using jdk7 and I don't want to install jdk7-openjdk. I installed it by modifying the PKGBUILD but when I try to update through pacaur is pulling that depency and it is blocking the flow. I'm using yaourt to get around. Probably changing it to java-runtime-common might work, but it is not assuring that a jdk is installed, just that java (jre/jdk) is present. Any other idea?

hwkiller commented on 2014-11-22 22:59

Temporarily circumvented this issue by modifying the prepare() function.

When cd'd into the common/ directory,
sed -e 's/wget/wget --no-check-certificate/g' -i ./install-*

hwkiller commented on 2014-11-22 22:48

--2014-11-22 16:46:18-- https://s3.amazonaws.com/rstudio-buildtools/gin-1.5.zip
Resolving s3.amazonaws.com (s3.amazonaws.com)... 54.231.12.16
Connecting to s3.amazonaws.com (s3.amazonaws.com)|54.231.12.16|:443... connected.
ERROR: cannot verify s3.amazonaws.com's certificate, issued by ‘/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms of use at https://www.verisign.com/rpa (c)10/CN=VeriSign Class 3 Secure Server CA - G3’:
Unable to locally verify the issuer's authority.
To connect to s3.amazonaws.com insecurely, use `--no-check-certificate'.

unjello commented on 2014-10-23 20:46

@unikum: perfect. works like a charm. thanks.

artemklevtsov commented on 2014-10-23 19:02

Updated.

unjello commented on 2014-10-23 18:03

Fails to build because of liblang... which package it belongs to?

-- Found Qt4: /usr/lib/qt4/bin/qmake (found suitable version "4.8.6", minimum required is "4.8.0")
CMake Error at src/cpp/session/CMakeLists.txt:50 (message):
liblang 3.5 not found (re-run install-dependencies script to install)

artemklevtsov commented on 2014-09-21 12:17

Seems this workground works: http://stackoverflow.com/a/25949509/1863950

artemklevtsov commented on 2014-09-12 03:55

It realted with boost 1.56. Already reported: https://support.rstudio.com/hc/communities/public/questions/203022436-Can-t-build-RStudio-IDE

hwkiller commented on 2014-09-11 17:43

This fails to build for me. I have a feeling it's actually due to the recent changes to java in arch.
http://pastebin.com/T0D4jyK3

artemklevtsov commented on 2014-09-03 15:06

I successfully build a few minutes ago. I use clean chroot: https://bitbucket.org/unikum/rstudio-desktop/src/master/build-rstudio.sh

gabx commented on 2014-09-03 08:50

nup. same error

artemklevtsov commented on 2014-09-02 15:28

@gabx: clean source directory and try again.

gabx commented on 2014-09-02 06:46

Building error occurs after downloading pandoc
2014-09-02 08:45:13 (3.43 MB/s) - ‘pandoc-1.12.3.zip’ saved [97002741/97002741]
................

Cannot pull with rebase: You have unstaged changes.
Please commit or stash them.

artemklevtsov commented on 2014-08-26 03:22

Added repo: https://wiki.archlinux.org/index.php/Unofficial_user_repositories#rstudio

artemklevtsov commented on 2014-08-16 05:54

I made repo (x86_64 only): ftp://arch.upfile.es/x86_64/. Please welcome.

artemklevtsov commented on 2014-08-04 07:16

Without gmp4 I got error:
/usr/lib/rstudio/bin/pandoc/pandoc: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory

artemklevtsov commented on 2014-08-02 09:45

Thx, I'll test it.

zeny.entropy commented on 2014-08-02 08:07

As for the gmp requirement , arch linux core package version is fine.
"GMP 6.0 is upwardly source and binary compatible with 5.1, 5.0, 4.x, and 3.x, except for applications that use the semi-documented mpn_bdivmod function. "
https://gmplib.org/gmp6.0.html
R uses gmp as an installable extension package.
R-Studio 3.1 successfully built, gmp package installed, gmpVersion() shows 6.0.0

artemklevtsov commented on 2014-07-24 10:45

https://bitbucket.org/unikum/rstudio-desktop/downloads/rstudio-desktop-git-0.98.978-1-x86_64.pkg.tar.xz

artemklevtsov commented on 2014-07-05 05:14

https://bitbucket.org/unikum/rstudio-desktop/downloads/rstudio-desktop-git-0.98.940-1-x86_64.pkg.tar.xz

artemklevtsov commented on 2014-06-11 15:34

@priedel: namcap says that it needed:
rstudio-desktop-git I: Link-level dependence (gmp4) in file ['usr/lib/libgmp.so.3']
Try use pandoc with RStudio.

artemklevtsov commented on 2014-06-11 15:34

@priedel: namcap says that it need:
rstudio-desktop-git I: Link-level dependence (gmp4) in file ['usr/lib/libgmp.so.3']
Try use pandoc with RStudio.

artemklevtsov commented on 2014-06-11 14:03

Updated. x68_64 package: https://bitbucket.org/unikum/rstudio-desktop/downloads/rstudio-desktop-git-0.98.918-1-x86_64.pkg.tar.xz

dpriedel commented on 2014-06-11 13:51

FYI, I just built the package using the current Arch versions of gmp (6.0.0) and libffi (3.0.13 which provides libffi.so.6) and had no problems. Rstudio seems to run OK too.

Dave Riedel

sekret commented on 2014-05-11 09:40

Oh ok, I thought that gmp 4.3.2 might just be too new to provide libgmp.so.3. But if it does, my naming scheme doesn't make a lot of sense ;)

artemklevtsov commented on 2014-05-11 09:34

I build and upload packages:
https://bitbucket.org/unikum/rstudio-desktop/downloads/libffi5-3.0.10-1-x86_64.pkg.tar.xz
https://bitbucket.org/unikum/rstudio-desktop/downloads/gmp4-4.3.2-2-x86_64.pkg.tar.xz
https://bitbucket.org/unikum/rstudio-desktop/downloads/rstudio-desktop-git-0.98.835-1-x86_64.pkg.tar.xz
You can install it with `yaourt -U url` command.

artemklevtsov commented on 2014-05-11 09:28

But source code of gmp have 4.3.2 version :) I hope maintainer of gmp4 package will update his package.

sekret commented on 2014-05-11 07:12

Thanks!

I have an idea: You could upload this gmp package with the name gmp3. The 3 because the so version is 3.*. Makes sense right? So we don't get update messages from e.g. yaourt, cower etc.

artemklevtsov commented on 2014-05-11 05:19

I builded gmp4 from this PKGBUILD - https://gist.github.com/PedroHLC/6742282
It contain necessary library:
$ yaourt -Ql gmp4
gmp4 /usr/
gmp4 /usr/lib/
gmp4 /usr/lib/libgmp.so.3
gmp4 /usr/lib/libgmp.so.3.5.2

sekret commented on 2014-05-10 16:24

According to the describtion yes, but according to the comments no ;) Seems like we need an older version. But gmp from [core] only has

gmp /usr/lib/libgmp.so
gmp /usr/lib/libgmp.so.10
gmp /usr/lib/libgmp.so.10.2.0

so we definitely need an older version. What I find strange is that this isn't detected by the build process!

artemklevtsov commented on 2014-05-10 14:52

gmp4 package will solve "libgmp.so.3 => not found" issue?

sekret commented on 2014-05-10 14:46

Sorry for another comment, but it's really going on my nerves that those dependency files (gwt, dictionaries etc) get downloaded every time, even if I don't remove my src directory. My internet connection is both slow and limited in bandwidth. I think it would make sense to let makepkg download those files by putting them into the source line. Might be out of the ordinary, but I'll create such a PKGBUILD even if it's just for me. I'll provide a pastebin link of course. You can choose then if you'd like to adopt this way of downloading it.

sekret commented on 2014-05-10 14:26

Hm, looks like libffi5 isn't enough, there's still libgmp.so.3 which is provided by gmp4. I'm rebuilding the package right now, will report back.

# ldd /usr/lib/rstudio/bin/pandoc/pandoc
linux-vdso.so.1 (0x00007fff153fe000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007fa236b07000)
librt.so.1 => /usr/lib/librt.so.1 (0x00007fa2368ff000)
libutil.so.1 => /usr/lib/libutil.so.1 (0x00007fa2366fc000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fa2364f8000)
libgmp.so.3 => not found
libffi.so.5 => /usr/lib/libffi.so.5 (0x00007fa2362f0000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007fa235fec000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007fa235c3e000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fa235a20000)
/lib64/ld-linux-x86-64.so.2 (0x00007fa236d1d000)

artemklevtsov commented on 2014-05-10 11:18

thx. I'll fix this.

sekret commented on 2014-05-10 10:39

Looks like this package depends on libffi5. Using namcap you'll see that there are missing libraries, among them /usr/lib/libffi.so.5 Installing libffi5 solves this.

saultdon commented on 2014-03-06 17:52

Getting this error during compile:

CMake Error at src/cpp/session/CMakeLists.txt:32 (message):
rmarkdown package not found (re-run install-dependencies script to install)

artemklevtsov commented on 2014-02-08 12:02

Done.

petelewis commented on 2014-02-08 10:25

I had to add './install-pandoc' to the PKGBUILD for this to build...

khughitt commented on 2013-03-03 16:09

Oops. ignore out of date flag -- for some reason yaourt still listing qt as a requirement.

khughitt commented on 2013-03-03 16:07

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

Anonymous comment on 2013-01-17 07:37

I had to run the src/rstudio/dependencies/install-qt-sdk script and update the qt packages with their GUI interface to resolve my issue in a previous comment.

I'm not sure what is installed with the sdk that is not in the core repository qt package, but I know that it resolved my problem.

Thanks for putting the package up.

artemklevtsov commented on 2013-01-16 08:46

Now I get
Found Qt4: /usr/bin/qmake (found suitable version "4.8.4", minimum required is "4.8.0")
and build success.
Archlinux x86_64, qt 4.8.4-1.

Anonymous comment on 2013-01-16 03:31

I'm recieving the following error when attempting to build the package:

Could NOT find Qt4 (missing: QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE
QT_UIC_EXECUTABLE) (found suitable version "4.8.4", minimum required is
"4.8.0")

qmake -query does not list those packages (not sure if that is the right term):

[andy@Arch rstudio-desktop-git]$ qmake -query
QT_INSTALL_PREFIX:/usr/bin
QT_INSTALL_DATA:/usr/bin
QT_INSTALL_DOCS:/usr/bin/doc
QT_INSTALL_HEADERS:/usr/bin/include
QT_INSTALL_LIBS:/usr/bin/lib
QT_INSTALL_BINS:/usr/bin/bin
QT_INSTALL_PLUGINS:/usr/bin/plugins
QT_INSTALL_IMPORTS:/usr/bin/imports
QT_INSTALL_TRANSLATIONS:/usr/bin/translations
QT_INSTALL_CONFIGURATION:/usr/bin
QT_INSTALL_EXAMPLES:/usr/bin
QT_INSTALL_DEMOS:/usr/bin
QMAKE_MKSPECS:/usr/bin/mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.8.4

Do you know where I can find those additional tools to be able to complete the build?

mrbit commented on 2012-09-08 09:59

ok..thanks

artemklevtsov commented on 2012-09-08 09:58

Updated without change pkgrel.

mrbit commented on 2012-09-08 09:37

SO 64bit I installed jdk7-openjdk

openjdk6 e jdk7-openjdk conflict

mrbit commented on 2012-09-08 09:34

SO 64bit ho installato jdk7-openjdk

openjdk6 e jdk7-openjdk conflict

artemklevtsov commented on 2012-08-01 05:28

@pixies: works for me (x86_64). Please give more info, or try to ask developers - http://support.rstudio.org/help/discussions/problems.

Anonymous comment on 2012-08-01 03:31

[java] at java.util.TimerThread.mainLoop(Timer.java:555)
[java] at java.util.TimerThread.run(Timer.java:505)

BUILD FAILED
/tmp/packerbuild-1000/rstudio-desktop-git/rstudio-desktop-git/src/rstudio/src/gwt/build.xml:147: The following error occurred while executing this line:
/tmp/packerbuild-1000/rstudio-desktop-git/rstudio-desktop-git/src/rstudio/src/gwt/build.xml:108: Java returned: 137

Total time: 1 minute 21 seconds
make[2]: ** [gwt_build] Erro 1
make[1]: ** [src/gwt/CMakeFiles/gwt_build.dir/all] Erro 2
make: ** [all] Erro 2
==> ERRO: Uma falha ocorreu em package().
Abortando...
The build failed.

artemklevtsov commented on 2012-07-26 12:28

I use prefix (/usr/lib) like .deb and rpm packages from RStudio website.

mschu commented on 2012-07-23 16:25

Please put large binary blobs in /opt/, not in /usr/lib.

artemklevtsov commented on 2012-07-18 03:20

Now the issue resolved from uptream.

artemklevtsov commented on 2012-07-09 15:25

@Apollo_Costa: Seems it's uupstream issue. You can try describe your problem here - http://support.rstudio.org/help/discussions/problems

Anonymous comment on 2012-07-09 09:21

Hi,

i can't build the R-Studio. Here is my build log: http://pastebin.com/GieGYFdy. Have anyone a idea ?

artemklevtsov commented on 2012-06-11 08:48

Can't build this package:
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.2", required is "4.8.0")
CMake Error at src/cpp/session/CMakeLists.txt:20 (message):
Dictionaries not found (re-run install-dependencies script to install)


-- Configuring incomplete, errors occurred!

Pank commented on 2011-04-16 13:18

Hmm, maybe /opt/rstudio/bin/ should be added to PATH?
Also, R should know about /opt/rstudio/R/, especially given the new manipulate library, distributed with Rstuido

http://www.rstudio.org/docs/advanced/manipulate

Anonymous comment on 2011-03-20 01:47

It's very undesirable behavior for the Qt SDK installer to modify the system like that :( At least we should no longer have that issue.

Now if we can just get rid of those GWT, Guice, and Gin downloads we will be set. Although from what I can tell, they only unpack a zip into the source tree and should not modify your system in any way.

Pank commented on 2011-03-20 00:24

you are right

Anonymous comment on 2011-03-20 00:07

I think the build problem I was having when trying to build without Qt SDK installed with the script RStudio provides. I just tried a build on an Arch VM that I just installed on one of my machines with no Qt SDK installed, and cmake was able to configure without an issue on that system.

The issue is some configuration variables were set by the Qt SDK install in qmake. You can see if this happened to you by running "qmake -query" and checking for any variables referring to the old Qt SDK install. The easiest solution for me was to just reinstall qt by running "pacman -Rnd qt && pacman -S qt". After that, things built again.

I'm updating the package to once again remove the qt-sdk install script.

Anonymous comment on 2011-03-14 19:37

I've re-enabled the qt-sdk install script so things should work again, just with that horribly large download.

Anonymous comment on 2011-03-14 18:31

Thank you Pank, I've been experimenting and seeing the same thing as you. I've raised the issue on the RStudio forum.

Development is moving very fast on the RStudio end from what I can tell and they are constantly tweaking the build system right now. I will try my best to stay on top of it. I just tried two builds about 10 minutes apart and ending up with some git updates when the second ran so they had already committed some changes in those 10 minutes.

Pank commented on 2011-03-14 16:42

It builds when I install Qt sdk.

Pank commented on 2011-03-12 20:25

I tried to remove everything, including the PKGBUILD an re-download everything. It is quite weird. . . It naturally checks for dependencies before building. I use x64, but I don't think that should matter.

Anonymous comment on 2011-03-12 19:46

Hmm that looks like the error you should have gotten on an older version when it could not find the Qt SDK. The sdk shouldn't be needed anymore, so is it possible that your git repo was not up to date? I haven't really tested the ability to update the git repo continually with the PKGBUILD yet (although I think it would work). Try deleting the src directory and regenerating it if you are trying to build on top of an old git checkout.

You have Qt installed I assume since it is a dependency, so that is likely not it.

Unfortunately this is building fine for me on 2 different computers so I can't replicate the error to help you debug

Pank commented on 2011-03-11 09:06

Hmm, not it complains about QT. It seems that it wants qt dependencies for win and mac as well cf. http://pastebin.com/RHTXQYNB .
Thanks,
Rasmus

Pank commented on 2011-03-11 08:52

Pank asked:
> So can the QT SDK just be removed by rm -r /opt/qtsdk-2010.05 or should I run some kind of script to remove it?
The answer is that there is a bin/uinstall. Find just didn't find it due to permissions :)

Pank commented on 2011-03-11 08:49

So can the QT SDK just be removed by rm -r /opt/qtsdk-2010.05 or should I run some kind of script to remove it?

Anonymous comment on 2011-03-11 05:20

Good news on several fronts! The Qt SDK is no longer downloaded or installed in the build process, saving a lot of time and space. The scripts now also correctly check if gwt has already been downloaded and does not download it in later builds.

Anonymous comment on 2011-03-10 20:13

Upstream has fixed the issue with Boost 1.46 and the package now compiles fine with it.

Anonymous comment on 2011-03-10 17:28

Hmm, you are on boost 1.45 or lower correct? Could you put the entire output of makepkg on pastebin? I suspect there is an error further up in the output that is the cause of your problem.

Pank commented on 2011-03-10 17:08

They should be present

> which ant
/usr/share/java/apache-ant/bin/ant
> which java
/opt/java/jre/bin/java

Anonymous comment on 2011-03-10 17:04

Pank - do you have apache-ant and java on your path? The packages for those may not put them on the path and then the makefile cannot find them.

As for gwt, it might be possible to check if its already downloaded, I haven't looked at the script closely that is used for it.

Pank commented on 2011-03-10 11:48

Also, could it maybe check for gwt? Currently, it downloads it every time.

Pank commented on 2011-03-10 11:31

Hi,
I cannot get past 23%. Might there be a missing dependency or something like that?

[ 22%] Building CXX object src/cpp/core/CMakeFiles/rstudio-core.dir/system/PosixSystem.cpp.o
[ 23%] Building CXX object src/cpp/core/CMakeFiles/rstudio-core.dir/system/PosixUser.cpp.o
Linking CXX static library librstudio-core.a
[ 23%] Built target rstudio-core
make: *** [all] Error 2
Aborting...

Anonymous comment on 2011-03-09 06:17

Note that this does not currently build with boost 1.46, you need to downgrade to 1.45 to get it to build.