Quantcast
Channel: Noodling in the data stream
Browsing index pages (48 articles)

More about FreeNAS jails

My first attempt to upload a large tarball to Glacier was a success, as described here, but subsequent ones failed. The reason, I suspect, is that the FreeNAS server is headless. I get shell access to...

View Article


Backing up FreeNAS to AWS Glacier

On my FreeNAS home server I added a new jail, called it awsboss. I also added a new ZFS dataset, called it storage. I added this data set to awsboss as /mnt/storage and I also made it into an AFP share...

View Article


R version of tsfill and xfill combined

Suppose you have an unbalanced panel with daily data observed at the zip code level, with some zip codes (labeled zip.cd) not having any records on some days (labeled cal.dt). Suppose also that these...

View Article

Getting started with the NooElec NESDR Nano on OS X Yosemite

This is how I did it. Your mileage may vary. Prerequisites: - XCode with command line tools - MacPorts - cmake, autoconf, automake, libtool, libusb*, rtl-sdr All programs listed on the last item above...

View Article

Regularization and the Bible

There are two kinds of regression regularization: ridge, or L2, and Lasso, or L1. They both let you get rid of some variance (less is good) in return for picking up some bias (of which also less is...

View Article


I wrote an R data frame to a Teradata table on a Mac

Here's how I did it: On a new Mac running Mavericks and R 3.1.2 with devtools, I installed Java for Mac. I installed the RJDBC package from CRAN (which depends on the DBI package also from CRAN) and...

View Article

Amending a hasty commit

On my current project I occasionally have to report anomalies in input data to people upstream, who can look into them. I do this with html files which I knit from R Markdown. They have to include...

View Article

Recipe for pairing up RStudio with GitHub

On both Windows and Mac I have been happy to use RStudio for R development and the GitHub app for handling version control. The app seems to be GitHub's own preferred interface, and if you use it you...

View Article


Here’s to MOOC’s. They’re better than textbooks

The job of textbooks is to separate brilliance, which has zero marginal cost, from individual attention, which is labor-intensive. Everybody is better off when the few brilliant teachers write books...

View Article


Introducing syncR

A new and improved version of the syncPacks() function is now part of a GitHub package, which you can install through devtools::install_github('ghuiber/syncR'). If you're into that, you can help...

View Article

Some unresolved hiccups with R 3.1.0 on Mavericks, and a workaround

If you're going to download the Mac binaries for the latest R, you will see that they come in "Snow Leopard and higher" and "Mavericks and higher" flavors. If you run Mavericks, the latter is a natural...

View Article

Macbook Pro running hot, draining battery after upgrading to SSD?

Mine did. That was an unpleasant surprise. Googling for a solution brought up untold amounts of speculation and wasted time. What ended up working for me was resetting the System Management Controller...

View Article

FreeNAS works as advertised

I decided to replace the HDD with a SSD in my Mac for Christmas, but I only got as far as buying the thing and backing up the computer using Time Machine as explained here to a poor man's FreeNAS...

View Article


Invisible methods

R objects come with various methods that make them useful. I tend to stumble over these by googling something I want to do, and finding some code example on StackOverflow. But today I learned (from...

View Article

How I backed up a bunch of old pictures to Amazon Glacier

This is from a home server that runs Fedora 14, to which I have ssh access from my MacBook Pro. 1. I git clone'd this. 2. Then, as super-user, I called wget...

View Article


I put up my first post on RPubs

Sure, it may be the 4chan of data analysis, but it's so nice to be able to do R Markdown right there in RStudio and just hit the Publish button. Of course, this convenience has downsides. I know it's...

View Article

Stata 13 is coming on June 24

Yellow color scheme is out, sky-blue is in, plus expanded capabilities, as one might expect. Notable among them, xtologit, xtoprobit and long strings -- 2 billion character long, that is. One of these...

View Article


Keeping knitr happy after upgrading to R 3.0.0

As noted here, after upgrading to R 3.0.0 you must run update.packages(checkBuilt=TRUE) This is because a bunch of packages have to be to rebuilt under R 3.0.0 in order to keep working. So I did, but...

View Article

A quick note on rJava

I recently had to set up a PC with similar kit as I have on my Mac. On this PC the OS is Windows 7 64-bit but the browser is IE8 32-bit. This causes jucheck.exe to install (and occasionally update)...

View Article

Image may be NSFW.
Clik here to view.

An R-squared for logistic regression, packaged

This morning I checked Paul Allison's Statistical Horizons blog and found a post on measures for logistic regression. It introduced me to Tjur's by way of an example, which I repackaged below: //...

View Article
Browsing index pages (48 articles)


Latest Images