<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Fei,<div><br></div><div>The error is saying that you don't have ggplot2 package installed...  When you were installing ggplot2 in R:</div><div><br></div><div># R</div><div>> <span style="font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; color: rgb(51, 51, 51); line-height: 19px; ">install.packages ('ggplot2')</span></div><div><br></div><div>did it give you any errors?  </div><div><br></div><div>Btw. Are you trying this on Mac or Linux? (On mac you can try to run the install command using GUI version of R. Not sure about linux).</div><div><br></div><div>---</div><div>Alex</div><div><br><div><div>On May 5, 2013, at 7:32 PM, "12111027" <12111027@<a href="http://bjtu.edu.cn">bjtu.edu.cn</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br>
Hi Alex,<br>
<br>
Thanks to your help, I've solved the probles for running './run.py -s figure-3-data-propagation-vs-time'. But, there is another problem about Rscript.<br>
<br>
I've already installed Rscript and 'ggplot2, proto, doBy' correctly according the web page "<a href="https://github.com/cawka/ndnSIM-nom-rapid-car2car'">https://github.com/cawka/ndnSIM-nom-rapid-car2car'</a>.<br>
<br>
When I run the command './run.py -s figure-3-data-propagation-vs-time', the screen displays as following:<br>
<br>
./build/car-relay --run=8 --distance=170 --fixedDistance=10000<br>
./build/car-relay --run=9 --distance=170 --fixedDistance=10000<br>
./build/car-relay --run=10 --distance=170 --fixedDistance=10000<br>
Error in library(ggplot2) : there is no package called 'ggplot2'<br>
Calls: suppressMessages -> withCallingHandlers -> library<br>
Stop<br>
<br>
Could you solve this problem?<br>
<br>
Regards,<br>
Fei Ren</blockquote></div></div></body></html>