Skip to content

Instantly share code, notes, and snippets.

@helmingstay
helmingstay / RohaniLab.2023-01-09.md
Last active February 9, 2023 19:49
Rohani Lab GACRC Demo

Connecting

Set up ssh

The following instructions are for OSX/Linux terminal. On Windows, you can use putty & filezilla, or install Windows Subsystem for Linux (details here).

## In terminal on local machine:
## Edit ~/.ssh/config and add the following
Host gacrc
@helmingstay
helmingstay / Convolver.R
Last active November 29, 2016 10:35
Example of R Reference Classes + Rcpp Attributes
library(Rcpp)
sourceCpp('convolve.cpp')
Convolver <- setRefClass("Convolver",
fields = list(
data = "numeric",
answer = "numeric"
),
methods = list(
convolve = function(x) {

Keybase proof

I hereby claim:

  • I am helmingstay on github.
  • I am xian (https://keybase.io/xian) on keybase.
  • I have a public key ASD_h58QSxxsZrXj8XRCK99ex_LufjYmxiyCHWS_qAiXcQo

To claim this, I am signing this object: