Re: [R] tiff()-bug (was re:Preparing high quality figures with tiff as end result)

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Wed, 25 Jun 2008 09:48:41 -0400

On 6/25/2008 9:37 AM, Gustaf Rydevik wrote:

> A short update that may be of help:
> The snippet of code does not crash R if i run under vanilla, nor if I
> change R to MDI-mode.
> It does crash R infallibly if I set it to SDI-mode in  the Rprofile
> file. Strange...

It was an uninitialized variable, so results depended on whatever had last been using that memory location. Now fixed in R-devel, R-patched testing in progress...

Duncan Murdoch

> 
> /Gustaf
> 
> 
> 
> On Wed, Jun 25, 2008 at 3:16 PM, Prof Brian Ripley
> <ripley_at_stats.ox.ac.uk> wrote:

>> On Wed, 25 Jun 2008, Peng Jiang wrote:
>>
>>> Hi , Gustaf
>>> i don't know why but it works pretty well on a mac.
>>
>> with completely different code.
>>
>> Gustaf Rydevik has mentioned this before -- it never fails for me on Windows
>> and hence one would not expect there to be a change in 2.7.1. Only if
>> someone can reproduce it under a debugger have we a chance of tracking it
>> down.
>>
>>> regards .
>>> On 2008-6-25, at 下午4:16, Uwe Ligges wrote:
>>>
>>>>
>>>>
>>>> Gustaf Rydevik wrote:
>>>>>
>>>>> Hi all,
>>>>> A while back I sent a message concerning working with tiff-files, and
>>>>> mentioned that I encountered a bug in 2.7.0.
>>>>> This bug still occurs in 2.7.1, and is reproducable on a separate
>>>>> computer (both running WinXP professional):
>>>>> tiff()
>>>>> plot(1:1000)
>>>>> dev.off()
>>>>> This causes R to show the window "R GUI has encountered a problem and
>>>>> needs to close".
>>>>> Can anyone else out there reproduce this, so I can file a bug report?
>>>>
>>>> Yes. Confirmed.
>>>>
>>>> Uwe Ligges
>>>>
>>>>
>>>>> Best,
>>>>> Gustaf Rydevik
>>>>> -------------------------------------------
>>>>>>
>>>>>> sessionInfo()
>>>>>
>>>>> R version 2.7.1 (2008-06-23)
>>>>> i386-pc-mingw32
>>>>> locale:
>>>>>
>>>>> LC_COLLATE=Swedish_Sweden.1252;LC_CTYPE=Swedish_Sweden.1252;LC_MONETARY=Swedish_Sweden.1252;LC_NUMERIC=C;LC_TIME=Swedish_Sweden.1252
>>>>> attached base packages:
>>>>> [1] stats graphics grDevices utils datasets methods base
>>>>> other attached packages:
>>>>> [1] RWinEdt_1.8-0
>>>>> loaded via a namespace (and not attached):
>>>>> [1] tools_2.7.1
>>>>>
>>>>
>>>> ______________________________________________
>>>> R-help_at_r-project.org mailing list
>>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>>> PLEASE do read the posting guide
>>>> http://www.R-project.org/posting-guide.html
>>>> and provide commented, minimal, self-contained, reproducible code.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --------------------------
>>> Peng Jiang
>>> 江鹏
>>> Ph.D. Candidate
>>>
>>> Antai College of Economics & Management
>>> 安泰经济管理学院
>>> Department of Mathematics
>>> 数学系
>>> Shanghai Jiaotong University (Minhang Campus)
>>> 800 Dongchuan Road
>>> 200240 Shanghai
>>> P. R. China
>>>
>>> ______________________________________________
>>> R-help_at_r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide
>>> http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>
>> --
>> 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-help_at_r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>>
> 
> 
>

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 25 Jun 2008 - 13:59:24 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 25 Jun 2008 - 14:30:54 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive