Re: [R] function arrows.circular not working
Indeed. Thanks for the solution :) -Original Message- From: Sarah Goslee [mailto:sarah.gos...@gmail.com] Sent: Friday, February 10, 2012 1:01 PM To: Chosid, David (FWE); r-help Subject: Re: [R] function arrows.circular not working 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.cho...@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.gos...@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.cho...@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.gos...@gmail.com] Sent: Friday, February 10, 2012 12:02 PM To: Chosid, David (FWE) Cc: r-help@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.cho...@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. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] function arrows.circular not working
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. David Chosid Conservation Engineering MA Division of Marine Fisheries 1213 Purchase St., 3rd Floor New Bedford, MA 02740 508-990-2860 david.cho...@state.ma.usmailto:david.cho...@state.ma.us [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
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.cho...@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 __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] function arrows.circular not working
Hi David, You need to load the package before running your code: # install.packages('circular') require(circular) 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) HTH, Jorge.- On Fri, Feb 10, 2012 at 11:55 AM, Chosid, David (MISC) 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. David Chosid Conservation Engineering MA Division of Marine Fisheries 1213 Purchase St., 3rd Floor New Bedford, MA 02740 508-990-2860 david.cho...@state.ma.usmailto:david.cho...@state.ma.us [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] function arrows.circular not working
Yes, sorry to not be clear. library(circular) was run. From: Jorge I Velez [mailto:jorgeivanve...@gmail.com] Sent: Friday, February 10, 2012 12:03 PM To: Chosid, David (FWE) Cc: r-help@r-project.org Subject: Re: [R] function arrows.circular not working Hi David, You need to load the package before running your code: # install.packages('circular') require(circular) 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) HTH, Jorge.- On Fri, Feb 10, 2012 at 11:55 AM, Chosid, David (MISC) 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. David Chosid Conservation Engineering MA Division of Marine Fisheries 1213 Purchase St., 3rd Floor New Bedford, MA 02740 508-990-2860tel:508-990-2860 david.cho...@state.ma.usmailto:david.cho...@state.ma.usmailto:david.cho...@state.ma.usmailto:david.cho...@state.ma.us [[alternative HTML version deleted]] __ R-help@r-project.orgmailto:R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] function arrows.circular not working
Hi, On Fri, Feb 10, 2012 at 12:15 PM, Chosid, David (MISC) david.cho...@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.gos...@gmail.com] Sent: Friday, February 10, 2012 12:02 PM To: Chosid, David (FWE) Cc: r-help@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.cho...@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 __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] function arrows.circular not working
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.cho...@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.gos...@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.cho...@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.gos...@gmail.com] Sent: Friday, February 10, 2012 12:02 PM To: Chosid, David (FWE) Cc: r-help@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.cho...@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. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.