[R-SIG-Mac] tcltk not working in R 3.1.1 on MacOS X 10.9.2
Yampolsky, Lev
YAMPOLSK at mail.etsu.edu
Mon Jul 14 12:10:04 CEST 2014
Thank you very much! I actually figured it out while my post was in moderation.
________________________________________
From: r-sig-mac-bounces at r-project.org [r-sig-mac-bounces at r-project.org] on behalf of Prof Brian Ripley [ripley at stats.ox.ac.uk]
Sent: Monday, July 14, 2014 2:22 AM
To: r-sig-mac at r-project.org
Subject: Re: [R-SIG-Mac] tcltk not working in R 3.1.1 on MacOS X 10.9.2
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, ...)
> error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.1/Resources/library/tcltk/libs/tcltk.so':
> dlopen(/Library/Frameworks/R.framework/Versions/3.1/Resources/library/tcltk/libs/tcltk.so, 10): Library not loaded: /opt/X11/lib/libX11.6.dylib
> Referenced from: /Library/Frameworks/R.framework/Versions/3.1/Resources/library/tcltk/libs/tcltk.so
> Reason: image not found
> Error: package or namespace load failed for ‘tcltk’
>
> Tried:
> - upgraded to the most recent R (it did say at installation that it includes tcltk)
> - manually upgraded tcltk to tcltk 8.6.1
>
> Neither helped. A few discussions I read imply that I should not do anything and R ver3 or more recent should come bundled with tcltk and it should work.
> Any ideas?
You need XQuartz installed on Mavericks to use X11-based tcltk. See the
manuals.
>
> Thanks very much in advance,
>
>
>
> --
> Lev Yampolsky
>
> Associate Professor
> Department of Biological Sciences
> East Tennessee State University
> Box 70703
> Johnson City TN 37614-1710
> Cell 423-676-7489
> Office/lab 423-439-4359
> Fax 423-439-5958
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
More information about the R-SIG-Mac
mailing list