R语言绘图功能不正常
Tofloor
poster avatar
arondes
deepin
2014-04-16 15:46
Author
首先是安装:
sudo apt-get install r-base-core
比较奇怪的是居然还是2.15的老版本,可是新的3.0x已经出来好久了。

然后随便写两行代码:
x=rnorm(1000) #生成1000个标准正态随机数
hist(x) #绘制x的直方图

结果图形无法绘制!不知为何
Reply Favorite View the author
All Replies
arondes
deepin
2014-04-17 01:28
#1
问题得到部分解决
我重新下载了R 3.10的代码,用gcc重新编译了一遍,可以了
Reply View the author
arondes
deepin
2014-04-17 02:28
#2
下载最新2014版以后,发现软件库里带的是3.02版,也可以正常使用!
Reply View the author