« first day    last day (3175 days later) » 

6:57 AM
cool.
but how the hell do I find this without the ugly link?
 
 
5 hours later…
mbq
11:31 AM
Bookmark?
 
 
2 hours later…
1:23 PM
It's also linked on the tag wiki; like on "about the r tag".
 
Good morning useRs
 
Morning!
 
2:06 PM
@Shane Thanks for that -- noticed it last eve.
 
@shane good thinking about the tag wiki
 
@DirkEddelbuettel @JDLong Yes; I think that we should work on that tag wiki a little more over the next few weeks. Some of the other tags have done a really nice job (e.g. see the Java tag).
Currently, it's just mostly what I stole off wikipedia.
 
2:32 PM
Just looked at the 'about Java' tag -- overkill in my book. Why rewrite a Wikipedia article? Just link to it. As the timeless philosopher JD once said: "this collaborative editing thing ... may catch on one day."
 
 
1 hour later…
3:37 PM
quick question for linux users out there
how do you cancel a statement being evaluated on linux
I'm moving from windows and have grown rather used to the escape key for cancelling long statements
 
@Halpo Ctrl+C
 
Thanks
 
mbq
@Shane Maybe also a link in excerpt? I think almost noone reads the whole wiki :-(
 
@Halpo You're welcome. Glad to see you're using a real operating system. ;-)
 
I still have windows virtualized inside and am still developing NppToR.
but I'm starting with CUDA which is much easier on linux
 
3:52 PM
@DirkEddelbuettel glad to see I'm being quoted. I only have one published article and it's on the topic of cow shit. So it makes gathering references quite hard.
 
@JDLong you have many quotable tweets too.
 
4:15 PM
@JDLong I didn't know you had published about writing in VBA.
 
@DirkEddelbuettel LOL
 
@DirkEddelbuettel yeah you think that's funny... but at the time I WAS programming in VBA... and SAS! I have a dirty dirty past.
AND my coauthor is now a registered sex offender. I couldn't make this stuff up if I tried.
 
5:09 PM
45 people have said that they are coming to the Chicago R meetup tomorrow. Damn.
 
 
3 hours later…
7:54 PM
I can now "Vote to close, reopen, or migrate any questions"... muhwahahahaha!
I mean, I will use my new powers responsibly...
 
Congrats, @JoshuaUlrich! Climbing up the leader-board.
Now if only you would change your avatar...
 
@Shane I know, I know... I need to get my priorities in order.
 
@Shane Your avatar is too personal either
 
@DirkEddelbuettel Did you mean, "not too"?
But that's really me!
:)
 
real men wear their faces on their avatars.
 
8:02 PM
All part of my aim at keeping a semi-low profile...
 
too late for that crap
 
@JDLong Then why do you have your face as your avatar?
Seems like a contradiction...
 
did I accidentally switch to "jr high lunch room chat"
because this seems very familiar if 23 years removed
uh... 25 years
 
You were talking about avatars in Jr. High?
Ahead of your time...
 
i'm nothing if not progressive
if someone will just say "that's what your mom said" then the transformation will be complete!
 
8:05 PM
I know you are, but what am I...
wait... too far back, my bad
 
"that's what your mom said"
 
BINGO
any of you use RSPython?
I think I want to call Python from R. So that I can use some Python libraries without rebuilding the logic in R
 
I've played with RPy2 (rpy.sourceforge.net/rpy2.html); was under the impression that it's more widely used.
But I don't use Python too much.
I know that @drewconway uses it; he presented on it at the NY R meetup a while ago...
 
I may be sniffing glue, but I thought rpy2 was for calling R from Python. And I want to call some Python from R... so can it do that or do I need something else?
 
Oh!
Sorry...
 
8:18 PM
no worries. I just wanted to make sure I wasn't missing something
 
You might try rJython, in that case: cran.r-project.org/web/packages/rJython/index.html
I was creating something similar for a while (code.google.com/p/rjscript), but never got around to finishing it (before "Gabor" rolled out rJython...).
(need this eventually to parse javascript in R for a separate project...)
Not sure how effectively the Jython/Python interface works...
 
hell yeah! the code with the most layers of indirection wins, right?
 
Do you want to be cool, or not?
 
arrrgh. this IS jr. high
why else would I wear this clock around my neck
 
Oh wow. I actually met Flavor Flav once back in high school. I had track practice up by Yankee stadium, and he was shooting a music video around the track.
Classy guy.
 
8:28 PM
yeeeaaah booooooooooooys.
 
8:42 PM
so I have some code that calls amazon web services... sends files to S3, fires up EMR jobs, etc. There's a low level API to AWS that involves hashing access codes, and some low level junk. That's too low level for this economist. The higher level tools are spread across multiple packages. So there's a set of command line tools written in Ruby for controlling EMR. There's some different command line tools for sending/receiving files from S3. I'm calling these two sets of tools using system()
it looks like Bobo has implemented all the low level AWS api calls in a single high level Python packagehttp://code.google.com/p/boto/
Boto
and I'd like to wrap boto in R so I can stop dealing with these command line tools and just pass/receive things from Python
I think that's what I want to do, anyhow
I'm struggling to grok a good way to do this.
I think I just blew coffee out my nose: r-chart.com/2010/10/hadley-on-postage-stamp.html
 
Ha! Good thing that I put down my coffee before I clicked...
RE: boto; no ideas from me. Sounds like using boto from RSPython or rJython could be a good approach. Maybe ask the question on SO?
 
yeah I'm heading toward that. I kinda wanted to bounce off the chat to make sure I was not missing something obvious
I think the question now is "is this a good way to accomplish what I want to do"
 
Right. I would be sure to specify clearly "what you want to do" (stating the obvious). :)
 
yeah, exactly.
 
9:09 PM
JD, you want to run Python from within R, or the other way round?
 
hey drew, I think I want to call Python from R
I want to control Amazon web service apps from within R... and Boto is a python library for doing just that
 
That is a can of worms I have not tried to open yet
 
well I have this here can opener
and some fries cooked in duck fat
what could possibly go wrong?
@shane pointed me to rJython which seems like a really good way to approach this
 
I thinkt he previous suggestion of RSPython may be your best bet, but it is not clear t me that you can use re-compiled .pyc files, i.e., some Python package, from with it
 
ohhhh
 
9:13 PM
I think it is more akin to Drik's inline function, where you can write a Python object or function and then call it from R
 
I didn't even grok the significance
 
I am sure there is a hack, wherein you could literally source in the bits of boto you find useful, but that would make me nervous since Python classes tend to call libraries only as needed, so you might end up missing some critical piece of boto and not even know it
 
yeah my lack of Python understanding will bite me in the butt
 
I find these high-level language marriages kind of poor. It makes sense, to me, to want to call C or Fortran from a higher-level language, but only in small doses, which is why inline is teh awesomes
 
yeah, I'm going to take a beating trying to sort this out, I am sure
 
9:18 PM
but being in one scripting language to call another invites headaches, I think. Playing with RPy2 a bit has taught me that
It would probably take you far less time to learn the necessary Python to get up an running with boto than to try and hack it in R
 
@DrewConway Yup. Been hacking with Rcpp all week :)
 
@JDLong You could also try to reach out to Gabor, et. al, since they set up the package.
 
yeah, I may do that
 
I'm sure they have a good sense of what's possible.
 
yep, I think you are exactly right
thank you guys for the input. I didn't have a well formed question but you all are helping me form a couple
thanks for popping in @drewconway
 
9:23 PM
But has anybody used that? I mean the whole bleeping Python interpreter, reimplement, wrapped in Java, pulled into R?
 
crickets
 
Sounds a tad heavyhanded to me. But then I don't really do Python and probably do not know what I am missing...
 
That's what your mom said.
 
ok.. glad I have a private office. I actually did laugh out loud
 
@Shane lol, awesome
 
9:26 PM
No problem, I love the pop in...Jerry Seinfeld does not
 
Phew. Thought that I might have crossed a line there...
 
No, Hadley on a postage stamp crossed the line
 
Yep. Made my morning.
 
"In summary: pure Python modules can be used in Jython; modules including C code, cannot. " that looks promising
 
Just make sure that boto doesn't call SciPy or NumPy, both of which rely heavily on C and Fortran code
 
9:40 PM
import base64
import hmac
import httplib
import socket, errno
import re
import sys
import time
import urllib, urlparse
import os
import xml.sax
import Queue
looks like a sane set of standard suspects
 
nice you're probably all good
 
that's what @shane's mom said
reading through code in a language I don't know is like listening to the radio in Mexico
sometimes I get the gist but the details evade me
late for the train. See you all tomorrow
 
mbq
9:57 PM
This rJython seems working by making strings with commands and passing them to Jython to parse and evaluate... Isn't it then better to run python through pipe and execute boto this way?
 
 
2 hours later…
11:34 PM
Another good day of R chat for the history books...
 

« first day    last day (3175 days later) »