Skip to content

Instantly share code, notes, and snippets.

Luke R. lrasmus

Block or report user

Report or block lrasmus

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@lrasmus
lrasmus / test.R
Created Oct 16, 2019
Test DT regex highlighting
View test.R
devtools::install_github('lrasmus/DT', ref="423_highlight_regex")
library(shiny)
library(devtools)
library(DT)
ui <- fluidPage(fluidRow(column(12, DT::dataTableOutput("test"))))
server <- function(input, output) {
mtcars$model = rownames(mtcars)
rownames(mtcars) = NULL
output$test <- renderDataTable({
View gc_speed_test.R
library(microbenchmark)
cat(version$major, version$minor)
createdf <- function() {
x <- runif(100000)
y <- runif(100000)
z <- runif(100000)
df <- data.frame(x = x, y = y, z = z)
@lrasmus
lrasmus / Program.cs
Created Apr 13, 2018
Test R.NET app loading xgboost
View Program.cs
using RDotNet;
namespace RDotNetTester
{
class Program
{
static void Main(string[] args)
{
REngine.SetEnvironmentVariables();
var engine = REngine.GetInstance(null, true, null);
You can’t perform that action at this time.