Skip to content

Install of Rscript on new benchmarking machines #821

Closed
@gareth-ellis

Description

@gareth-ellis

Hello,

Now that two machines have been donated for benchmarking, I've merged a script that was written a while ago for evaluating the impact of a PR on a subset of benchmarks. I've started putting something together in jenkins, however the script makes use of Rscript which will need installing on the two new servers.

The build issue for the machine was #791 and the task in benchmarking was nodejs/benchmarking#58

There's instructions in the benchmarking guide here: https://github.com/nodejs/node/blob/master/doc/guides/writing-and-running-benchmarks.md

It seems the new machines run ubuntu, so I think this should work:

Add "deb https://cran.us.r-project.org/bin/linux/ubuntu xenial/" to /etc/apt/sources.list

sudo apt-get update
sudo apt-get install r-base r-base-dev

Then install two required packages through the R repl

R
install.packages("ggplot2", repo="http://cran.us.r-project.org")
install.packages("plyr", repo="http://cran.us.r-project.org")

Thanks!

@mhdawson fyi

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions