[R-SIG-Mac] tcltk not working in R 3.1.1 on MacOS X 10.9.2

2014-07-14 Thread Yampolsky, Lev
Dear Colleagues, Attempts to use tcltk (R 3.1.1 on MacOS X 10.9.2) or any dependent library (for example qvalue) results in: library(tcltk) Error : .onLoad failed in loadNamespace() for 'tcltk', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object

Re: [R-SIG-Mac] tcltk not working in R 3.1.1 on MacOS X 10.9.2

2014-07-14 Thread Prof Brian Ripley
On 11/07/2014 21:45, Yampolsky, Lev wrote: Dear Colleagues, Attempts to use tcltk (R 3.1.1 on MacOS X 10.9.2) or any dependent library (for example qvalue) results in: library(tcltk) Error : .onLoad failed in loadNamespace() for 'tcltk', details: call: dyn.load(file, DLLpath = DLLpath,

Re: [R-SIG-Mac] tcltk not working in R 3.1.1 on MacOS X 10.9.2

2014-07-14 Thread Yampolsky, Lev
Thank you very much! I actually figured it out while my post was in moderation. From: r-sig-mac-boun...@r-project.org [r-sig-mac-boun...@r-project.org] on behalf of Prof Brian Ripley [rip...@stats.ox.ac.uk] Sent: Monday, July 14, 2014 2:22 AM To:

Re: [R-SIG-Mac] Mac OS X tcltk/X11 issues

2014-07-14 Thread Marc Schwartz
On Jul 14, 2014, at 4:13 PM, John Fox j...@mcmaster.ca wrote: Dear Simon and list members, As many of you are aware, when X11 isn't installed on Mac OS X, loading the tcltk package produces an error, with a message that many users find cryptic. There was yet another instance of this problem

Re: [R-SIG-Mac] Mac OS X tcltk/X11 issues

2014-07-14 Thread Marc Schwartz
On Jul 14, 2014, at 4:53 PM, Marc Schwartz marc_schwa...@me.com wrote: On Jul 14, 2014, at 4:13 PM, John Fox j...@mcmaster.ca wrote: Dear Simon and list members, As many of you are aware, when X11 isn't installed on Mac OS X, loading the tcltk package produces an error, with a message

Re: [R-SIG-Mac] Mac OS X tcltk/X11 issues

2014-07-14 Thread Marc Schwartz
Kasper, Understood. I was not sure if there was someplace in John's startup code that might catch it early on before tcltk loads, but that may be confounded by the sequence of the package import process as John notes below. Reading R-exts and the related help files does not make it clear to me

Re: [R-SIG-Mac] Mac OS X tcltk/X11 issues

2014-07-14 Thread Gábor Csárdi
What's wrong with capabilities(X11)? I am not sure if teting for the OS, and especially for a particular X server, installed in a particular directory, is a good idea, even if it covers most of the _current_ installations. Gabor On Mon, Jul 14, 2014 at 6:13 PM, Marc Schwartz

Re: [R-SIG-Mac] Mac OS X tcltk/X11 issues

2014-07-14 Thread John Fox
Dear Marc and Kasper, I already know how to test whether the Rcmdr is running under Mac OS X and to test whether X11 is installed. But AFAICS there is no way for me to run this code in the Rcmdr package at startup *before* tcltk fails to load -- I did try to do this, both in .onLoad() and in

Re: [R-SIG-Mac] Mac OS X tcltk/X11 issues

2014-07-14 Thread John Fox
Dear Gabor, As I just explained, the problem isn't testing for X11, which I know how to do -- though capabilities(X11) is a bit better than what I suggested. The issue is specific to Mac OS X because the Windows implementation of R includes a Tcl/Tk that doesn't use X11, and I've never seen

[R-SIG-Mac] I'd like to add you to my professional network on LinkedIn

2014-07-14 Thread Antonio Pedro Ramos
Hi , I#39;d like to add you to my professional network on LinkedIn. - Antonio Pedro Accept: https://www.linkedin.com/e/v2?e=20jdkc-hxmj86q9-5ca=preRegInvitetracking=eml-guest-invite-ctaek=invite_guestinvitationID=5894620956202131456sharedKey=hWOy0HKa You are receiving Invitation emails.

Re: [R-SIG-Mac] Mac OS X tcltk/X11 issues

2014-07-14 Thread Gábor Csárdi
Hi John, On Mon, Jul 14, 2014 at 8:12 PM, John Fox j...@mcmaster.ca wrote: Dear Gabor, As I just explained, the problem isn't testing for X11, which I know how to do -- though capabilities(X11) is a bit better than what I suggested. The issue is specific to Mac OS X because the Windows

Re: [R-SIG-Mac] Mac OS X tcltk/X11 issues

2014-07-14 Thread John Fox
Hi Gabor, Thanks for the clarification. I agree that it would be best to intercept the problem on Linux/Unix as well as on Mac OS X. Do you know that X11 is necessary for the tcltk package to work on Linux/Unix systems (or is there possibly a non-X11 Tcl/Tk there that's compatible with the