similar to: What made us so popular Nov 16-20?

Displaying 20 results from an estimated 5000 matches similar to: "What made us so popular Nov 16-20?"

2006 Dec 29
3
production-izing a popular site
Lets say you have a site that is serving, oh, around 100k unique visitors a day (plain ole'' browser requests) - plus probably ~ 40k uniques to feeds. Assume this site is 90% read like most of the web, so the traffic looks like your typical news or portal site. There are two web boxes behind a hardware load balancer, each doing apache 2.2.3 -> mongrel_proxy_balancer -> mongrel
2012 Jan 19
2
POSIXct value display incorrect for some values
First, the reproducable example, showing how converting from character to POSIXct to character changes the milliseconds in the first time stamp though not in the second: > as.POSIXct('2010-06-03 9:03:58.324') [1] "2010-06-03 09:03:58.323 PDT" > as.POSIXct('2010-06-03 9:03:58.325') [1] "2010-06-03 09:03:58.325 PDT" This seems to be due to truncation of
2005 Oct 07
2
Assign references
Folks, I've run into trouble while writing functions that I hope will create and modify a dataframe or two. To that end I've written a toy function that simply sets a couple of variables (well, tries but fails). Searching the archives, Thomas Lumley recently explained the <<- operator, showing that it was necessary for x and y to exist prior to the function call, but I haven't
2004 Jan 02
3
Slow wiki?
Hi there, is this a problem with the Wiki software or the DB? The delay is still tolerable, but not exactly nice to work with. http://www.voip-info.org/tiki-index.php?page=Asterisk+billing Page generated in: 2.35 seconds Philipp
2005 Jul 12
4
Calculation of group summaries
I know R has a steep learning curve, but from where I stand the slope looks like a sheer cliff. I'm pawing through the available docs and have come across examples which come close to what I want but are proving difficult for me to modify for my use. Calculating simple group means is fairly straight forward: data(PlantGrowth) attach(PlantGrowth) stack(mean(unstack(PlantGrowth)))
2005 Nov 19
1
new article on R at oreillynet.com
An article I wrote that provides a basic introduction to R has been published on Oreillynet.com. The article is titled "Analyzing Statistics with GNU/R". Here is the link: http://www.onlamp.com/pub/a/onlamp/2005/11/17/r_for_statistics.html Please feel free to post comments or interesting basic R scripts at the end of the article. Kevin Farnham
2008 Aug 28
1
Interaction between aggregate() and length()
Folks, I've been running into an odd situation that occurs when I use length() function with aggregate(), but not with either one separately. Together, the results looks correct but is given an unexpected name. 'if (stringsAsFactors) factor(x) else x' instead of just 'x'. # Numbers work ok tt <- data.frame(idx=c(1,1,1,1,1,1,2,2,2,2,2,2)
2009 Apr 02
1
Updating a data frame
Folks, Updating values in a table is simple in SAS or SQL, but I've wracked my brain looking for an elegant solution in R to no avail thus far. Certainly this is a common need that's been solved in dozens of different ways. Given an initial dataframe nn and a smaller dataframe of updates uu, I'd like to replace the values in nn <- expand.grid('a'=1:4, 'b'=1:3)
2009 Feb 10
1
aggregate taking way too long to count.
Folks, I'm checking the structure of a dataframe for duplicate parameters at a site station (i.e depth should be measured once, not twice), using aggregate to count each parameter within a site station. The fake data below has only 26000 rows, and takes roughly 14 seconds. My real data has 750000 rows and I had to stop execution after about an hour. The by() function is faster, but I
2010 Sep 01
2
invert order
Dear R-help list users, I have a huge vector of numbers, how I can invert orden? For example x <- 1:10000000 I would like to obtain x_r <- 10000000:1 Thanks, Sebastian.
2010 Dec 09
1
how to use diff() with different variables?
Hi, I first should say I am new to R. I have searched without success the R-archives to see if I could find an answer to what I am about to ask you. My dataset is like: x fine 1 A 2010-12-09 07:57:33 2 B 2010-12-09 08:05:00 3 C 2010-12-08 20:42:00 ... that is: 'data.frame': 3 obs. of 2 variables: $ x : Factor w/ 3 levels "A","B","C":
2005 Dec 07
4
stupid user tricks with ices2: "No such file or directory" :P
I must be doing something really stupid. I've read the docs for icecast2 and ices2. Icecast2 is running fine; I can get stats.xml and see that it is running. When I run ices2, I get the following error in ices.log: ... [2005-12-07 05:37:51] INFO playlist-basic/playlist_basic_get_next_filename Loading playlist from file "/home/john/playlist.txt" [2005-12-07 05:37:51] WARN
2011 Jul 13
3
Colors in R
HI everyone, I''m trying to assign colors to multiple lines in a graph. Problem is I don''t want to type in as many colors as there are lines....is there a way around this? In brief, I''m plotting the logratio for up to 60 samples and want a different color for each sample. Here is the code I''m using now.. Any help is greatly appreciated.. Best LT data <-
2008 Dec 11
3
Logical "in" test
OK, this should be trivial but I'm not finding it. I want to compress the test, if (i==7 | i==10 | i==30 | i==50) {} into something like if (i in c(7,10,30,50)) {} so I can build a "excludes" vector excludes <- c(7,10,30,50) and test if (i in excludes) {} However, I'm not finding a clue on how to accomplish this, if it can be done. Would someone with more R
2009 Feb 04
3
R command to compare two vectors?
By any chance is there an R command to compare two vectors?   For example, a_tmp<-c("a", "b", "c", "d", "e", "f", "g", 'h') b_tmp<-c("a", "c", "e", "g")   I would like to compare b_tmp against a_tmp to determine if the members of b_tmp are part of a_tmp.    I tried
2005 Dec 09
1
stupid user tricks with ices2: "No such file or directory" :P
Michael and Karl, Thanks for your replies. Sorry for confusing you with bad test info. The contents of playlist.txtthat I referred to in my earlier email did not match the log result I specified. However, I had ran the test with both a full and relative path in playlist.txt; "/home/john/Visitors.ogg" and "Visitors.ogg". Got it working, however. Tried playing a different ogg
2006 Nov 28
15
Determining ideal number of Mongrels for an app?
What''s a rule of thumb for guesstimating how many Mongrels to use in a cluster for an app? I have an app that gets about 5000 unique visitors per day. I figured I''d give it plenty of Mongrels -- twenty to be specific. After running out of memory and hitting the swap periodically, I scaled it back to five and it still seems to serve up visitors fine. So, is there some super-secret
2011 Apr 11
4
nndist R vs. ArcGIS
Can anyone tell me why I would get different average nearest neighbor values for the same set of coordinates between ArcGIS 10 and R? Sometimes the difference in distance is over 1.3 km. Alexis -- View this message in context: http://r.789695.n4.nabble.com/nndist-R-vs-ArcGIS-tp3442375p3442375.html Sent from the R help mailing list archive at Nabble.com.
2010 Dec 10
3
Delete observations with a frequency < x
Hi, I have two columns with data (both identifiers - it's an affiliation list) and I would like to delete the rows in which the observations in the second column have a frequency < 5 in the entire second column. Example: 1 a 1 b 1 c 2 a 2 b 2 d Let's say, I would like to delete the rows in which the observation in the second column has a frequency < 2 in
2011 Aug 12
2
Finding an average time spent
Hello R help! I am extremely new to R (as in 3 just days) and I've been using it to do some pretty basic things. I am frustratingly stuck on one point, and am so so so close to figuring it out, but just far enough away to ask for some (perhaps embarrassingly easy) help. I have a dataset, visitors, that has a variable called Time.Spent. Time.Spent consists of times in the format hh:mm:ss ,