Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
claytonjy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
56 ms
·
661.
▲
by
claytonjy
10y ago
This is how I tend to feel about all non-R things; I've been using R for long enough to dislike a lot about the language, but the environment and tooling is too good to give up. Letting R be the first language I've gotten pretty g
662.
▲
by
claytonjy
10y ago
One drawback worth mentioning is that while all R chunks in a notebook share the same environment, non-R chunks do not. This means that if the first e.g. python chunk creates a variable `x`, the next python chunk will not be able to use it.
663.
▲
by
claytonjy
10y ago
I don't know if this is a _general_ downside of NSE, but in the specific context of dplyr, I've found that the focus on NSE has made it a pain to do things in a standard-evaluation way, like if you're writing general function
664.
▲
by
claytonjy
10y ago
Do you use data.table syntax, or do you use dplyr with the tbl_dt class to abstract that away? I was a data.table acolyte for years, but after being forced to learn dplyr I can't imagine going back. I'm hoping if I need update-by
665.
▲
by
claytonjy
10y ago
As for not working on Windows, have you tried `plan(multisession)` instead of `plan(multicore)`? The latter will never work on Windows due to it's lack of forkability, as mentioned in this vignette. That ports thing is interesting; cou
666.
▲
by
claytonjy
11y ago
I agree that'd be cool, but _only_ in a hyper-local context like a physical library. I don't think I care about meeting the enormously distributed group of people buying similar books on Amazon.
667.
▲
by
claytonjy
11y ago
When I saw Day 1 was OpenRefine, I figured that was because they didn't want to teach this crowd programming, a perfectly fine decision. But then they go and teach them Python anyways? If you're gonna do that, why not skip OpenRef
668.
▲
by
claytonjy
11y ago
Thanks, I missed that too. Cool to see Hendricks as the example content.
669.
▲
by
claytonjy
11y ago
In an optimal sense, I agree with you, but I don't have the skill/time/desire to make a really awesome web version as you describe, and would be quite happy with one that roughly mirrors the printable version. There's al
670.
▲
by
claytonjy
11y ago
Ten might be overkill, but I really want to have an html version hosted online as well as a PDF version with the same content and LaTeX-quality typesetting (my current resume is written in LaTeX). There's some hacky tools out there for
671.
▲
by
claytonjy
11y ago
What's the current state of the "stochasticity" view presented here? I've always thought of Monte Carlo as being a convenient way to avoid expensive analytical solutions, rather than a reproduction of a stochastic realit
672.
▲
by
claytonjy
11y ago
Does this mean if I build an R-Shiny application, to be hosted on-site with Shiny Server, I can now include plotly charts without paying for an account with them?
673.
▲
by
claytonjy
11y ago
If GP comes from a more software-dev background, I can understand a general dislike for R. There's lots of things where R can't be beat right now, but for simple data analysis and visualization, there's some damn good python
674.
▲
by
claytonjy
11y ago
>What Shiny does to get around this is natively 'evaluate' the plots on the backend, creating a rasterized PNG file I don't think that's the case for D3 charts, because that would kill the interactivity that is so gre
675.
▲
by
claytonjy
11y ago
Here's a good comparison of the 4 big ones: http://forum.xda-developers.com/general/off-topic/coin-vs-pl... They mention that Coin doesn't support "Track1 data" which prevents it from working a
676.
▲
by
claytonjy
11y ago
Does anyone here have a competing "magic card", like Stratos/Plastc/Swype? I don't, but I'm curious if they all have these reader incompatibility issues or if some are engineered better than this one. Edit: add
677.
▲
by
claytonjy
12y ago
I wanted to say "but that's why they get a jury of their peers, people that know what means!" but then I remembered not only would that not happen, but even if it did, those same peers would likely have a tribe mentality and
678.
▲
by
claytonjy
12y ago
>If a lab does not have the equipment to reproduce a certain experiment, it's not the problem of the original authors. While I think that's true, a paper can potentially be much more impactful if its' results can be easi
679.
▲
by
claytonjy
12y ago
I don't know about the package system for SAS or SPSS (though I am aware that papers get published with code for said platforms), but I think the bigger barrier is availability; R is free and open.
680.
▲
by
claytonjy
12y ago
When I was getting my math degree, the department head frequently suggested we should work for the NSA for two reasons: they are the single largest employer of mathematicians, and you can't take your work home with you. I graduated bef
681.
▲
by
claytonjy
12y ago
As an every-day R user but only-occasional python user, everytime I do a python project I spend some time looking for a comparable IDE. Closest i found was Spyder, but random lock ups made it unusable. Back to terminal+ipython and sublime.
682.
▲
by
claytonjy
12y ago
I agree, and I think that's exactly why an article like this exists. The R learning curve seems to be much gentler on people without too much serious programming experience in another language. Have you looked at Julia at all? I'm
683.
▲
by
claytonjy
12y ago
Now that it's in print I suspect updates are less frequent, but until a few months ago sections were being added and rewritten pretty frequently, so it might have things now that it didn't when you looked last
684.
▲
by
claytonjy
12y ago
Agreed, this was a huge pain point for me early on; I started setting the necessary option to force stringsAsCharacters rather than specifying that arg in read.csv everytime. Edit: I had mentioned data.table as being better than dplyr for p
685.
▲
by
claytonjy
12y ago
Are you familiar with Hadley's Advanced-R book? You can buy a hardcopy, but it's free online: http://adv-r.had.co.nz There's a section on lexical scoping, and lots of other non-basic stuff that is hard to find cov
686.
▲
by
claytonjy
12y ago
Because you seem content with this path, may I ask how old you are, or at least how long you've been on this path? I'm also curious to hear examples of the 2% you mention. I'm young but I try to have this same approach of tak