Hi, On Fri, Feb 10, 2012 at 12:15 PM, Chosid, David (MISC)
<david.chosid at state.ma.us> wrote:
Yes, sorry for not being more clear. ?Here is the sessionInfo():
sessionInfo()
R version 2.9.1 (2009-06-26) i386-pc-mingw32
That is definitely the place to start. Your version of R is 2.5 years old, and circular is up to version 0.4-3 on CRAN. I just checked, and circular 0.3-8 doesn't *have* arrows.circular. So you must be using some documentation from the internet for a newer version, rather than using the docs that go with what you have installed on your computer. You need to update R and your packages. Sarah
locale: LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 attached base packages: [1] grid ? ? ?tcltk ? ? stats ? ? graphics ?grDevices utils ? ? datasets [8] methods ? base other attached packages: [1] relimp_1.0-1 ? ?Rcmdr_1.4-10 ? ?car_1.2-14 ? ? ?circular_0.3-8 [5] boot_1.2-37 ? ? lattice_0.17-25 RODBC_1.3-0 -----Original Message----- From: Sarah Goslee [mailto:sarah.goslee at gmail.com] Sent: Friday, February 10, 2012 12:02 PM To: Chosid, David (FWE) Cc: r-help at r-project.org Subject: Re: [R] function arrows.circular not working Your sessionInfo() would be helpful. Also, just to check: you did do library(circular) right? Sarah On Fri, Feb 10, 2012 at 11:55 AM, Chosid, David (MISC) <david.chosid at state.ma.us> wrote:
I have started using the circular package but it is not recognizing the function arrows.circular. ?I attempted to use the example provided in the circular manual. ?Here is the example code using the circular package: ?plot(rvonmises(10, circular(0), kappa=1)) ?arrows.circular(rvonmises(10, circular(0), kappa=1)) ?arrows.circular(rvonmises(10, circular(0), kappa=1), y=runif(10), col=2) ?arrows.circular(rvonmises(10, circular(0), kappa=1), y=runif(10), ? ?x0=runif(10, -1, 1), y0=runif(10, -1, 1), col=3) My error is: ?Error: could not find function "arrows.circular" Any help would be greatly appreciated. ?Thanks.
Sarah Goslee http://www.functionaldiversity.org