emayili | An R package for sending email messages | Email library
kandi X-RAY | emayili Summary
kandi X-RAY | emayili Summary
{emayili} is a package for sending emails from R. The design goals are:. The package name is an adaption of the Zulu word for email, imeyili.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of emayili
emayili Key Features
emayili Examples and Code Snippets
Community Discussions
Trending Discussions on emayili
QUESTION
I would like to save the the verbose output of whatever R function to either a variable or file.
In other words, the verbose console output of whatever_R_function(abc, verbose=TRUE)
should be saved somewhere.
I tried to play with verbose.output <- capture.output(whatever_R_function(abc, verbose = TRUE))
but it doesn't work as capture.output()
captures the non-verbose part of the output only.
Two examples:
install.packages('devtools', verbose=TRUE)
or
...ANSWER
Answered 2020-Nov-12 at 06:01I didn't dig in to the install.packages
code, but smtp
appears to use cat
directed to stderr()
when verbose = TRUE
.
The ?capture.output
help page says:
Messages sent to
stderr()
(including those frommessage
,warning
andstop
) are captured bytype = "message"
. Note that this can be “unsafe” and should only be used with care.
So, I believe if you use capture.output(..., type = "message")
, you should get it. There's a strong possibility that this will work for install.packages
too.
I'm not sure why this is considered unsafe or what care you should take with it...
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install emayili
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page