Skip to content
Prev 179660 / 398506 Next

paste with apply, spaces and NA

Hi,
On Thu, May 7, 2009 at 6:36 PM, William Dunlap <wdunlap at tibco.com> wrote:

            
No. Only that particular combination of NA values and strings with
spaces gives the odd result.
The most perplexing bit, though, is that apply() adds the extra
spaces for _all_ columns, not just the ones with NA values.
I assume that's to do with the internals of apply; it just wasn't
something I expected.
Yes, there are other possibilities. I'm not as adept with do.call() as
I should be, and missed that one - thanks. And of course, this was
part of a larger more complex problem, and not truly an end of itself.

Thanks for the thoughts,
Sarah