Re: [R-SIG-Mac] Trouble with tcltk

2013-09-03 Thread Michael Kubovy
Indeed, all I had to do is install R version 3.0.1 Patched (2013-09-02 r63805), 
and all was well.

I'm puzled why, at the time I upgraded to 3.0.1, tcltk wasn't installed. But 
that's now water under the bridge, and I don't care much for either hydrology 
or pontology.

Thanks,
MK

On Sep 3, 2013, at 6:40 AM, Prof Brian Ripley  wrote:

> On 03/09/2013 11:21, Michael Kubovy wrote:
>> Many packages require tcltk.
>> 
>> I have installed 
>> http://cran.r-project.org/bin/macosx/tools/tcltk-8.5.5-x11.pkg and yet, when 
>> I try
> 
> That is the wrong version for R 3.0.1, so please remove it.  You may need to 
> re-install R, as that ships with the correct tcltk.
> 
> -- 
> Brian D. Ripley,  rip...@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, UKFax:  +44 1865 272595
> 
> ___
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

__
Professor Michael Kubovy
University of Virginia
Department of Psychology
for mail add:   for FedEx or UPS add: 
P.O.Box 400400  Gilmer Hall, Room 102
Charlottesville, VA 22904-4400  485 McCormick Road
USA Charlottesville, VA 
22903
roomphone
Office:B011 +1-434-982-4729
Lab:B019+1-434-982-4751
WWW:http://www.people.virginia.edu/~mk9y/


[[alternative HTML version deleted]]

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] Trouble with tcltk

2013-09-03 Thread Prof Brian Ripley

On 03/09/2013 15:22, Kasper Daniel Hansen wrote:

For those of us who compile from source, I assume this
   tcl8.6.0-darwin10-x86_64.tar.gz
from
http://r.research.att.com/libs/
is the recommend version? Indeed, I always assume I should just grab the
newest version of everything I need from this location.


You also need tk.

But I believe that installing a binary of R 3.0.1 puts in place all you 
need: I've not set a new Mac up since January.


Best,
Kasper




On Tue, Sep 3, 2013 at 6:40 AM, Prof Brian Ripley mailto:rip...@stats.ox.ac.uk>> wrote:

On 03/09/2013 11:21, Michael Kubovy wrote:

Many packages require tcltk.

I have installed
http://cran.r-project.org/bin/__macosx/tools/tcltk-8.5.5-x11.__pkg

and yet, when I try


That is the wrong version for R 3.0.1, so please remove it.  You may
need to re-install R, as that ships with the correct tcltk.

library(gamlss.demo)
I get
Loading required package: rpanel
Loading required package: 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.0/__Resources/library/tcltk/libs/__tcltk.so':

  
dlopen(/Library/Frameworks/R.__framework/Versions/3.0/__Resources/library/tcltk/libs/__tcltk.so,
 10): Library not loaded: /usr/local/lib/libtcl8.6.dylib
Referenced from:

/Library/Frameworks/R.__framework/Versions/3.0/__Resources/library/tcltk/libs/__tcltk.so
Reason: image not found
Error: package ‘tcltk’ could not be loaded


sessionInfo()

R version 3.0.1 (2013-05-16)
Platform: x86_64-apple-darwin10.8.0 (64-bit)

locale:
[1]
en_US.UTF-8/en_US.UTF-8/en_US.__UTF-8/C/en_US.UTF-8/en_US.UTF-__8

attached base packages:
[1] datasets  utils stats graphics  grDevices methods   base

other attached packages:
[1] sos_1.3-7   brew_1.0-6  ggplot2_0.9.3.1 car_2.0-18
nnet_7.3-7  MASS_7.3-28

loaded via a namespace (and not attached):
   [1] colorspace_1.2-2   dichromat_2.0-0digest_0.6.3
grid_3.0.1 gtable_0.1.2   labeling_0.2
   [7] munsell_0.4.2  plyr_1.8   proto_0.3-10
RColorBrewer_1.0-5 reshape2_1.2.2 scales_0.2.3
[13] stringr_0.6.2


Professor Michael Kubovy
University of Virginia
Department of Psychology
for mail add:   for
FedEx or UPS add:
P.O.Box 400400  Gilmer Hall,
Room 102
Charlottesville, VA 22904-4400  485 McCormick Road
USA
Charlottesville, VA 22903
 roomphone
Office:B011 +1-434-982-4729 
Lab:B019 +1-434-982-4751 
WWW: http://www.people.virginia.__edu/~mk9y/



 [[alternative HTML version deleted]]



_
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org 
https://stat.ethz.ch/mailman/__listinfo/r-sig-mac




--
Brian D. Ripley, rip...@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, UKFax: +44 1865 272595



_
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org 
https://stat.ethz.ch/mailman/__listinfo/r-sig-mac






--
Brian D. Ripley,  rip...@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, UKFax:  +44 1865 272595

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] Trouble with tcltk

2013-09-03 Thread Kasper Daniel Hansen
Thanks, I missed the tk package on the website.  Sorry for the noise.

Best,
Kasper


On Tue, Sep 3, 2013 at 10:38 AM, Prof Brian Ripley wrote:

> On 03/09/2013 15:22, Kasper Daniel Hansen wrote:
>
>> For those of us who compile from source, I assume this
>>tcl8.6.0-darwin10-x86_64.tar.**gz
>> from
>> http://r.research.att.com/**libs/ 
>> is the recommend version? Indeed, I always assume I should just grab the
>> newest version of everything I need from this location.
>>
>
> You also need tk.
>
> But I believe that installing a binary of R 3.0.1 puts in place all you
> need: I've not set a new Mac up since January.
>
>>
>> Best,
>> Kasper
>>
>>
>>
>>
>> On Tue, Sep 3, 2013 at 6:40 AM, Prof Brian Ripley > **> wrote:
>>
>> On 03/09/2013 11:21, Michael Kubovy wrote:
>>
>> Many packages require tcltk.
>>
>> I have installed
>> http://cran.r-project.org/bin/**__macosx/tools/tcltk-8.5.5-**
>> x11.__pkg
>>
>> > x11.pkg >
>> and yet, when I try
>>
>>
>> That is the wrong version for R 3.0.1, so please remove it.  You may
>> need to re-install R, as that ships with the correct tcltk.
>>
>> library(gamlss.demo)
>> I get
>> Loading required package: rpanel
>> Loading required package: 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.0/__**
>> Resources/library/tcltk/libs/_**_tcltk.so':
>>
>>   dlopen(/Library/Frameworks/R._**_framework/Versions/3.0/__**
>> Resources/library/tcltk/libs/_**_tcltk.so, 10): Library not loaded:
>> /usr/local/lib/libtcl8.6.dylib
>> Referenced from:
>> /Library/Frameworks/R.__**framework/Versions/3.0/__**
>> Resources/library/tcltk/libs/_**_tcltk.so
>>
>> Reason: image not found
>> Error: package ‘tcltk’ could not be loaded
>>
>>
>> sessionInfo()
>>
>> R version 3.0.1 (2013-05-16)
>> Platform: x86_64-apple-darwin10.8.0 (64-bit)
>>
>> locale:
>> [1]
>> en_US.UTF-8/en_US.UTF-8/en_US.**__UTF-8/C/en_US.UTF-8/en_US.**
>> UTF-__8
>>
>>
>> attached base packages:
>> [1] datasets  utils stats graphics  grDevices methods
>> base
>>
>> other attached packages:
>> [1] sos_1.3-7   brew_1.0-6  ggplot2_0.9.3.1 car_2.0-18
>> nnet_7.3-7  MASS_7.3-28
>>
>> loaded via a namespace (and not attached):
>>[1] colorspace_1.2-2   dichromat_2.0-0digest_0.6.3
>> grid_3.0.1 gtable_0.1.2   labeling_0.2
>>[7] munsell_0.4.2  plyr_1.8   proto_0.3-10
>> RColorBrewer_1.0-5 reshape2_1.2.2 scales_0.2.3
>> [13] stringr_0.6.2
>>
>> __**__
>>
>> Professor Michael Kubovy
>> University of Virginia
>> Department of Psychology
>> for mail add:   for
>> FedEx or UPS add:
>> P.O.Box 400400  Gilmer Hall,
>> Room 102
>> Charlottesville, VA 22904-4400  485 McCormick Road
>> USA
>> Charlottesville, VA 22903
>>  roomphone
>> Office:B011 +1-434-982-4729 
>> Lab:B019 +1-434-982-4751 
>> WWW: http://www.people.virginia.__**edu/~mk9y/
>>
>> 
>> 
>> >
>>
>>
>>  [[alternative HTML version deleted]]
>>
>>
>>
>> __**___
>> R-SIG-Mac mailing list
>> R-SIG-Mac@r-project.org 
>> > >
>> 
>> https://stat.ethz.ch/mailman/_**_listinfo/r-sig-mac
>> 
>> 
>> >
>>
>>
>>
>> --
>> Brian D. Ripley, rip...@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, UKFax: +44 1865 272595
>> 
>>
>>
>> __**___
>> R-SIG-Mac ma

Re: [R-SIG-Mac] Trouble with tcltk

2013-09-03 Thread Kasper Daniel Hansen
For those of us who compile from source, I assume this
  tcl8.6.0-darwin10-x86_64.tar.gz
from
  http://r.research.att.com/libs/
is the recommend version? Indeed, I always assume I should just grab the
newest version of everything I need from this location.

Best,
Kasper




On Tue, Sep 3, 2013 at 6:40 AM, Prof Brian Ripley wrote:

> On 03/09/2013 11:21, Michael Kubovy wrote:
>
>> Many packages require tcltk.
>>
>> I have installed http://cran.r-project.org/bin/**
>> macosx/tools/tcltk-8.5.5-x11.**pkgand
>>  yet, when I try
>>
>
> That is the wrong version for R 3.0.1, so please remove it.  You may need
> to re-install R, as that ships with the correct tcltk.
>
>  library(gamlss.demo)
>> I get
>> Loading required package: rpanel
>> Loading required package: 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.0/**Resources/library/tcltk/libs/**tcltk.so':
>>dlopen(/Library/Frameworks/R.**framework/Versions/3.0/**
>> Resources/library/tcltk/libs/**tcltk.so, 10): Library not loaded:
>> /usr/local/lib/libtcl8.6.dylib
>>Referenced from: /Library/Frameworks/R.**framework/Versions/3.0/**
>> Resources/library/tcltk/libs/**tcltk.so
>>Reason: image not found
>> Error: package ‘tcltk’ could not be loaded
>>
>>
>>  sessionInfo()
>>>
>> R version 3.0.1 (2013-05-16)
>> Platform: x86_64-apple-darwin10.8.0 (64-bit)
>>
>> locale:
>> [1] en_US.UTF-8/en_US.UTF-8/en_US.**UTF-8/C/en_US.UTF-8/en_US.UTF-**8
>>
>> attached base packages:
>> [1] datasets  utils stats graphics  grDevices methods   base
>>
>> other attached packages:
>> [1] sos_1.3-7   brew_1.0-6  ggplot2_0.9.3.1 car_2.0-18
>>  nnet_7.3-7  MASS_7.3-28
>>
>> loaded via a namespace (and not attached):
>>   [1] colorspace_1.2-2   dichromat_2.0-0digest_0.6.3   grid_3.0.1
>> gtable_0.1.2   labeling_0.2
>>   [7] munsell_0.4.2  plyr_1.8   proto_0.3-10
>> RColorBrewer_1.0-5 reshape2_1.2.2 scales_0.2.3
>> [13] stringr_0.6.2
>>
>> __**
>> Professor Michael Kubovy
>> University of Virginia
>> Department of Psychology
>> for mail add:   for FedEx or UPS
>> add:
>> P.O.Box 400400  Gilmer Hall, Room 102
>> Charlottesville, VA 22904-4400  485 McCormick Road
>> USA Charlottesville,
>> VA 22903
>> roomphone
>> Office:B011 +1-434-982-4729
>> Lab:B019+1-434-982-4751
>> WWW:
>> http://www.people.virginia.**edu/~mk9y/
>>
>>
>> [[alternative HTML version deleted]]
>>
>>
>>
>> __**_
>> R-SIG-Mac mailing list
>> R-SIG-Mac@r-project.org
>> https://stat.ethz.ch/mailman/**listinfo/r-sig-mac
>>
>>
>
> --
> Brian D. Ripley,  rip...@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, UKFax:  +44 1865 272595
>
>
> __**_
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/**listinfo/r-sig-mac
>

[[alternative HTML version deleted]]

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] Trouble with tcltk

2013-09-03 Thread Berend Hasselman

On 03-09-2013, at 12:21, Michael Kubovy  wrote:

> Many packages require tcltk.
> 
> I have installed 
> http://cran.r-project.org/bin/macosx/tools/tcltk-8.5.5-x11.pkg and yet, when 
> I try
> library(gamlss.demo)
> I get
> Loading required package: rpanel
> Loading required package: 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.0/Resources/library/tcltk/libs/tcltk.so':
>  
> dlopen(/Library/Frameworks/R.framework/Versions/3.0/Resources/library/tcltk/libs/tcltk.so,
>  10): Library not loaded: /usr/local/lib/libtcl8.6.dylib
>  Referenced from: 
> /Library/Frameworks/R.framework/Versions/3.0/Resources/library/tcltk/libs/tcltk.so
>  Reason: image not found
> Error: package ‘tcltk’ could not be loaded
> 

Did you see the note (in bold)

NOTE: R 3.0.0 and higher comes bundled with Tck/Tk 8.6.0 so you do not need 
this package

on the CRAN page http://cran.r-project.org/bin/macosx/tools?
"This package" refers to tcltk8.5.5.

Reinstalling R 3.0.1 should solve your problem (see note).

Berend

> 
>> sessionInfo()
> R version 3.0.1 (2013-05-16)
> Platform: x86_64-apple-darwin10.8.0 (64-bit)
> 
> locale:
> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
> 
> attached base packages:
> [1] datasets  utils stats graphics  grDevices methods   base 
> 
> other attached packages:
> [1] sos_1.3-7   brew_1.0-6  ggplot2_0.9.3.1 car_2.0-18  
> nnet_7.3-7  MASS_7.3-28
> 
> loaded via a namespace (and not attached):
> [1] colorspace_1.2-2   dichromat_2.0-0digest_0.6.3   grid_3.0.1   
>   gtable_0.1.2   labeling_0.2  
> [7] munsell_0.4.2  plyr_1.8   proto_0.3-10   
> RColorBrewer_1.0-5 reshape2_1.2.2 scales_0.2.3  
> [13] stringr_0.6.2 
> 
> __
> Professor Michael Kubovy
> University of Virginia
> Department of Psychology
> for mail add: for FedEx or UPS add: 
> P.O.Box 400400Gilmer Hall, Room 102
> Charlottesville, VA 22904-4400485 McCormick Road
> USA   Charlottesville, VA 
> 22903
>   roomphone
> Office:B011   +1-434-982-4729
> Lab:B019  +1-434-982-4751
> WWW:http://www.people.virginia.edu/~mk9y/
> 
> 
>   [[alternative HTML version deleted]]
> 
> ___
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] Trouble with tcltk

2013-09-03 Thread Prof Brian Ripley

On 03/09/2013 11:21, Michael Kubovy wrote:

Many packages require tcltk.

I have installed http://cran.r-project.org/bin/macosx/tools/tcltk-8.5.5-x11.pkg 
and yet, when I try


That is the wrong version for R 3.0.1, so please remove it.  You may 
need to re-install R, as that ships with the correct tcltk.



library(gamlss.demo)
I get
Loading required package: rpanel
Loading required package: 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.0/Resources/library/tcltk/libs/tcltk.so':
   
dlopen(/Library/Frameworks/R.framework/Versions/3.0/Resources/library/tcltk/libs/tcltk.so,
 10): Library not loaded: /usr/local/lib/libtcl8.6.dylib
   Referenced from: 
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/tcltk/libs/tcltk.so
   Reason: image not found
Error: package ‘tcltk’ could not be loaded



sessionInfo()

R version 3.0.1 (2013-05-16)
Platform: x86_64-apple-darwin10.8.0 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] datasets  utils stats graphics  grDevices methods   base

other attached packages:
[1] sos_1.3-7   brew_1.0-6  ggplot2_0.9.3.1 car_2.0-18  nnet_7.3-7  
MASS_7.3-28

loaded via a namespace (and not attached):
  [1] colorspace_1.2-2   dichromat_2.0-0digest_0.6.3   grid_3.0.1   
  gtable_0.1.2   labeling_0.2
  [7] munsell_0.4.2  plyr_1.8   proto_0.3-10   
RColorBrewer_1.0-5 reshape2_1.2.2 scales_0.2.3
[13] stringr_0.6.2

__
Professor Michael Kubovy
University of Virginia
Department of Psychology
for mail add:   for FedEx or UPS add:
P.O.Box 400400  Gilmer Hall, Room 102
Charlottesville, VA 22904-4400  485 McCormick Road
USA Charlottesville, VA 
22903
roomphone
Office:B011 +1-434-982-4729
Lab:B019+1-434-982-4751
WWW:http://www.people.virginia.edu/~mk9y/


[[alternative HTML version deleted]]



___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac




--
Brian D. Ripley,  rip...@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, UKFax:  +44 1865 272595

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


[R-SIG-Mac] Trouble with tcltk

2013-09-03 Thread Michael Kubovy
Many packages require tcltk.

I have installed http://cran.r-project.org/bin/macosx/tools/tcltk-8.5.5-x11.pkg 
and yet, when I try
library(gamlss.demo)
I get
Loading required package: rpanel
Loading required package: 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.0/Resources/library/tcltk/libs/tcltk.so':
  
dlopen(/Library/Frameworks/R.framework/Versions/3.0/Resources/library/tcltk/libs/tcltk.so,
 10): Library not loaded: /usr/local/lib/libtcl8.6.dylib
  Referenced from: 
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/tcltk/libs/tcltk.so
  Reason: image not found
Error: package ‘tcltk’ could not be loaded


> sessionInfo()
R version 3.0.1 (2013-05-16)
Platform: x86_64-apple-darwin10.8.0 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] datasets  utils stats graphics  grDevices methods   base 

other attached packages:
[1] sos_1.3-7   brew_1.0-6  ggplot2_0.9.3.1 car_2.0-18  nnet_7.3-7  
MASS_7.3-28

loaded via a namespace (and not attached):
 [1] colorspace_1.2-2   dichromat_2.0-0digest_0.6.3   grid_3.0.1
 gtable_0.1.2   labeling_0.2  
 [7] munsell_0.4.2  plyr_1.8   proto_0.3-10   
RColorBrewer_1.0-5 reshape2_1.2.2 scales_0.2.3  
[13] stringr_0.6.2 

__
Professor Michael Kubovy
University of Virginia
Department of Psychology
for mail add:   for FedEx or UPS add: 
P.O.Box 400400  Gilmer Hall, Room 102
Charlottesville, VA 22904-4400  485 McCormick Road
USA Charlottesville, VA 
22903
roomphone
Office:B011 +1-434-982-4729
Lab:B019+1-434-982-4751
WWW:http://www.people.virginia.edu/~mk9y/


[[alternative HTML version deleted]]

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac