从CALLed SECOND批处理文件替换FIRST批处理文件OK运行时是否正常?

时间:2017-03-08 21:03:55

标签: batch-file windows-7 windows-xp

WinXP,Win7

FIRST.BAT打电话给SECOND.BAT。 SECOND.BAT能否安全地取代FIRST.BAT?

FIRST.BAT:

t$heights

SECOND.BAT:

library(gridExtra)
library(ggplot2)

dat <- data.frame(x = c(1, 2, 4), y = c(12, 3, 5), z = c(5, 6, 7))

p <- ggplot(dat, aes(x = x, y = y)) + 
  geom_point() + 
  geom_line()

t <- tableGrob(dat, rows = NULL) # notice rows = NULL

t$widths <- unit(rep(1 / ncol(t), ncol(t)), "npc")
t$heights <- unit(rep(1 / nrow(t), nrow(t)), "npc") # new

grid.arrange(t, p, p, nrow = 1)

谢谢!

0 个答案:

没有答案