I am actually using R 2.81 and R 2.7 in parallel. I installed rkward after I installed R 2.7. Now I would like to use the 2.8.1 binary with rkward. Is there any way to do this without recompiling? I can change the path for the libraries but I haven't found the path to the binary.
Thanks a lot for you help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am not sure how rkward searches for R binary, still there are some things you could try out:
If you are using the 0.5.0 version (ie for KDE4) then there are these cmake variables,
-DR_EXECUTABLE:
path to the R executable. You may want to set this, if you have multiple versions of R installed, or R is not in your path. Example -DR_EXECUTABLE=/usr/bin/R
-DR_HOME
R home directory. Almost certainly this option is not needed.
-DR_INCLUDE
path to R include files. Almost certainly this option is not needed.
If you are using 0.4.9 version (ie for KDE3) then try setting these configure variables:
--with-r-home=DIR specify location of R_HOME directory
--with-r-includes=DIR specify location of R include files
As you must've already seen, there is no "--with-r-executable" here. If r-home does not work, then you may need to try and play around by switching the actual R binaries in /usr/bin or /usr/local/bin to their names (eg R2.7, R2.8) and then keep the default as a symlink to R2.8 and then compile rkward.
Hello everybody,
I am actually using R 2.81 and R 2.7 in parallel. I installed rkward after I installed R 2.7. Now I would like to use the 2.8.1 binary with rkward. Is there any way to do this without recompiling? I can change the path for the libraries but I haven't found the path to the binary.
Thanks a lot for you help.
I am not sure how rkward searches for R binary, still there are some things you could try out:
If you are using the 0.5.0 version (ie for KDE4) then there are these cmake variables,
-DR_EXECUTABLE:
path to the R executable. You may want to set this, if you have multiple versions of R installed, or R is not in your path. Example -DR_EXECUTABLE=/usr/bin/R
-DR_HOME
R home directory. Almost certainly this option is not needed.
-DR_INCLUDE
path to R include files. Almost certainly this option is not needed.
If you are using 0.4.9 version (ie for KDE3) then try setting these configure variables:
--with-r-home=DIR specify location of R_HOME directory
--with-r-includes=DIR specify location of R include files
As you must've already seen, there is no "--with-r-executable" here. If r-home does not work, then you may need to try and play around by switching the actual R binaries in /usr/bin or /usr/local/bin to their names (eg R2.7, R2.8) and then keep the default as a symlink to R2.8 and then compile rkward.
Warning: the 'released" versions of rkward do not play well with R 2.8.x, so you'll need to get the rkward from svn, which can be either for the KDE3/KDE4. See here:
http://rkward.sourceforge.net/wiki/index.php?title=RKWard_SVN
Let us know if you need more help.