Vik's Blog
  • Home
  • About Me
Sign in Subscribe

windows

A collection of 4 posts
windows

Using LaTeX, R, and Sweave to Create Reports in Windows

LaTeX [http://www.latex-project.org/] is a typesetting system that can easily be used to create reports and scientific articles, and has excellent formatting options for displaying code and mathematical formulas. Sweave [http://www.statistik.lmu.de/%7Eleisch/Sweave/] is a package in base R that can execute R code
Jan 31, 2012 3 min read
linux

Parallel R Loops in Windows and Linux

Parallel computation may seem difficult to implement and a pain to use, but it is actually quite simple to use. The foreach package provides the basic loop structure, which can utilize various parallel backends to execute the loop in parallel. First, let’s go over the basic structure of a
Jan 17, 2012 2 min read
ruby

Playing Mp3s In Ruby On Windows

I recently needed to play music in Ruby in order to create an alarm clock of sorts. The code to do this was (surprise surprise) fairly simple, but I want to post it for posterity. require 'win32ole' player = WIN32OLE.new('WMPlayer.OCX') player.OpenPlayer('C:\alarm.mp3') This will open
Jan 11, 2012
ruby

Create a new ruby process in Windows

I recently had a problem whereby I needed one Ruby program to spawn another Ruby program, but I did not need or want the two programs to interact after the second program was instantiated. I solved this issue by using the system function in Ruby and the Windows start command.
Jan 11, 2012
Page 1 of 1
Vik's Blog © 2023
Powered by Ghost