« first day (249 days earlier)      last day (3562 days later) » 

12:07 AM
is the minimum evaluatable scientific value stored anywhere?
i.e. 1e-300 evaluates to 1e-300, while 1e-400 evaluates as 0
I've looked at the .Machine list but can't see anything obvious
I start losing precision around the e-324 mark
 
 
5 hours later…
4:43 AM
i dont know wheather its a correct place to ask this but One of my question was deleted by moderator. If my question was violating some rules of stackoverflow please let me know. So that care should be taken next time. thanks in advance.
 
 
4 hours later…
8:27 AM
@arslan I don't know which question, but feel free to check out the "Asking" section of SO help: stackoverflow.com/help/asking
 
 
4 hours later…
12:17 PM
Comments like this one annoy me:
Error in array(values, dim = newdim, dimnames = newdimnames) : length of 'dimnames' [1] not equal to array extent — Rechlay 24 mins ago
 
@AnandaMahto I +1 for your pain. :-)
 
12:31 PM
@SimonO101 Thanks. It took me a long time to post my comment because all my previous versions were pretty rude. Long day at the office. Now getting ready to head into smoggy traffic.
@joran Please don't edit my answer here :-)
 
 
3 hours later…
3:38 PM
@AnandaMahto re: your comment just now - I too have trouble seeing how the data presented is really what was output given the command that was run. Still think its a recycling issue though.
 
@SimonO101 That's some strange recycling though :-)
Recycling something that doesn't exist...
 
That why I don't believe the posted output.
@AnandaMahto M <- matrix( runif(9) , 3 ); rbind( M , colSums( M[,-1] ) )
 
Well, posted output of head(data) results in a matrix-like object with no column names.... hmmm... I believe this user has been asked several times before to share reproducible examples too...
@SimonO101 Right, you've got recycling in your example (which is what I got with my sample too), but their "problem" demonstrates basic "shifting" of values.
 
Right, but we know that given the stated command recycling will occur. So either a) the command is not as specified b) the data is not as specified c) they replaced colSums with some weird user-defined function d) all of the above!!! :-)
@AnandaMahto see latest comment. I am willing to bet that the shifting they see is because just by chance the second and last columns have the same sum.
 
4:37 PM
@AnandaMahto @SimonO101 I'm not sure anything terribly weird is going on. They are rbind-ing a data frame and a vector that's one value too short.
R recycles the vector, sticking the first value at the end, and the slaps them together.
 
@joran read upwards to see that I suggest exactly that
 
@SimonO101 Ah, ok, I missed that.
 
however the shift is the wrong way. I just think they were sloppy when they posted their example
So I gave up worrying about it!
 
That's almost always the best solution. :)
 
@joran, @SimonO101, you think this is part of a class or something? The question bears a lot of resemblance to this one
df <- suppressWarnings(rbind(data, colMeans=colMeans(data[, sapply(data, is.numeric)]))). I had to do like that because the first column is a part of the data. That's why I have to ignore first column. — Shaxi Liver 1 hour ago
Also, note this comment:
And @jilber's answer to the question I just linked to.
 
4:48 PM
@AnandaMahto Yeah, we were just discussing that. Seems likely.
 
5:35 PM
@joran, @SimonO101, problem solved (or time wasted, depending on how you perceive it). Now let's see what other "oh, but my data is actually like this" type of response comes from the OP, along with melodramatic "why are people downvoting me" complaints. Sigh....
 
5:48 PM
@juba, congrats on the badge you got recently :-)
 
@AnandaMahto Ah, thanks :-)
 
 
1 hour later…
7:15 PM
@SimonO101, I see that your Understanding how .Internal C functions are handled in R question has gotten some publicity in the Stack Overflow Weekly Email Newsletter. Party on!
2
 
 
2 hours later…
8:48 PM
Really?! Cool, thanks :-)
 

« first day (249 days earlier)      last day (3562 days later) »