Hi all,
I have an issue running png after loading various packages. After running
library(drc)
library(RCurl)
library(XLConnect)
library(ROracle)
png("test.png")
dev.off()
The file fails to write, and I get
Warning messages:
1: In png("test.png") :
unable to load shared object '/usr/lib64/R/l
I tried to use this solution (from over two years ago, but it remains an
official demo), but found that it only captured the last warning rather than
all of them. Instead, the code below collects all warnings.
tryCatch.W.E <- function(expr)
{
W <- list()
w.handler <- function(w){ # warni
2 matches
Mail list logo