« first day (1654 days earlier)      last day (1521 days later) » 

3:05 AM
I'm not convinced this is a duplicate - any other agree-ers for re-opening?
2
Q: utf-8 characters get lost when converting from list to data.frame in R

jirikadlec2I am using R 3.2.0 with RStudio 0.98.1103 on Windows 7 64-bit. The Windows "regional and language settings" of my computer is English (United States). For some reason the following code replaces my Czech characters "č" and "ř" by "c" and "r" in the text "Koryčany nad přehradou", when I read a X...

Oooo... ignore that, apparently I have gold smashing powers to reopen on my own. So, maybe close again if you don't agree?
 
 
3 hours later…
6:19 AM
@thelatemail I feel the user. I hate encoding issues like Gargamel hates the Smurfs.
3
 
 
4 hours later…
10:07 AM
Not without a mac...
The Grammar of #dataScience : How #Rstats is better than #Python for Data Science http://technology.stitchfix.com/blog/2015/03/17/grammar-of-data-science/?utm_content=buffer2b99d&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer http://t.co/vO6XCFPvrI
 
 
5 hours later…
3:34 PM
@DirkEddelbuettel or others -- Here's my possibly stupid Docker-related question. I'm primarily a Windows user, and have often wanted a version of R built with debugging information on which I could usefully run gdb. However, even the official docs state that "Debugging under Windows is often a fraught process, and sometimes does not work at all," which tracks my own experience.
Would it be possible to "Dockerize" a debuggable R executable + gdb and other useful debugging tools? Seems like such a container (if it's possible to make one) might even be useful to folks other than Windows users...
 
3:55 PM
Yep, you more or less get that for free. Via boot2docker you get a superskinny Linux layer in a vm (all via one click install) and then you're in Linux, and so Docker can work.
I had to reboot the (at work, windows) box on which I type this but as a proof-of-the-pudding-eatery I had boot2docker running launching the RStudio Server contain and was logged in via the browser to the RStudio Server (Linux only!) running in Docker on the Windows box. For several months.
And I built one or two debugging containers with even more than just gdb support -- the have the full UBSAN stack, and I do get the occassional email or word from someone thanking me that that was all it took to get a CRAN issue resolved...
You still need to dig in a little and learn some Docker basics but it is pretty straightforward.
 
4:10 PM
Also, there is a super-slick Debian feature (and we use Debian in the Rocker builds). For any package foobar, installing foobar-dbg adds the stripped off debugging symbols. No rebuild needed :) Gdb is instrumented to use these if present (and it behaves just like a shared library load).
 
Amazing. Looks like r-devel-san is the container I should install, right? Really looking forward to taking this for a test drive.
 
Now I just need to get the admin to get docker working properly on our new superserver...
 
4:25 PM
@JoshO'Brien or -ubsan, I keep forgetting which. Whatever is more current. Or what I blogged about :)
If in doubt look at GH's RockerOrg not my repo, and also the on the hub for what is current. Some documentation in the wiki on GH.
 
Yes, just saw that there are more images there than are listed on the splash page of cboettig's rocker github repo. Thanks for the pointers.
 
4:40 PM
URL?
Just got cold-called by dice.com who had email-spammed me yesterday as they want to portray "R language interview secrets" or some such. Told them (more politely) to go that place that freezes over as I have no interest in sharing the one or two valuable interview questions (which they wanted) with the InterWebs at large...
I suspect that I wasn't the only one with a non-zero R karma here to get hit by them...
 
 
1 hour later…
5:58 PM
@DirkEddelbuettel (or @Thell or others) One more question, please, if you'd be so kind...
So, doing docker run --rm -it rocker/r-devel-san /bin/bash to have a look around inside the container, and then ls /usr/bin finds me no gdb. I guess (?) that's because it's not in the apt-get-install section of the r-devel-san Dockerfile.
Am I right to understand that the way forward is for me to write my own Dockerfile that includes a line like FROM r-devel-san and then something like RUN apt-get update -qq && apt-get install -y --no-install-recommends gdb, which I can then docker build?
 
That's one way forward @JoshO'Brien, I usually just start off doing things manually within a container until I'm happy with it, then move to a Dockerfile.
I suppose that is frowned upon, much like working with disparate .R files until things are good before moving to a package. :P but even with a local squid cacher rebuilding a bunch can be slow and definitely wastes bandwidth.
 
@Thell Got it. That worked, and helps me understand much better how to go about playing around with this. Thanks!
 
6:18 PM
PRs or issue tickets help as well. That one may as well get gdb.
You can also a) launch a container, b) alter it from the inside with apt-get or make;make install, and c) write it back out --- IIRC that is docker commit and you need the process id.
 
7:00 PM
LMAO, subject line: Kaggle Update: Our A/B tests predict you will open this email
 
 
1 hour later…
8:28 PM
Anyone happen to know the R projects stance on adopting the XDG basedir specification?
I should alter that to say the current stance
 
8:47 PM
If we knew what you talked about we might be able to give an informed answer :)
 
:P Sorry about that. Freedesktop standard basedir specification. You know the ~/.config ~/.cache etc... dirs. wiki.debian.org/XDGBaseDirectorySpecification
Hey @DirkEddelbuettel, out of curiosity... how long does it take to fully build the hadleyverse or ropensci? Over 30 min?
 
9:08 PM
I haven't built a container is ages. I just commit changes to GH, and the hub.docker.com then goes to work and builds it :)
Carl still builds more locally for testing, shoot him an email.
Oh, or could look at the log of the hub builder but you may have to be an owner to see it.
Last two successful ones are listed at 10m and 20m respectively.
 
:DOH: the log!
They must have a beefy system and use the caching!
 
9:36 PM
@Thell In the beginning of my journey into docker, I built some images for use on my i386 laptop. It really is not that bad.
 
10:13 PM
@DirkEddelbuettel Would submit a ticket for adding gdb to rocker/r-devel-sans except that it looks like I'll probably also want a lower level of optimization (CFLAGS ="-O0") instead of the "-O3" that it uses. I'd like to have all the function names as well as files and line numbers of current location returned by gdb's where, and I think overoptimization must be what's losing that for me.
Anyhow, I'll leave this for now and run future Docker discussions through email or PR's, as you've requested a couple of times :) Thanks again.
 

« first day (1654 days earlier)      last day (1521 days later) »