[rkward-tracker] [ rkward-Feature Requests-3290832 ] support multiple installed R backends
SourceForge.net
noreply at sourceforge.net
Thu Apr 21 07:18:03 UTC 2011
Feature Requests item #3290832, was opened at 2011-04-21 07:18
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=459010&aid=3290832&group_id=50231
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: support multiple installed R backends
Initial Comment:
Hi
First of all thank you for this wonderful program- it is a very nice piece of software.
Not sure if this is interesting to someone else, but I usually work with several different R installs in the same machine, so that I can keep compatibility with some specific packages (mainly related to Bioconductor). Usually rkward is bound to one backend and changing that may be quite problematic (unless I am missing something). Recently I hacked the rkward script to be able to specify the R backend on start. Obviously this needs the proper version of the corresponding rkward R package to be installed in that R install, so implementing this feature mainstream may be more problematic than in my use case. Below is the corresponding piece of code. If this is implemented in the official package it may require some changes, like instead of calling error() when no --rbinary option is passed trying first the R_binary variable that is generated during compilation, so that it can work for regular users with only one version of R installed.
Thank you for the hard work!
Cheers
Diego
if [ "${1}" = "--rbinary" ]; then
shift
if [ -z "${1}" ]; then
error "option '--rbinary' requires an argument"
else
R_binary=${1}
shift
fi
else
error "option '--rbinary' must be specified"
fi
export R_binary
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=459010&aid=3290832&group_id=50231
More information about the rkward-tracker
mailing list