[R] Double-buffering problem, this time with an example.

2012-06-02 Thread Daniel Carr
Most of my animations that used to work on windows() version 2.11.1 and earlier now flash as if the double buffering is turned off or buffer swapping is triggered by other events than in the past. The simplified example below using symbols should illustrate the problem in a windows environment.

[R] double buffering in windows() not working

2012-05-15 Thread Daniel Carr
I have doubled buffered animations that I show in class. They used to work but now flash. The default windows() option is buffered = TRUE. Just in case, I tried using windows( buffered = TRUE) but this made no difference. I am not sure when the change occurred. An older R2.11 version in one

Re: [R] pdf() Export Problem: Circles Interpreted as Fonts from ggplot2 Graphics

2011-01-01 Thread Adam Carr
Neglected to reply to all. Sorry. - Forwarded Message From: Adam Carr adamlc...@yahoo.com To: David Winsemius dwinsem...@comcast.net Sent: Sat, January 1, 2011 8:58:26 AM Subject: Re: [R] pdf() Export Problem: Circles Interpreted as Fonts from ggplot2 Graphics Hello David: Thanks

Re: [R] pdf() Export Problem: Circles Interpreted as Fonts from ggplot2 Graphics

2011-01-01 Thread Adam Carr
Hello Hadley: Thanks for the reply. My apologies for overlooking an easy fix. The symbols on the exported document look fine. Adam    From: Hadley Wickham had...@rice.edu Cc: r-help@r-project.org Sent: Thu, December 30, 2010 7:51:09 PM Subject: Re: [R]

Re: [R] pdf() Export Problem: Circles Interpreted as Fonts from ggplot2 Graphics

2011-01-01 Thread Adam Carr
definitive, but I did go on to test my alternate character strategy in ggplot and it did succeed. Whether you could get coloring or sixing that was appropriate I cannot say, since I figured the non-dingbatting option was more general. --David On Jan 1, 2011, at 8:59 AM, Adam Carr wrote

[R] New R Install Worked to End Trouble Loading doBy and coin Packages

2010-12-11 Thread Adam Carr
7:13:17 AM Subject: Re: [R] New Installs, Same Trouble Loading doBy and coin Packages On 2010-12-10 03:43, Adam Carr wrote: I tried Tal's suggestion of deleting the doBy and coin packages and then reinstalling them from a different mirror. The first install was from the Harvard mirror

[R] New Installs, Same Trouble Loading doBy and coin Packages

2010-12-10 Thread Adam Carr
. AC Error in length(sig) : could not find function .extendsForS3 Error: package 'stats4' could not be loaded - Forwarded Message From: Adam Carr adamlc...@yahoo.com To: Tal Galili tal.gal...@gmail.com Cc: r-help@r-project.org Sent: Thu, December 9, 2010 1:12:21 PM Subject: Re: [R

Re: [R] Trouble Loading doBy and coin Packages

2010-12-09 Thread Adam Carr
Hi Tal: No I have not tried this. I will do it this evening and we'll see what happens. Thanks for the suggestion. Adam From: Tal Galili tal.gal...@gmail.com Cc: r-help@r-project.org Sent: Thu, December 9, 2010 12:29:20 PM Subject: Re: [R] Trouble Loading

[R] Trouble Loading doBy and coin Packages

2010-12-08 Thread Adam Carr
Good Evening R-Help Community: I have attached a file that contains the output from sessionInfo() and a summary of my Win XP system. I am running R 2.12.0 and using Tinn-R 2.3.6.2 as my interface. When I attempt to call either the doBy or coin packages R generates an error that I do not

[R] Boot() Package Question: Multiple Confidence Interval Output

2010-01-06 Thread Adam Carr
Good Morning: I posted an initial question a few days ago and I received some good advice from two R experts. I have re-examined the Davison-Hinkley text paying close attention to the examples of the boot() and boot.ci() in that text and the single example of a similar process in the MASS book

Re: [R] Assistance with boot() Package

2010-01-04 Thread Adam Carr
. Thanks again. Adam From: Prof Brian Ripley rip...@stats.ox.ac.uk Cc: r-help@r-project.org Sent: Mon, January 4, 2010 1:46:51 AM Subject: Re: [R] Assistance with boot() Package On Sun, 3 Jan 2010, Adam Carr wrote: Good Evening R Community: I believe I

[R] Assistance with boot() Package

2010-01-03 Thread Adam Carr
Good Evening R Community: I believe I understand the basics of using the boot() bootstrap resampling function in the boot() package. I have not had any trouble creating a boot.object to which I apply the boot.ci() function to calculate one or all of the available confidence intervals. What I

[R] Help With Custom QQ Plot

2009-12-28 Thread Adam Carr
Good Morning: I have attached a text file with one hundred thirty six observations. I would like to create a qq plot with the following features: 1. Observed values on the y-axis. 2. Normal approximation line on the plot. 3. X-axis with vertical reference lines at the following percentiles of

Re: [R] Help With Custom QQ Plot

2009-12-28 Thread Adam Carr
. Adam  From: Dennis Murphy djmu...@gmail.com To: Adam Carr adamlc...@yahoo.com Sent: Mon, December 28, 2009 4:12:54 PM Subject: Re: [R] Help With Custom QQ Plot Hi: This isn't precisely what you want, but it's a start. Both base graphics and lattice plot

Re: [R] Question About Repeat Random Sampling from a Data Frame

2009-12-22 Thread Adam Carr
Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Adam Carr Sent: Monday, December 21, 2009 9:53 AM To: David Winsemius Cc: r-help@r-project.org Subject: Re: [R] Question About Repeat Random Sampling from a Data Frame Good Afternoon Dr. Winsemius

[R] Question About Repeat Random Sampling from a Data Frame

2009-12-21 Thread Adam Carr
Good Morning: I've read many, many posts on the r-help system and I feel compelled to quickly admit that I am relatively new to R, I do have several reference books around me, but I cannot count myself among the fortunate who seem to strong programming intuition. I have a data set consisting

Re: [R] Question About Repeat Random Sampling from a Data Frame

2009-12-21 Thread Adam Carr
On Dec 21, 2009, at 10:12 AM, Adam Carr wrote: Good Morning: I've read many, many posts on the r-help system and I feel compelled to quickly admit that I am relatively new to R, I do have several reference books around me, but I cannot count myself among the fortunate who seem to strong

[R] command similar to colSums for rowSums?

2009-11-30 Thread Will Carr
Working with an NxMxO sized matrix, currently I can do this in my code: if (max(colSums(array)) = number) But to get an equivalent result using rowSums, I have to do: for (i in 1:10) { if (max(rowSums(array[,,i])) = number) } I'm running both in a much larger loop that loops millions of

Re: [R] command similar to colSums for rowSums?

2009-11-30 Thread Will Carr
David Winsemius wrote: What are M, N, and O? All the same magnitude? In this case, 4,13,10. What are you doing based on that if( ) determination? Increasing a counter. Are you sure you are interpreting your profile results correctly? No, but I think I am. I'm using proc.time()

Re: [R] command similar to colSums for rowSums?

2009-11-30 Thread Will Carr
This gives the correct result but appears to be slower than the for loop I was using, I do appreciate the suggestion though. Peter Ehlers wrote: Does this max(apply(yourArray, 3, rowSums)) give you what you want? -Peter Ehlers Will Carr wrote: Working with an NxMxO sized

Re: [R] command similar to colSums for rowSums?

2009-11-30 Thread Will Carr
)) give you what you want? -Peter Ehlers Will Carr wrote: Working with an NxMxO sized matrix, currently I can do this in my code: if (max(colSums(array)) = number) But to get an equivalent result using rowSums, I have to do: for (i in 1:10) { if (max(rowSums(array[,,i])) = number