[Rd] doesn't recognise ~ (PR#8096)

Duncan Murdoch murdoch at stats.uwo.ca
Thu Aug 25 17:04:08 CEST 2005


On 8/25/2005 10:56 AM, lvr at curame.com wrote:
> Full_Name: Leo van Romunde
> Version: 2, 1, 0
> OS: Win XP prof. sp1
> Submission from: (NULL) (81.58.34.90)
> 
> 
> When we type the following R gives an error:
> 
>> a = c(1, 2)
>> b = c(1, 2)
>> boxplot (a ~ b)
> Error in list(a, b) : invalid 'envir' argument
> 
> When we do exactly the same on another machine (Win2000) it works correctly.
> Any suggestions?

You probably have overwritten boxplot() or something with your own 
object.  This works fine for me in 2.1.0 (but you should upgrade to 
2.1.1 for other bug fixes).

Duncan Murdoch



More information about the R-devel mailing list