cannot open file 'VennDiagram2020-08-24_13-55-00.log': Permission denied
Warning: Error in file: cannot open the connection
173: file
172: cat
171: appender
170: .log_level
169: flog.info
168: venn.diagram
167: renderPlot [/var/shiny-server/samples/sample-apps/new/app.R#814]
165: func
125: drawPlot
111: <reactive:plotObj>
95: drawReactive
82: origRenderFunc
81: output$plot12
1: runApp
我从闪亮的服务器中发现了类似上面的错误,我的维恩图代码如下
output$plot12 <- renderPlot({
venn.plot = venn.diagram(
x = list(
data1 = data1,
data2 = data2
),
main = "Venn Diagram",
filename = NULL,
na="remove",
lwd = 2,
fill = c("orange", "blue"),
alpha = c(0.5,0.5),
label.col = "black",
cex=1.5,
fontface = "plain",
cat.col = c("cornflowerblue", "pink"),
cat.cex = 1.5,
cat.fontfamily = "serif",
cat.fontface = "plain",
cat.dist = c(0.05, 0.05),
cat.pos = c(-20, 14),
cat.default.pos = "text",
scaled = FALSE
)
grid.newpage()
grid.draw(venn.plot) })
相同的代码在本地计算机上运行时没有任何错误,但是在将其托管到服务器时显示错误。任何想法如何防止创建venn日志文件