Displaying 7 results from an estimated 7 matches for "rwoldfor".
Did you mean:
rwoldford
2020 Jun 11
4
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
...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 ones that work)
Any help would be appreciated.
- Wayne
R.W. Oldford
math.uwaterloo.ca/~rwoldfor
> library(tcltk)
> fname <- "Rplot.png"
> png(filename = fname, width = 500, height = 500)
> hist(rnorm(20))
> dev.off()
> tkimage.create("photo", file = fname)
Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") :
[tcl] e...
2020 Jun 12
3
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
...to boot.
John does it work for you?
Not sure whether Python has the same trouble. Kind of old info at https://www.python.org/download/mac/tcltk/
?-----Original Message-----
From: "Fox, John" <jfox at mcmaster.ca>
Date: Thursday, June 11, 2020 at 7:54 PM
To: Wayne Oldford <rwoldford at uwaterloo.ca>
Cc: Peter Dalgaard <pdalgd at gmail.com>, "r-devel at r-project.org" <r-devel at r-project.org>
Subject: Re: [Rd] tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
Dear Wayne and Peter,...
2016 Feb 29
1
Source code of early S versions
...ho'd like to try and compile it on a
modern system. It might at least be nice to see it in a nice format on
Gitlab, for example. But maybe there's licensing problems.
Anyone interested in the history of S should read Richard Becker's
article from the mid 90s:
http://sas.uwaterloo.ca/~rwoldfor/software/R-code/historyOfS.pdf
Barry
[apologies if S talk is off-topic. Surprisingly I've just discovered
the S-news mailing list still runs, but looking at the recent archive
I don't think I'd get much success there]
2020 Jun 11
0
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
...his is from RStudio but I see the same thing in the R.app.
I hope this is of some help,
John
-----------------------------
John Fox, Professor Emeritus
McMaster University
Hamilton, Ontario, Canada
Web: http::/socserv.mcmaster.ca/jfox
> On Jun 11, 2020, at 6:43 PM, Wayne Oldford <rwoldford at uwaterloo.ca> wrote:
>
> Yes.
> I seem to be picking up
> <Tcl> 8.6
> I should have noted that.
>
> Use to work for me too in Mojave.
> I have the sneaky feeling that Catalina is the problem.
>
> R. W. Oldford
>
> https://math.uwaterloo.ca/~rwol...
2020 Jun 12
0
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
...or R, but not for wish.
Back to the original question - do you have any example of a file that doesn't work so I could test? Exif chunks are fairly rare in PNG and are a more late extension so I couldn't find any examples.
Thanks,
Simon
> On 12/06/2020, at 12:24 PM, Wayne Oldford <rwoldford at uwaterloo.ca> wrote:
>
> 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/...
2020 Jun 11
0
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
Happy enough for me on Mojave.
On the off chance that you are picking up an old Tcl, do you see this?
> tcl("info","tclversion")
<Tcl> 8.6
-pd
> On 11 Jun 2020, at 23:04 , Wayne Oldford <rwoldford at uwaterloo.ca> wrote:
>
> 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
>
>...
2020 Jun 12
3
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
...ending file:
library(tcltk)
fname <- "Rplot.png"
png(filename = fname, width = 500, height = 500)
hist(rnorm(20))
dev.off()
tkimage.create("photo", file = fname)
Best,
John
>
> Thanks,
> Simon
>
>
>> On 12/06/2020, at 12:24 PM, Wayne Oldford <rwoldford at uwaterloo.ca> wrote:
>>
>> 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: Libra...