[R-SIG-Mac] Problems with tcltk-Img
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sat Oct 16 08:15:02 CEST 2010
Please build R from soures against ActiveTcl: this will then work.
(Img contains compiled code.) I have such a build, and
> library(tcltk)
Loading Tcl/Tk interface ... done
> tclRequire("BWidget")
<Tcl> 1.9.2
> tclRequire("Img")
<Tcl> 1.4.0.4
Simon has pointed out that it may conflict with R.app, but I use it as
command-line R.
In any case, the recommended way to add Tcl packages is to add the
paths via addTclPath.
On Fri, 15 Oct 2010, mcarvajal at ifc.unam.mx wrote:
> Hello!
> I-m using an app which uses BWidget and Img. First I've installed
> ActiveTclTk8.5.xxx.threaded.dmg, also tcltk-8.5-x11.dmg
>
> When I ran my application appeared:
> Warning message:
> In tclRequire("BWidget") : Tcl package 'BWidget' not found
> In tclRequire("Img") : Tcl package 'Img' not found
>
> Then I read that the problem could be resolved by copying both BWidget1.8 and
> Img1.4 to /usr/local/lib/
>
> After doing that, the message about BWidget not found dissappeard...
> unfortunately the problem with Img continues.
>
> So, when I type in R console "tclvalue("auto_path") brings me back:
>
>> library(tcltk)
> Loading Tcl/Tk interface ... done
>> tclvalue("auto_path")
> [1] "/usr/local/lib/tcl8.5 /usr/local/lib ./lib /usr/local/lib/tk8.5
> /usr/local/lib/tk8.5/ttk
> /Library/Frameworks/R.framework/Resources/library/tcltk/exec"
>
>
> I just copied all the files to all these directories, but the problem
> persist...
>
> Any suggestions?
>
> Without Img the application cant'n run... help!!
>
> Thanks!!
> Miguel
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> 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
More information about the R-SIG-Mac
mailing list