Some ramblings about machine learning and econometrics

Tuesday, January 10, 2012

Cloud R

I stumbled across a neat little web application today, the Cloud-R interface at the NCU epigenomics lab. It has a little window where you can type seemingly arbitrary R code and it returns an answer.

I tried this as a first test:
x<-mean(rbeta(100000000,3,6))

x

And it returned:

>

> x<-mean(rbeta(100000000,3,6)) > x

[1] 0.3333497

>



Pretty cool!


This worked as well:
x<-density(rbeta(100000,3,6), from = 0 , to =1) plot(x) I even got the image:



Finally, I tried this:

print(require(arules))
install.packages('arules', repos = 'http://cran.case.edu')
print(require(arules))

and got the first bad news results:


>
> print(require(arules))
[1] FALSE
> install.packages('arules', repos = 'http://cran.case.edu')



Oh well!

No comments:

Post a Comment