[rkward-users] rkward runnng problem

Gourab gourab at gmail.com
Fri Nov 6 22:10:37 UTC 2009

Thanks both of you for the pointers.
First to answer meik - the version of R was 2.10.0 and it's installed in
The version of rkward is 0.5.2 and it's installed usr/bin/R -
So for installing R - I downloaded the latest version and first used
--enable-R-shlib* to configure the package. And then used *make* to compile
and then finally *make install* to install it. I got the instructions for
this process from a R-ubuntu forum. The instructions also suggested that i
should do *make clean *before installing the new version - but I did not do
For installing RKWARD I used the options for the sourceforge wiki page(
using cmake to install)
Right now the stage I am in is : I uninstalled the R and RKWARD using make
uninstall. So I believe it's all clean and empty and I can start installing
it the right way once I know the right way.
The reason I want to build it from source is
a. I need to learn how to do this and it is giving me good kicks to do it
b. I have been suggested to build R from source to ensure that its
performance is optimized for my system
I have not deleted the package files manually - I uninstalled using
synaptic. I did delete a folder called R manually - it was sitting on my
home folder - and while installing Rkward I needed to create a similar name
directory (R_LIBS_USER for cmake option) for the new version -so I deleted
the one with the old version. Is that something i should not have done?

If you think it's a classic case of a monkey with a gun , I will not try
installing it from the source and just use the precompiled package. But
thanks for all the help so far.

* *

On Thu, Nov 5, 2009 at 2:59 PM, Prasenjit Kapat <kapatp at gmail.com> wrote:

> Gourab:
> On Thu, Nov 5, 2009 at 6:47 AM, Gourab <gourab at gmail.com> wrote:
> > Hi
> > I am a newbie in linux and R. I installed Kubuntu 9.10 on my laptop and
> > installed R(built from source) and then RKWARD following the
> instructions.
> > Now though the instruction is complete rkward cannot function because it
> has
> > an error related to the backend and it says :
> >
> > There was a problem starting the R backend. The following error(s)
> occurred:
> >
> > The 'rkward' R-library either could not be loaded at all, or not in the
> > correct version. This may lead to all sorts of errors, from single
> missing
> > features to complete failure to function. The most likely cause is that
> the
> > last installation did not place all files in the correct place. However,
> in
> > some cases, left-overs from a previous installation that was not cleanly
> > removed may be the cause.
> >
> > You should quit RKWard, now, and fix your installation. For help with
> that,
> > see http://p.sf.net/rkward/compiling.
> >
> > -There was a problem opening the files needed for communication with R.
> Most
> > likely this is due to an incorrect setting for the location of these
> files.
> > Check whether you have correctly configured the location of the log-files
> > (Settings->Configure Settings->Logfiles) and restart RKWard.
> >
> > -An unspecified error occurred that is not yet handled by RKWard. Likely
> > RKWard will not function properly. Please check your setup.
> >
> > I cannot figure out where I went wrong with compiling steps. I deleted
> all
> > the old R executable file that I had in my computer before installing the
> > new R from source. Can anyone help me in resolving the issue?
> Once you have "cleaned up" the mess [*], try installing R from the
> instructions here:
> http://cran.r-project.org/bin/linux/ubuntu/
> Then try installing rkward from Meik's repository, see here:
> http://sourceforge.net/apps/mediawiki/rkward/index.php?title=Binaries_and_Build_Scripts#Unofficial_Ubuntu_repositories
> (you should use the "rkward-cran" flavor described under "KDE4
> Version" subheading)
> * How you clean up depends on your response to Meik's earlier questions.
> --
> Prasenjit

Gourab De
Department of Biostatistics,
Harvard University,
Cambridge, MA-02138
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/rkward-users/attachments/20091106/88d7912d/attachment.html>

More information about the Rkward-users mailing list