[Rd] R 2.1 dies when some text() arguments are NULL (PR#7477)

From: <Robert_Keefe_at_umit.maine.edu>
Date: Fri 07 Jan 2005 - 14:44:35 EST

[My very deepest apologies in advance if this is not plain text; I am recently at a new job in a windows-based environment and have not yet set up my favorite old (pine) system. I have tried my best to strip all formatting from the message..]

I'm overlaying plots of tree locations mapped before and after logging activities and checking my matched individuals using several arguments to text() which plot tree attributes by or near their (x,y) locations. R 2.1 dies when a coding error on my part results in a null data.frame...

Example:

plot(1)
text(NULL ~ NULL, label=NULL)

This happens for me under Windows 98 and XP. Andrew Robinson was kind enough to try it for me on FreeBSD with the same result. The code returns nothing for me under R 1.9 on Windows 98 and XP (same win. machines). The version details of the three are as follows:

# FreeBSD:

>version

         _
platform i386-portbld-freebsd5.3

arch     i386                   
os       freebsd5.3             
system   i386, freebsd5.3       
status                          
major    2                      
minor    0.1                    
year     2004                   
month    11                     
day      15                     
language R                      

# Windows XP:

> version

         _
platform i386-pc-mingw32

arch     i386           
os       mingw32        
system   i386, mingw32  
status                  
major    2              
minor    0.1            
year     2004           
month    11             
day      15             
language R       

# Windows 98:

> version

         _
platform i386-pc-mingw32

arch     i386           
os       mingw32        
system   i386, mingw32  
status                  
major    2              
minor    0.1            
year     2004           
month    11             
day      15             
language R           

Please let me know if I can add any more details-

Thank you,

Rob


Rob Keefe

Cooperative Forestry Research Unit
University of Maine



R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri Jan 07 13:52:47 2005

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 09:02:29 EST