Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

noko

Name: Anonymous 2012-05-19 4:30

I just wanted to comment on inefficiency in the R language. I had a simple table from a file, and I was accessing columns using $ many times in a loop i.e. table$column
http://stat.ethz.ch/R-manual/R-patched/library/base/html/Extract.html

The result was that the program ran prohibitively slow,100x slowdown for simple tasks. In hindsight this might be expected, since it was doing a lookup on the column name, but i didn't yet know how to profile code 'the R way', so i didn't know what was wrong and i was butthurt and sad.
fuck me

Name: Anonymous 2012-05-19 5:09

String-based lookups are always slow.

Name: Anonymous 2012-05-19 5:48

>>2
that, convert the strings to array indeces.

Name: Anonymous 2012-05-19 7:14

fuck me
I won't, but there's a bunch of faggots on here that will!

Name: Anonymous 2012-05-19 15:07

This is what you get for not using MATLAB

Name: Anonymous 2012-05-22 8:28

bumpu pantsu

Name: Anonymous 2012-05-22 8:53

Rei.

Name: bampu pantsu 2012-05-29 5:03

bampu pantsu

Name: Sgt.Kabu᳻礷kiman턴ㄐ 2012-05-29 13:34

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

Don't change these.
Name: Email:
Entire Thread Thread List