Bug 380600 - Fix the whole CRAN mirror issue
Summary: Fix the whole CRAN mirror issue
Status: REPORTED
Alias: None
Product: rkward
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified All
: NOR wishlist
Target Milestone: ---
Assignee: RKWard Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-24 03:12 UTC by RKWard Team
Modified: 2010-04-25 04:52 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RKWard Team 2010-04-24 03:12:34 UTC
-- Originally posted by (AT sourceforge.net): kapatp --

-- This ticket was imported from http://sourceforge.net/p/rkward/feature-requests/66 on 2017-05-31 14:48:57 +0100 --
Eventually, the following things will need to be taken care of \(not a bug, but an eyesore ;\) \):

If repos == '@CRAN@' and 'Fetch list' is called from either Install or Update tabs of Configure Packages then the same old Tcl/Tk menu is shown. To fix this, fix the available.packages\(\) call in .rk.cached.available.packages\(\). Basically, check if repos == '@CRAN@' and call rk.select.CRAN.mirror\(\); set the repos and then call available.packages\(\).

3\. Add the base CRAN mirror: "http://cran.r-project.org" \(an Austrian server\) to the chooseCRANmirror\(\) list. May be even set this as the default, if none is selected?-- Labels: General --
Comment 1 Thomas Friedrichsmeier 2010-04-24 07:50:30 UTC
"the same old Tcl/Tk menu is shown"

Are you sure? For me it's the new RKWard native menu. You can differentiate the two by the window icon. If it's an RKWard one, it's ours, if it's a plain X11, it's the tcl-menu. Also, you would see a message "Loading Tcl/Tk interface" for the tcl-menu.

Of course either way it does not provide the extended information about the mirrors. The most central place to fix this would be in chooseCRANmirror\(\) \(which is a bit difficult to override, but see the bottom section of internal.R, where we replace menu\(\) and select.list\(\)\).
Comment 2 RKWard Team 2010-04-25 04:52:45 UTC
-- Originally posted by (AT sourceforge.net): kapatp --
Yes, you are right. My wording was wrong, the menu is RKWard native. My intention was the lack of extended information.