« first day (828 days earlier)      last day (2347 days later) » 

2:36 AM
hello everone
if A,B,C are single digit(0..9), and AB*A=CCC, what the value of A,B,C? The triple-loop is easy way to find the answer, but could solve this by single line code with R? Do not write few lines and put to one single line by ;
 
@Sean Typically we try to encourage folks to ask their R questions on the main site, and leave this chat room for less formal banter.
 
2:53 AM
hi joran
@joran should i post this question to main site? i am serious to looking for the answer
 
Sounds like a better fit for codegolf, as long as you don't restrict it to only one language, but allow answers from languages other than R as well.
 
ok! thank you very much!
 
 
2 hours later…
4:32 AM
Woohoo! I'm member 22 of the Gold R Badge club. I'll host a dinner in Chennai for anyone who happens to be around! (Sorry, I don't do beer, so you'll have to bring your own.)
 
 
1 hour later…
5:49 AM
@AnandaMahto - what's on the menu? It's a rather expensive round trip from Australia so I'd like to get value for money. ;-)
I'll have a beer in your honour this evening. Maybe even 4 or 5.
 
6:19 AM
@thelatemail I guess it might be a bummer for Australians since you probably get much better beef than I do, but I do make a pretty awesome beef curry paired with famous Trinidadian roti and parota. If it's just me and the wife and kids, we'll probably just stick to that. Otherwise I can expand the menu ;)
 
6:31 AM
By the way, does anyone here work regularly with anyone in India? Just curious....
 
6:48 AM
@AnandaMahto I'm calling in from Australia, we do have some students from India working here.
 
 
1 hour later…
7:53 AM
@sebastian-c what sort of work? Any direct connections with India (as in working with people in the Indian subcontinent)? Or mostly Indians who have moved abroad to work/study.
 
@AnandaMahto It's mostly soil science and mostly people in the latter category.
 
@sebastian-c Cool. I just haven't found many useRs around here and was curious if others had any connections. Perhaps if I were in Mumbai or Bangalore or one of the other metros the scenario would be different....
 
 
3 hours later…
11:09 AM
@Andrie, I see you've found a way to give yourself upvotes ;)
 
11:21 AM
Yes, it works a charm.
 
11:33 AM
@AnandaMahto /me no understand
 
@GavinSimpson Look at my comments and the edit history of this answer:
10
A: Replace blanks in datasets with value in r

Chinmay PatilIf you know the widths of each column then you can use read.fwf e.g. > dat <- read.fwf('temp.txt', skip=2, widths=c(5,5,6,6,6)) > dat V1 V2 V3 V4 V5 1 31 3213 313 64 63 2 31 3213 313 64 63 3 31 3213 313 64 63 4 31 3213 313 64 63 5 31 3213 313 64 63 6 12 1...

The answer had zero upvotes before my edit.
 
Ah, /me now see
 
11:54 AM
Maybe a proposal can be made for recognition of users who contribute "nice answer" badges to other users.
 
12:52 PM
@DirkEddelbuettel Congratulations on reaching 100 dependents. You must get one heck of a deduction come tax time.
 
1:22 PM
I heard someone refer to github with a soft 'g' this morning. I thought maybe 'jithub' was a java-only repository...
 
1:50 PM
@spacedman no just github's more refined cousin (c.f. Targe't
^ my brother's startup went live today
today it's going to be great. he's a boss, and not just in the literal sense
 
2:38 PM
One more vote to delete, please:
 
Apparently you caused it to get deleted from chat. Impressive.
 
@AriB.Friedman spose you could also pronounce the 'th' as in 'th' - "jith-ub". Then nobody would understand you.
 
-14
Q: translate C++ code into R code

user2006697Need a translation of three lines C++ code into R code: Legend t: vector with x numbers of values; tx: single value in vector t; s: shape, parameter of Pareto distribution beta: beta, parameter of Pareto distribution C++ Code: s1 = 1.0 - exp(s[0]*(log(beta[0])-log(beta[0]+t[x]))); s2 = ran2...

 
It's a goner.
But you guys are mean. I think this Rzpp thing automated this stuff anyway so that I can load my analysis into Excel and get some real work done.
 
@JoshuaUlrich I don't know, and I'm not a mechanical turk. I refuse to investigate.
 
You should have just wrapped his C++ in cppSource or whatever it is :)
 
cppSauce? How does help with Excel?
 
3:22 PM
I've just spent 6 hours in #Excel-hell trying to trace and debug someone else's ridiculous work. It should have been about 3 lines of R code.
 
3:41 PM
@Andrie did someone make a whale trade?
 
@Andrie And as a break from that task you debug someone else's ridiculous work on SO! :)
 
I'd much rather help some poor sod who's at least trying to learn a sensible language, than debug Excel.
7
 
Touché.
 
 
2 hours later…
6:02 PM
hadley is spending far too much time on SO these days, correcting all my mistakes...
I have this uncomfortable sensation of being hadleyed just about every day.
 
@Andrie Start filing bug reports about missing documentation. That could keep him busy for months.
 
He's using the pan_opticon2 package to keep track of you.
 
6:25 PM
@Andrie Do you ever get the feeling you're being hadleyed?
@GSee :)
 
6:55 PM
Doctor @AnandaMahto, there is a patient in need of some reshape medicine:
1
Q: Reframing magic on data.frame

XavI am currently learning to work with data.frame and quite confused on how to reorder them. At the moment, I have a data.frame that shows : column 1: a shop name column 2: a product column 3: the number of purchase for this product by this shop or visually something like this: +---+---------...

 
We need to coordinate with the coursera folks on a function naming scheme so we always know! I don't like accidentally answering homework questions
2
 
 
1 hour later…
8:17 PM
A little help with this duplicate...?
0
Q: Adding annotation (segment / arrow) in only certain facet ggplot

JdbabaI am working on a data-set with 3 species. They are apple, orange and banana. I want to annotate the facets only on the bottom panel. However, by default I am getting annotations on all the plots. I was able to get text annotation only on the desired plot. However, I am confused what I need to ...

 
 
3 hours later…
11:19 PM
@Justin Honestly, the first couple of Coursera assignments were terrible, but I haven't seen many questions on Assignment 3 (hospital and US State data), which hit the due date yesterday, so there may be a few coming who submit a couple of days late. The next one is on Balitimore homicides. That will be due this Wednesday at 8pm PST. Alll assignments can be given up to 5 days late. After using up the 5 days, they le os50% per day, so Wednesday week should be the end of all that course.
 
@sebastian-c thanks for the heads up! and yeah... they seemed like they were teaching bizarre stuff for an intro course.
 
@Justin I've been using R for a couple of years, so the programming assignments weren't too hard for me. Having said that, there was one part which I couldn't work out how to do without using either a loop or a plyr function. I caved in and used plyr which wasn't mentioned in the course.
Also a heads up, there's another course called 'Data Analysis' and that will be going on for 8 weeks starting a couple of days ago. It involves R, but isn't as R focused. I think most of the questions from it will be going to CrossValidated rather than SO, but we'll see.
 
11:55 PM
SAS documentation special for today. "Avoid placing the /* comment symbols in columns 1 and 2. In some operating environments, SAS might interpret a /* in columns 1 and 2 as a request to end the SAS program or session."
If I am reading that correctly, that means starting a line with a comment might kill your program. I'm astounded.
 

« first day (828 days earlier)      last day (2347 days later) »