A new version of Solaris VM for R is available from https://github.com/jeroenooms/solarisvm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
#split vcf files | |
import re | |
working_dir = '/home/umair/Documents/Contacts/' | |
input_file = 'contacts starred 26-06-2014.vcf' | |
output_seed = 'contacts-part-' | |
vcards_per_file = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(shiny) | |
columnFilterUI <- function(id) { | |
ns <- NS(id) | |
uiOutput(ns("filter_container")) | |
} | |
columnFilter <- function(input, output, session, df, col_num, choice_filter) { | |
# This renders a selectInput and only re-renders when the selected data | |
# frame changes. (i.e. it doesn't re-render when filters change state.) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Returns a reactive that debounces the given expression by the given time in | |
# milliseconds. | |
# | |
# This is not a true debounce in that it will not prevent \code{expr} from being | |
# called many times (in fact it may be called more times than usual), but | |
# rather, the reactive invalidation signal that is produced by expr is debounced | |
# instead. This means that this function should be used when \code{expr} is | |
# cheap but the things it will trigger (outputs and reactives that use | |
# \code{expr}) are expensive. | |
debounce <- function(expr, millis, env = parent.frame(), quoted = FALSE, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Installs the latest RStudio daily desktop build for OSX/macOS and Ubuntu(amd64) | |
# | |
# https://support.rstudio.com/hc/en-us/articles/203842428-Getting-the-newest-RStudio-builds | |
set -e | |
install_macos_daily() { | |
REDIRECT_URL="https://www.rstudio.org/download/latest/daily/desktop/mac/RStudio-latest.dmg" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Hello, and welcome to makefile basics. | |
# | |
# You will learn why `make` is so great, and why, despite its "weird" syntax, | |
# it is actually a highly expressive, efficient, and powerful way to build | |
# programs. | |
# | |
# Once you're done here, go to | |
# http://www.gnu.org/software/make/manual/make.html | |
# to learn SOOOO much more. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For R | |
export PATH="/usr/local/bin:/usr/ccs/bin:/usr/sfw/bin:$PATH" | |
export CC="cc -xc99" | |
export CFLAGS="-O -xlibmieee" | |
export CPPFLAGS="-I/opt/csw/include" | |
export LDFLAGS="-L/opt/csw/lib -R/opt/csw/lib" | |
export PKG_CONFIG_PATH="/opt/csw/lib/pkgconfig" | |
export F77=f95 | |
export FFLAGS=-O |