[Rd] ltext( pos=NULL )

Deepayan Sarkar deepayan at stat.wisc.edu
Wed Jan 28 17:46:54 MET 2004


On Tuesday 27 January 2004 01:54, Wolfram Fischer wrote:
> ltext( 0, 0, pos=NULL, label="xxxx")
> gives an error message.

This has been fixed in my local version for some time, and will probably make 
it to r-devel in a few days. I don't think it warrants an update of the 
released version, but feel free to let me know if you think otherwise.

Deepayan


>
> The help page of ``ltext'' references to the help page of ``text''
> where the default value of pos is set to NULL.
>
> To solve the problem ``ltext'' could be changed:
> OLD:
>     if (!missing(pos))
> NEW:
>     if (!missing(pos) && ! is.null(pos) )
>
> Wolfram
>
> ______________________________________________
> R-devel at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel



More information about the R-devel mailing list