Displaying 20 results from an estimated 20000 matches similar to: "MacOS R and tcltk"
2006 Feb 23
1
tcl/tk - Install problem using MacOS X / X11
Hi
Sorry, my first post was in German.
I tried to get Rcmdr running under MacOS X 10.4.5. While RGui pretends
that tcltk is running, starting Rcmdr freezes R completely.
Instead, JGR which gave me the following results:
> library(tcltk)
Loading Tcl/Tk interface ... Error in fun(...) : no display name and no
$DISPLAY environment variable
Error: .onLoad failed in 'loadNamespace' for
2006 Feb 23
1
tcl/tk - Problem unter MacOS X / X11
Hallo !
Ich habe versucht Rcmdr unter MacOSX 10.4.5 zu installieren. RGui zeigt
an, dass tcl/tk laufen. Bei Aufruf von Rcmdr friert R jedoch komplett ein.
JGR zeigt im Paketmanager dagegen an, dass tcl/tk nicht gestartet werden
konnte und spuckt folgende Meldung aus:
> library(tcltk)
Loading Tcl/Tk interface ... Error in fun(...) : no display name and no
$DISPLAY environment variable
2024 Feb 20
2
Tcl socket server (tcltk) does not work any more on R 4.3.2
Dear list,
It seems that something changed between R 4.2.3 and R 4.3 (tested with 4.3.2) that broke the Tcl socket server. Here is a reproducible example:
- R process #1 (Tcl socket server):
library(tcltk)
cmd <- r"(
proc accept {chan addr port} { ;# Make a proc to accept connections
puts "$addr:$port says [gets $chan]" ;# Receive a string
puts $chan goodbye
2020 Jun 12
3
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
I don't know what has changed with Catalina
But I just tried my tk console from the shell command tkcon
And got the following error.
Here is my shell:
$ tkcon
dyld: Library not loaded: /usr/local/lib:/opt/X11/lib/libtk8.6.dylib
Referenced from: /usr/local/bin/wish
Reason: image not found
Abort trap: 6
I don't know whether this is a red herring or not, but the
2008 May 05
2
[R-SIG-Mac] Starting tcltk without Tk
It turns out that the behavior of starting just Tcl was actually a
bug. Apparently the intention was to attempt to start Tk regardless of
the DISPLAY variable, because some TclTk implementation such as Aqua
Tcl/Tk don't require DISPLAY and thus would not be loaded. Due to a
bug (HAVE_AQUA was not included in Rconfig.h before R 2.7.0), though,
this was not the case. I'll leave it
2012 Sep 14
1
tcltk installation problem in R (Mac OS X version)
Hi all, I just installed R on my Mac OS X machine and wanted to installed
tcl/tk. So, I installed tcl/tk from this page:
http://cran.r-project.org/bin/macosx/tools/
It gets placed in /usr/local dir.
and then I installed R.
Next, in R, I set the TCL_LIBRARY variable by saying
Sys.setenv(TCL_LIBRARY="/usr/local/lib/tcl8.5")
and
Sys.setenv(TK_LIBRARY="/usr/local/lib/tk8.5")
But
2008 Apr 30
1
R isn't finding tcltk
On a x86 machine operating under Gentoo Linux, I'm having persistent
difficulty in getting R version 2.6.1 (the latest available through
Gentoo's portage system) to use tcltk. The R command library(tcltk)
elicits the following response:
Error in firstlib(which.lib.loc, package) :
Tcl/Tk support is not available on this system
Error in library(tcltk) : .First.lib failed for
2006 Mar 09
2
tcltk loading in R-2.2.1 from src
Hi,
Having trouble loading tcltk in R 2.2.1 built from source.
./configure, make, make check, and make install run ok.
> library(tcltk)
Error in firstlib(which.lib.loc, package) :
Tcl/Tk support is not available on this system
Error in library(tcltk) : .First.lib failed for 'tcltk'
even though it is listed in library() output.
I have the same problem even if i compile
2007 Nov 06
1
library(tcltk) fails
Dear list,
I cannot load the tcltk library:
> library(tcltk)
Loading Tcl/Tk interface ... Error in fun(...) :
Can't find a usable tk.tcl in the following directories:
/usr/share/tcltk/tcl8.4/tk8.4 ./lib/tk8.4 /usr/local/lib/tcltk/tk8.4 /usr/local/share/tcltk/tk8.4 /usr/lib/tcltk/tk8.4 /usr/share/tcltk/tk8.4 ./library ./tk8.4.16/library
This probably means that tk wasn't
2008 May 14
2
console from tcltk
Is it possible to use the console from within tcltk?
> library(tcltk)
> tcl("puts", "stdout", "Hello, World")
Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"),
class = "tclObj") :
[tcl] can not find channel named "stdout".
> .Tcl('puts stdout "Hello, World"')
Error in
2020 Jun 11
4
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
Hello everyone
I am not sure when this appeared
(sometime post R 3.5.0 and after I switched to Mac OS Catalina).
I do not think it happens on all platforms (e.g. seems to work on windows).
But it seems that
tkimage.create()
no longer works on a Mac for all png files.
(It does work for *some* old png files I have on disk but I have not been able to determine what is different about the
2020 Jun 12
3
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
Dear Simon,
> On Jun 11, 2020, at 9:00 PM, Simon Urbanek <simon.urbanek at r-project.org> wrote:
>
> Wayne,
>
> that one is unrelated, but interesting - you can fix it with
>
> sudo install_name_tool -change \
> /usr/local/lib:/opt/X11/lib/libtk8.6.dylib \
> /usr/local/lib/libtk8.6.dylib \
> /usr/local/bin/wish8.6
>
> There is a bug in tcltk with
2007 Apr 17
1
Tcltk
I have problems with Tcl/Tk in R 2.4.1, when running it on Windows Vista
(see error message below).
Regards, Sofia
> library(tcltk)
Loading Tcl/Tk interface ... Error in fun(...) : Can't find a usable
init.tcl in the following directories:
{C:\Program\R\R-2.4.1/Tcl/lib/tcl8.4}
{C:\Program\R\R-2.4.1/Tcl/lib/tcl8.4} C:/Program/R/R-2.4.1/Tcl/lib/tcl8.4
2017 Nov 18
4
tcltk problems
It recently came to my attention that my R installation no longer has
tcltk capability.
I can't figure out why or what to do about it.
I built R from source. I configured using the "--with-tcltk" flag. The
build and install *seemed* to go OK, but after realising I didn't have
tcltk capability I looked into config.log.
There I found:
> configure:39486: checking for
2002 Sep 16
2
TclTk Again
Dear All,
Following Zhang instructions I add the environmental variables, but now I
receive the following message:
> library(tcltk)
Error in firstlib(which.lib.loc, package) :
Can't find a usable init.tcl in the following directories:
{ C:\tcl\lib\tcl8.3}
This probably means that Tcl wasn't installed properly.
Error in library(tcltk) : .First.lib failed
I'm using R Win
2017 Nov 18
0
tcltk problems
When I have compiled from sourced on Ubuntu, I did NOT include the
"with-tcltk" and it worked fine. Did you try that, please?
Thanks,
Erin
On Fri, Nov 17, 2017 at 6:34 PM, Rolf Turner <r.turner at auckland.ac.nz>
wrote:
>
> It recently came to my attention that my R installation no longer has
> tcltk capability.
>
> I can't figure out why or what to do about
2002 May 31
1
Library Tcltk
Dears users,
Thanks for your responses concerning my question of yesterday (about stand-alone
package). Il would like to explore two ways:
-- Tcltk extension,
-- Rweb application.
I have installed ActiveTcl (in F:\Tcl), and I have modified the PATH (in the
autoexec.bat file):
set R_LIBS=F:\R\rw1050\library
set PATH=%PATH%;F:\Tcl\bin
set PATH=%PATH%;F:\Tcl\lib
set PATH=%PATH%;F:\R\rw1050\bin
2001 Dec 17
2
help with library(tcltk)
Hi All,
I have tried several times to run this library and I get the following
message:
> library(tcltk)
Error in firstlib(which.lib.loc, package) :
invalid command name "tcl_findLibrary"
Error in library(tcltk) :
.First.lib failed
>
I have checked either the tcl and tk libraries and they are correctly
installed (/usr/lib/). I have other program (Grass) that make
2007 Apr 26
2
tcltk support....
Rusers,
library(Rcmdr)
Loading required package: tcltk
Error in firstlib(which.lib.loc, package) :
Tcl/Tk support is not available on this system
While installing R I run configure with
configure --prefix=/bla/bla --with-tcltk
make
make install
configure did not returned any errors. Hence, I assume that the the tcl/tk
libraries have been found.
installin.packages("tcltk")
2006 Feb 03
3
R-2.2.1-INSTALL Issue with TCLTK
Hi
I am not able to have a working tcltk library in R-2.2.1 inspite of
trying different options suggested in the FAQ's. I am using the
following configure option and I do get the tcltk package installed but
with a missing libs folder.
./configure -prefix= "~R-2.2.1" --enable-R-shlib --enable-linux-lfs
--with-zlib --with-gnu-ld --with-tcltk