« first day (279 days earlier)      last day (2896 days later) » 

7:10 AM
@RomanLuštrik who did that?
 
 
2 hours later…
8:41 AM
@gsk3
> XML::getDefaultNamespace
function (doc)
{
ns = xmlNamespaceDefinitions(doc)
val = unlist(sapply(ns, function(x) if (x$id == "")
x$uri))
if (length(val))
val[1]
else character()
}
<environment: namespace:XML>
Good luck checking if there's a default namespace or not.
I was working with XML all day yesterday (and Saturday, too) and I'm still baffled by namespaces. I manage to get particular nodes from the entire file, but I can't work on the subset for some reason (using xpathApply or getNodeSet). The result keeps coming up list() instead of nodes.
 
@RomanLuštrik That's ugly. I used the XML package a few years ago, but it was a one-off project and I know nothing useful sadly.
In other news, I was shocked to discover today that there were only 60 someodd people who've earned a badge for R (>100 upvotes)
I guess there's a lot of churn but few long-term contributors.
 
9:02 AM
@gsk3 Same goes for posing question.
 
@RomanLuštrik Sadly, in my brief time here I've come to expect horrible questions from people with low rep, so much so that I'm surprised and happy when a really well-posed question comes up (even if it's available via search),.
 
Life's full of surprises, ain't it? :)
Where are you from?
 
Philadelphia, but in France for the summer.
 
9:27 AM
Where do you work?
Or more specifically, what do you do for a living?
I noticed a lot of people that work in R are +- from the finance world.
 
Nah, I'm a grad student.
What about you?
 
Ah, still wild and free. :) What are you studying? I'm a biologist, working for our local uni. More specifically, I'm studying animal populations.
Mostly lynxes, wolves and bears, though.
 
Somewhere at the intersection of health economics, public health, and epi.
Lynxes, wolves, and bears sounds great.
Do you ever get field time? :-)
 
If I want to. :)
These are my co-workers who caught a wolf last Sunday. volkovi.si/en/archive/146-volk-slavc-
I'm the person behind the server who receives the data from the collar that they put on.
 
Ha, that's great.
I did some spatial statistics work a while back, and it seems like a lot of those models come out of people needing to track X, Y, or Z animals through forests after having been tagged.
 
 
2 hours later…
12:01 PM
@Gavin, nice post on ... ucfagls.wordpress.com/2011/07/23/… Too bad I didn't have this handy a few months ago...
 
@RomanLuštrik Thanks. Been sitting on that one for a while, but had to use that trick at the weekend fixing a vegan function so thought I'd write a post on it.
 
12:41 PM
Howdy all. Welcome to a new week!
 
Hidy ho, happy camper.
 
 
2 hours later…
2:43 PM
hi all
 
hello @JorisMeys
 
no news?
 
Hi.
What news are you looking for? I think I just found out that Edzer Pebesma plays sax.
 
been busy a whole week, so in case I missed something I'm happy to be enlightened
@RomanLuštrik Don't know the guy, but I like him already :)
 
I can't speak for the rest, but I just stepped into a new hate-hate relationship with XML.
He's one of the guys behind the sp package.
 
2:46 PM
oops
I start to grow more and more fond of Ross Ihaka's idea...
 
It's not the one where we all get naked and party, is it?
 
This is the internet. Unless you can gsub("°U°","(.)(.)",party.people) that's not what I was thinking of...
 
Star, obviously. :D
Have you ever used the XML package by any chance?
I'm trying to decipher all the parse functions and what are they good for. It's a jungle and my flashlight is not that powerful.
 
I stay away from XML as far as possible to be honest
 
Smart. The thing is, I'm trying to import some gpx files and would love to have a native way of doing so. There are ways of importing now (using gpsbabel or GDAL), but they both have their crosses.
 
2:55 PM
I'm afraid I can't help you with that...
 
And what have you been up to?
 
writing, playing saxophone, sailing, ...
university was closed for a week, so I've been enjoying not having to work on the projects I was busy on.
 
Neato! I spent the weekend coding, but I also visited the firing range. So it was quite enjoyable (excluding XML).
 
 
3 hours later…
5:39 PM
I wonder how convenient it is for Joris to convert from matrix -> data.frame -> list
 
well... data.frame is a list, so it's just matrix -> data.frame, no
?
I just got totally bamboozled by timezone's GMT offsets and the like. I feel like a global noob.
 
Touché.
What sort of data are you working on?
I just found xmlToDataFrame function and my hate for XML just dropped a few points.
 
I'm just working on scheduling a conference call for this afternoon with folks in London :)
 
It's already 7 p.m. in London. Are they still in at this ungodly hour?
 
5:59 PM
They end up having dinner then chatting with us from home
globalization is a harsh mistress sometimes
the call ended up being at 9PM London time. I hope they are crocked.
always more fun when one or two of the call participants are slurring their words.
 
 
2 hours later…
8:16 PM
What's the command to see if a variable points a directory or a file?
(/me prepares for a self slap)
file.info, doh.
 

« first day (279 days earlier)      last day (2896 days later) »