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
plot.kitty = function () { | |
library(jpeg) | |
temp.cat = tempfile() | |
download.file("http://thecatapi.com/api/images/get?format=src&type=jpg", | |
destfile=temp.cat) | |
kitty = readJPEG(temp.cat) | |
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
# use MVB's foodweb to build a graphviz-compatible "dot" file | |
# this can then be used to generate a svg of the graph using: | |
# $ dot -Tsvg file.dot -o file.svg | |
# example usage: | |
# fw2dot("mrds","mrds.dot") | |
library(mvbutils) | |
fw2dot <- function(package.name,filename){ |
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
On April 5 2012, #0x10c-dev agreed to the following standard ABI: | |
- Registers A, B, C are clobberable across calls | |
- Registers I, J, X, Y, Z are preserved across calls | |
- Return in A | |
- J is used for base stack pointer (preserving the value of SP before allocating | |
data for locals) |