如何将文件从远程服务器复制到谷歌存储桶?例如,
gcloud compute scp username@server:/path/to/file gs://my-bucket
这种方法给出了错误: All sources must be local files when destination is remote.
此外,gsutil 仅支持 cp 而不是 scp。
提前致谢!
我试图使用ggplot在一个窗口框架中对齐条形图和线图的x轴.这是我试图用它做的假数据.
library(ggplot2)
library(gridExtra)
m <- as.data.frame(matrix(0, ncol = 2, nrow = 27))
colnames(m) <- c("x", "y")
for( i in 1:nrow(m))
{
m$x[i] <- i
m$y[i] <- ((i*2) + 3)
}
My_plot <- (ggplot(data = m, aes(x = x, y = y)) + theme_bw())
Line_plot <- My_plot + geom_line()
Bar_plot <- My_plot + geom_bar(stat = "identity")
grid.arrange(Line_plot, Bar_plot)
Run Code Online (Sandbox Code Playgroud)
谢谢您的帮助.