« first day (671 days earlier)      last day (2504 days later) » 

6:43 AM
good morning to everyone :)
 
morning
 
6:56 AM
Good moaning.
 
7:23 AM
How to deal with users who get a new userid and ask a similar question to the one voted -7? stackoverflow.com/questions/12032646/…
 
I think in the past, we merged them. Remember that Katherine or what was the name?
 
7:45 AM
I just want to totally rewrite the question. The database is irrelevant. In fact, most of it is irrelevant..
I've replicated exactly what he's trying to do, reading from a (sqlite in my case) db and plotting, all that needs doing is a bit of unwrapping of the return rows and then converting the months to something numeric (or factors)
 
@Spacedman, I just answered a question on how to plot holes in polygons. I'm quite convinced that shapes have anti-clockwise points and holes have clockwise points. This works, but now I'm trying to find a reference that defines this, and can't. Am I correct in this assertion?
 
hmmm
i think sp polygon objects have some kind of hole flag
i've argued that the correct way to do this is to have each feature contain a tree structure that defines containment
poor question, that.
 
8:02 AM
@Andrie that is a common convention, but it's not the only way it's done, and it depends on the support available - older versions of sp would not plot holes correctly, and there has been improvements in R graphics for polygon support, and what Spacedman said, and a bunch of other possibilities
"Vertices of rings defining holes in polygons are in a counterclockwise direction."
and the "fillOddEven" argument to ?polygon
 
@Spacedman @mdsumner Thank you. I've made a minor edit in my answer. Feel free to edit / comment to clarify.
 
also, ?sp::Polygon defines the order for coords with clockwise/counterclockwise
I think you wrote it the wrong way around?
 
8:26 AM
ah, and ?polypath and the usePolypath argument to plot:::SpatialPolygons
cripes, I might have a look later . . .
 
 
4 hours later…
12:06 PM
@Andrie In ?SpatialPolygons for coords it says: 2-column numeric matrix with coordinates; first point (row) should equal last coordinates (row); if the hole argument is not given, the status of the polygon as a hole or an island will be taken from the ring direction, with clockwise meaning island, and counter-clockwise meaning hole. Is this what you're looking for?
 
Thank you
 
1:02 PM
style question: when developing packages with roxygen2, should I include the man directory in my Git/Github commits? I'm leaning towards no because it's machine-generated from files that are in the repository (the code files), but I'm curious what others think.
 
WWHD?
 
@Spacedman It's funny, I have those very letters tattooed on my arm
 
"What Would Hadley Do"?
ggplot2 has man pages checked in, and roxygen source in the .R files
 
@Spacedman Sadly, I understood what you meant before you expanded it :-)
 
;)
I wonder if roxygen could be persuaded to add a 'this file has been automatically generated, do not edit' comment
 
1:08 PM
@Spacedman That sounds like a not-terrible idea
 
1:30 PM
@AriB.Friedman, if you do not include the man directory, does the user have to have roxygen2 installed in order to install your package?
 
@GSee I would include it in the package, just not in the git repository
But it's a good point, that if someone is installing from Git then they would have to rebuild on their system
OTOH if someone is installing from Git instead of CRAN they deserve what they get :-)
 
I don't see it as punishment, but rather as extra room to tinker. :)
Hello @JoshuaUlrich.
 
@RomanLuštrik sometimes that's a false distinction!
 
Hello @RomanLuštrik
 
 
2 hours later…
3:13 PM
It seems we have a new, overly zealous moderator on CV: there are two migrated questions that were both asked and answered months ago. (Look at the tab of active questions.)
 
@Andrie At least they're both reasonable questions that certainly belong on SO.
 
A little weird that they'd migrate them now, I suppose. THe optimisation one is bit more borderline.
@RomanLuštrik I think he meant the previous two. There are three now, that were just migrated.
 
Yes :-)
 
does it happen often to you that rugarch optimization routine breaks? It looks like ti depends on sample length... and something I do not understand, but if sample > 1000 it doesn't happen anymore. Maybe variance targeting may stabilize the maximum likelihood solving with solnp..?
 
3:25 PM
Sorry, I haven't done much "custom" optimizations, but it's something pretty high on my list.
 
it seems variance.targeting = TRUE produces more stable results, also with smaller samples
 
@user1584009, the author of that package hangs out on the r-sig-finance list and is very responsive
 
How do you guys stay so 'on top of' post activities? Is there some auto-update app you're running or something that allows you to see the post and status info without needing to go through the main point/click UI ?
 
@Thell, use the "active" tab. stackoverflow.com/questions/tagged/…
 
@GSee so you click into each to see the status and such?
 
3:35 PM
yep
 
@Thell I use Newt
But I'm sure if you poke around in StackApps you'll find something for whatever platform you're on.
 
@joran, perfect thanks! That's what I wwas just doing. :)
 
@GSee your do.call.rbind is pretty slick. It took me a minute to figure out what you were doing, but it makes a lot of sense.
 
you mean copying someone else's code? ;-)
Quoting Dominik: "In each iteration this code is halving the amount of dataframes." (of course this is really much more useful for xts objects)
 
What? I thought you wrote that... oh. /me fails
Okay then, great Ctrl+C/Ctrl+V skills!
 
3:40 PM
I credited Dominik in my answer, in the qmao::do.call.rbind documentation, and in the comments in FinancialInstrument::getSymbols.FI. If you couldn't tell I was copying, I don't know what else I could do
 
You could have smacked me upside the head.
 
I tried!!! But you submitted a slower answer anyway
Hey. While I've got you here... What's the purpose of rollapply.xts? If it exists, why isn't it just a wrapper for rollapply.zoo?
 
Where's @jdlong with his toilet humour?
0
Q: Create .ped file

Tim Heinertso in the moment I do have a coded genotype table (rows as SNPs and columns as individuals) with the elements already being in the 0,1,-1 format. Now I would like to proceed to write a .ped file for further analysis. Is there any simple way to do this?

 
3:56 PM
lulz
 
4:39 PM
@GSee I think we re-wrote it due to speed/memory issues.
 
@JoshuaUlrich That would have been my guess. I don't mean to be driving people away from using it, I've just been converting to zoo because I don't know whether the people asking questions have (inadvertently) registered it via PA, and it's frustrating that something becomes non-reproducible due to that.
 
@GSee Yeah, I understand. Exporting it and re-writing the roll* functions has been on my list for a very long time.
Oh, and you could ask Brian/Peter why they wanted it. I wrote it at their request, and didn't export it initially because it wasn't very well tested.
 
ok
BTW, I found an old e-mail from Jeff re: memory usage with do.call(rbind.xts, ...). (you're copied on the e-mail, so you already know this, but since I asked yesterday..). The issue is that rbind.xts is recursively doing a 2 way merge sort instead of an N way merge sort
 
@GSee Yeah, I found and re-read that email too. His prototype uses something he calls xtsCollections (i.e. a list of xts objects), which makes the latter possible.
 
for a fee?
 
4:54 PM
I'm not sure... that might have been his intention. It's more of a time-series C library than an R package.
You could call it from R, but you could use it from Python, C, C++, etc.
 
 
1 hour later…
6:03 PM
Hadley (and Winston Chang and someone else) joining RStudio:
I'm joining RStudio! (along with Winston Chang and Garrett Grolemund). More details at http://blog.rstudio.org/2012/08/20/welcome-hadley-winston-and-garrett/ #rstats
 
@joran Yay!!
 
@joran. Great! Maybe devtools will work smoothly in RStudio soon
 
6:14 PM
We'll all be forced to use a GUI... :(
 
and underscores...
 
6:35 PM
@JoshuaUlrich Please get on message. It's under_scores.
 
Ugh, I'll never get the hang of it.
 
And vim will be replaced by v_i_m
 
No, it is much simpler. RStudio will simply become half as fast.
6
 
It will also be renamed to r_studio
 
r_studio2
 
6:38 PM
holla guys... I have few more days 'till the end of my "vacation"... and I'd like to develop a regex tester webapp in Rook/RApache
 
@DirkEddelbuettel, you're on fire today!
 
I actually no longer talk to Hadley as I started to distrust first releases. I save my questions for Hadley2.
3
 
my Q is... would you find such tool useful? =)
I'm trying to mimic rubular.com
but the whole thing should use internal webserver (of course, I plan to bring it up on OpenCPU)... just wanted to get your opinions...
you just don't give a bloody dime about webapps, now don't you? =)
 
@aL3xa if you call it rub_ular_2 we may consider it
 
@DirkEddelbuettel rub-ular? That sounds a bit... naughty.
 
6:43 PM
of course, I love underscores in ESS...
@JoshuaUlrich I'll probably call it Raeggelar or smth...
but app names with lascivious subliminal messages are always welcome...
 
All the colours in RStudio will be replaced with shades of purple and turqoise
 
 
3 hours later…
9:38 PM
Gah! An hour to figure out that "level" is a reserved word in Oracle.
At least I figured it out without asking a question on SO...!
 

« first day (671 days earlier)      last day (2504 days later) »