[rkward-devel] rkward crashes R backend
Maureen Allyn
mark.allyn at verizon.net
Thu Dec 10 13:58:17 UTC 2015
Dear Thomas,
Thanks for the very clear and prompt reply to my query.
I will try compiling RKWard . From your code snippet it is apparent you
require CMAKE. Is there a version requirement for CMAKE? I am currently
running cmake 3.3.1.
I too thought that a version mismatch might be the problem, and I tried to
compile R with --enable-R-shlib switch. So, I got a copy of R-3.2.2. (64
bit) and tried compiling from source. Unfortunately, the "sudo make install"
step failed with an error message "cannot stat NEWS.pdf: no such file or
directory". I don't know what to do with this. Perhaps try compiling an
earlier version than 3.2.2?
Would installing R from Michael Rutter's archive avoid the "--enable-R-shlib
problem"? Must the --enable-R-shlib ALWAYS be set in order for RKWard to
function? (Or R-studio, for that matter).
Thank you,
Mark
-----Original Message-----
From: Thomas Friedrichsmeier
[mailto:thomas.friedrichsmeier at ruhr-uni-bochum.de]
Sent: Wednesday, December 09, 2015 3:03 PM
To: rkward-devel at kde.org
Cc: Maureen Allyn <mark.allyn at verizon.net>
Subject: Re: [rkward-devel] rkward crashes R backend
Hi,
On Wed, 09 Dec 2015 14:27:46 -0500
"Maureen Allyn" <mark.allyn at verizon.net> wrote:
> A new install of rkward crashes the R backend when it launches.
> Rkward is running on a Ubuntu 14.04 ("Trusty) 64 bit system. The R
> version on the 64 bit machine is not known and is identified by the R
> team as "R under development (unstable)".
>
>
>
> As a point of reference, an installation of Rkward does NOT crash the
> backend on a 32 bit Ubuntu 14.04 box. This version of R is 3.2.2.
this sounds like a version mismatch problem. In general, you should try to
make sure to use a version of RKWard that was compiled specifically for the
version of R in use.
This is a bit of guesswork, but it sounds like the R version on the former
system is a development/SVN snapshot. In this case, your only safe bet will
be to compile RKWard from source, too. Fortunately, this is relatively easy
on Ubuntu:
sudo apt-get build-dep rkward
xzf rkward-0.6.3.tar.gz # get it from http://rkward.kde.org/download
cd rkward-0.6.3
mkdir build; cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DR_EXECUTABLE=/your/path/to/R make
sudo make install
BTW, my very first guess would be that this version of R was compiled
without the --enable-R-shlib configure option. In this case, you will have
to recompile it with the option enabled.
A different, and very comfortable way to use RKWard with a fresh version of
R is installing R from Michael Rutter's archive:
https://launchpad.net/~marutter/+archive/ubuntu/rrutter
and a matching version of RKWard from one of our "CRAN version of R"
PPAs:
https://launchpad.net/~rkward-devel
Probably this is what you have on the 32bit box(?).
If I guessed all wrong, a sessionInfo() of the R version on the crashing
machine might be helpful.
> Any help would be appreciated. It's a nice software. Compares
> favorably to Rstudio.
Thanks for the praise. Hope this helps some. For follow-up questions, please
post to rkward-devel at kde.org (we have moved).
Regards
Thomas
More information about the rkward-devel
mailing list