Author Archives: pmean

Recommended: JupyterLab is Ready for Users

Jupyter is an integrated development environment that uses a notebook interface. It was originally developed for Python, but is now available for a variety of other languages, including my favorite, R. I attended a talk about Jupyter from one of the main developers, and after explaining what Jupyter is, he demonstrated JupyterLab. JupyterLab is a new IDE that uses the same structure and files as Jupyter. It looks to be very simple but also very powerful. Continue reading

Recommended: lavaan tutorial

I have not run too many Structural Equation Modeling (SEM), so I can’t comment too much about this resource, but anytime I see something like SEM features added to R, I have to rejoice. This page gives a nice tutorial introduction to lavaan, the R package for SEM, and the material is pitched at a level easy to follow even for people like me who have a limited appreciation for SEM terminology. Continue reading

PMean: Python, Raspberry Pi, and cluster computing

I’ve been experimenting with connecting a small number of Raspberry Pi in a cluster computer, and a good place to start is MPI (Message Passing Interface). Unfortunately, many of the books and websites that I have looked at use examples in C and FORTRAN. These are fine languages, but ones that I am unlikely to need in the future. I want to explore MPI from with a newer programming language, Python. Here are some resources I have leaned on in getting this started. Continue reading

Recommended: r2d3: R Interface to D3 Visualizations

There’s an interesting visualization system called d3, that I only became aware of a few months ago. It uses a fairly minimal system, javascript and support vector graphics, but is capable of producing tremendously rich graphics. I’ve tried, when I have a few spare moments, to learn d3. It’s not that complicated, but I am hindered by a lack of knowledge about javascript. It’s also difficult to debug a d3 program. There’s a new library in R that should make things a bit easier for someone like me. It’s called r2d3 and is being promoted with the new preview release of RStudio. Continue reading