Am Donnerstag, 26. November 2009 12:05:35 schrieb Prasenjit Kapat:
> This has been a very long standing itch of mine - to get rid of the
> ugly (and very minimally informative) Tcl/Tk box to choose the CRAN
> mirrors (one that pops up during install.packages or update.packages
> or ...). Basically, to set options(repos=c(CRAN=....)) with an actual
> url instead of '@CRAN@'.

i like the idea :-) theoretically you could replace @CRAN@ with a mirror of 
your choice, but a combobox to me seems more flexible and intuitive (however, 
consequently it should fully replace the @CRAN@ entry).

> Every time rkward is started, the repos url is set to "" (empty). Once
> you go to Settings > R-packages  and set a 'CRAN download mirror' and
> click apply, only then the repos url is set properly.

i can confirm that -- i removed @CRAN@ from the list and replaced it with a 
mirror, restartet rkward, and when trying to fetch the package list i get:

 Fehler in if (names(x)[i] != "") { : Argument hat Länge 0
 Calls: .rk.get.old.packages -> rk.make.repos.string

so this is not caused by your code, but happens in rkward 0.5.2 whenever the 
tcl/tk dialog doesn't show up. the repositories are configured in 
.kde/share/config/rkwardrc:

 [R Settings]
 Repositories=http://your.favourite-CRAN-mirror.org

but it seems they are not interpreted when rkward starts?


viele grüße :: m.eik 

-- 
  dipl. psych. meik michalke
  abt. f"ur diagnostik und differentielle psychologie
  institut f"ur experimentelle psychologie
  heinrich-heine-universit"at d"usseldorf

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel

Reply via email to