[R] function arrows.circular not working

Sarah Goslee sarah.goslee at gmail.com
Fri Feb 10 19:01:14 CET 2012


It's a good idea to acknowledge that you've found a
solution on the R-help list, rather than just to me.

That way the answer appears in the list archives, and
other people will know you no longer need help with
this problem.

Sarah

On Fri, Feb 10, 2012 at 12:57 PM, Chosid, David (MISC)
<david.chosid at state.ma.us> wrote:
> Ah.  Thanks.  I didn't realize that I needed an updated R... Just the library.  Works now.
>
> -----Original Message-----
> From: Sarah Goslee [mailto:sarah.goslee at gmail.com]
> Sent: Friday, February 10, 2012 12:32 PM
> To: Chosid, David (FWE); r-help
> Subject: Re: [R] function arrows.circular not working
>
> 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.
>>>
>



More information about the R-help mailing list