Create PNG/JPEG in R without real X11 server

Our development also encountered this problem. The remote server
runs Linux and does not have X11 running. The png() or jpeg() function
in R fails because the native device needs to open a X11 window. Hence
the situation is:

  1. Developer requires to using R script to create PNG/JPEG image on the fly.
  2. The remote server is not able to run in X11 mode due to its server nature.

Continue reading

ZT: 中国驻南大使潘占林破解美国和北约炸中使馆之谜

From: wenxuecity 

北约缘何炸我驻南斯拉夫使馆,美国和北约迄今没有公布相应文件和材料。近日,当代中国出版社推出时任中国驻南斯拉夫大使潘占林的新书《战火中的外交官:亲历北约炸馆和南联盟战火》,试图解析这“千古之谜”。本文摘自该书。

Continue reading