think tank forum

technology » Rconsole

lucas's avatar
14 years ago
link
lucas
i ❤ demo
here's what i use. how about you?

MDI = no
font = TT Courier New
points = 10
style = normal
rows = 25
columns = 80
pgrows = 25
pgcolumns = 80
setwidthonresize = yes
bufbytes = 250000
buflines = 8000
background = black
normaltext = gray
usertext = DeepPink
pagerbg = gray15
pagertext = yellow
highlight = DeepSkyBlue
buffered = yes
Fsmart's avatar
14 years ago
r1, link
Fsmart

points = 10
background = grey10
normaltext = ghostwhite
usertext = DeepBlue
pagerbg = white
pagertext = orange
highlight = goldenrod4

lucas's avatar
14 years ago
link
lucas
i ❤ demo
mdi? gross. :(
Fsmart's avatar
14 years ago
link
Fsmart
no mdi, sdi.
lucas's avatar
14 years ago
r1, link
lucas
i ❤ demo
you don't set it in Rconsole? or what? mdi is default.
Fsmart's avatar
14 years ago
link
Fsmart
on install it gives you the option.
lucas's avatar
14 years ago
link
lucas
i ❤ demo
i think that just sets the line in ``C:\Program Files (x86)\R\R-2.10.1\etc\Rconsole''.

i'm modifying that file directly. maybe you're putting an override copy in your user home directory, so you don't need the line, because it's already correctly set in the main one.
andre's avatar
14 years ago
link
andre
So do you guys use R daily? I use it for plotting stuff mostly (did some distribution fitting recently), and every time I have to use it I have to learn everything again. I hate those weird function and argument names <_<
lucas's avatar
14 years ago
link
lucas
i ❤ demo
i use it whenever i have an empirical project. :)
Fsmart's avatar
14 years ago
link
Fsmart
i use it pretty much daily, yeah. it has really grown on me. i don't know what languages you prefer andre but R in very intuitively appealing to me. you could always write your own little package that renamed the functions you use to be more useful. for example i like creating a function

p <- function(...) paste(..., sep="")

> p <- function(... , sep= "" ) paste(... , sep=sep)
> p(1,2,3,4)
[1] "1234"

> p(1,2,3,4,sep="9")
[1] "1929394"

i find the p function invaluable when dynamically referencing variables.
Fsmart's avatar
14 years ago
r1, link
Fsmart
shit...did it again.
andre's avatar
14 years ago
r1, link
andre
Its naming conventions bugs me... The other day it took me hours to find "read.fwf()". The argument names are also crazy... I have code that looks like this:

par(las = 1)
par(xpd = NA)
par(oma = c(1.2, 2.6, 0, 1))
par(mar = c(2.5, 0.5, 0.5, 0.5))


las, xpd, oma, mar? Really? :P

It can generate awesome plots though. I understand R is a great tool... Possibly it carries too much weight due to S compatibility or something.
Fsmart's avatar
14 years ago
link
Fsmart
yeah, that is certainly true. i have spent much time on different occasions trying to track down parameters which i once used or seen but now can't remember.
andre's avatar
14 years ago
link
andre
BTW there's a new R book by O'Reilly: http://oreilly.com/catalog/9780596801717
Fsmart's avatar
14 years ago
link
Fsmart
:) author: Joseph Adler
andre's avatar
14 years ago
link
andre
Should I have heard about this guy?
lucas's avatar
14 years ago
link
lucas
i ❤ demo
dunno

"Joseph Adler has many years of experience in data mining and data analysis at companies including DoubleClick, American Express, and VeriSign. He graduated from MIT with an Sc.B and M.Eng in Computer Science and Electrical Engineering from MIT. He is the inventor of several patents for computer security and cryptography, and the author of Baseball Hacks. He currently works for Recombinant Data Corp, a startup that writes and supports open source bioinformatics software."
Fsmart's avatar
14 years ago
link
Fsmart
yeah, he sounds like a small badass but no i haven't heard of him before. i was just commenting because your post sounded like O'Reilly had written the book and i thought that would be pretty unreal.
lucas's avatar
14 years ago
link
lucas
i ❤ demo
oh

o'reilly is a publishing house
Fsmart's avatar
14 years ago
link
Fsmart
yeah, my bad. not this guy :)
lucas's avatar
14 years ago
link
lucas
i ❤ demo
how dare you use my website to increase his pagerank
Fsmart's avatar
14 years ago
link
Fsmart
sorry, i would delete it but...
Étrangère's avatar
14 years ago
link
Étrangère
I am not a robot...
hahah