Resolving dependencies... Downloading hR-0.1.1... [1 of 1] Compiling Main ( /tmp/hR-0.1.1-15961/hR-0.1.1/Setup.hs, /tmp/hR-0.1.1-15961/hR-0.1.1/dist/setup/Main.o ) Linking /tmp/hR-0.1.1-15961/hR-0.1.1/dist/setup/setup ... Configuring hR-0.1.1... checking for R... no configure: error: R is required Failed to install hR-0.1.1 cabal: Error: some packages failed to install: hR-0.1.1 failed during the configure step. The exception was: ExitFailure 1