[Rd] Oops...a better (working, this time) patch for setRepositories

2009-07-29 Thread Richard Calaway
My previous suggested patch worked fine for the text-menu case, but broke the graphics case; the following one, that moves the definition of nc outside of the if...else clauses, works for both: Index: packages.R === --- packages.

[Rd] Problem in setRepositories() logic

2009-07-29 Thread Richard Calaway
Hi, all-- I was playing around with the Packages menu in the Windows RGui, and noticed that when I chose Select repositories and clicked Cancel, instead of being returned to the R prompt I was faced with a text version of the menu. I think the text menu should only appear if graphics=FALSE