Re: [R] Sending Email from R

2013-02-20 Thread Lopez, Dan
20, 2013 4:18 PM To: Lopez, Dan; David Winsemius Cc: R help (r-help@r-project.org) Subject: RE: [R] Sending Email from R Try replacing dput(x) with capture.output(dput(x)) dput(x) prints a parsable representation of x but returns x. capture.output(y) returns what print(y) would have prin

Re: [R] Sending Email from R

2013-02-20 Thread William Dunlap
n...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf > Of Lopez, Dan > Sent: Wednesday, February 20, 2013 4:09 PM > To: David Winsemius > Cc: R help (r-help@r-project.org) > Subject: Re: [R] Sending Email from R > > David, > > Yes, sorry, I sent the ver

Re: [R] Sending Email from R

2013-02-20 Thread Lopez, Dan
r="thing.thing.gov") > > sendmail(from=from,to=to,subject=subject,msg=body,control=mailControl) > ## End(Not run) > > Thanks. > Dan > > > -Original Message- > From: David Winsemius [mailto:dwinsem...@comcast.net] > Sent: Wednesday, February 20, 2013

Re: [R] Sending Email from R

2013-02-20 Thread David Winsemius
;) > > sendmail(from=from,to=to,subject=subject,msg=body,control=mailControl) > ## End(Not run) > > Thanks. > Dan > > > -Original Message- > From: David Winsemius [mailto:dwinsem...@comcast.net] > Sent: Wednesday, February 20, 2013 11:59 AM > To: David Winse

Re: [R] Sending Email from R

2013-02-20 Thread Lopez, Dan
pServer="thing.thing.gov") sendmail(from=from,to=to,subject=subject,msg=body,control=mailControl) ## End(Not run) Thanks. Dan -Original Message- From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: Wednesday, February 20, 2013 11:59 AM To: David Winsemius Cc: Lopez, Dan

Re: [R] Sending Email from R

2013-02-20 Thread David Winsemius
On Feb 20, 2013, at 10:44 AM, David Winsemius wrote: > > On Feb 20, 2013, at 10:24 AM, Lopez, Dan wrote: > >> Hi R experts, >> >> I know how to send simple plain text message in body and how to send with >> attachments. This is thanks to stackoverflow reference below. >> >> But I don't know

Re: [R] Sending Email from R

2013-02-20 Thread David Winsemius
On Feb 20, 2013, at 10:24 AM, Lopez, Dan wrote: > Hi R experts, > > I know how to send simple plain text message in body and how to send with > attachments. This is thanks to stackoverflow reference below. > > But I don't know how to send dput() output in the body of the email (or > attachmen

[R] Sending Email from R

2013-02-20 Thread Lopez, Dan
Hi R experts, I know how to send simple plain text message in body and how to send with attachments. This is thanks to stackoverflow reference below. But I don't know how to send dput() output in the body of the email (or attachment) using sendmailR. I more interested in figuring out how to inc