Skip to content
Prev 333322 / 398506 Next

Sending a matrix in an email

Thanks for the suggestion. I just tried dput and it did not produce what sendmailR requires for the body parameter. Here is a simplified version of what I need to do:
[,1] [,2] [,3]
[1,]    1    2    3
a b c
[1,] 1 2 3
structure(c(1, 2, 3), .Dim = c(1L, 3L), .Dimnames = list(NULL, 
    c("a", "b", "c")))

I want to send x in sendmailR(to,from,x) and have it look more or less like the output above. Simple, right?
On Nov 18, 2013, at 9:13 AM, Sarah Goslee wrote: