Skip to content
Prev 20817 / 63421 Next

Problem with pasteing formulas (PR#8897)

See ?as.character (which paste effectively calls on non-character objects, 
as ?paste says):

Note:

      'as.character' truncates components of language objects to 500
      characters (was about 70 before 1.3.1).

so it is working as documented.  Not then a bug.

You can (and probably should) use a construct like that in terms.formula:

         else paste(deparse(form[[2]]), collapse = "")

to convert a formula to a complete character string.
On Wed, 24 May 2006, john.little at dunelm.org.uk wrote: