Home » Posts tagged 'linux'
Tag Archives: linux
Using a Linux only package in Windows #rstats
Here is some R code for using a R package that has only a tar.gz file available (used to load R packages in Linux) and no Zip file available (used to load R packages in Windows).
Step 1- Download the tar.gz file.
Step 2 Unzip it (twice) using 7zip
Step 3 Change the path variable below to your unzipped, downloaded location for the R sub folder within the package folder .
Step 4 Copy and Paste this in R
Step 5 Start using the R package in Windows (where 75% of the money and clients and businesses still are)
Caveat Emptor- No X Dependencies (ok!)
- WE DO NOT BREAK USERSPACE!
-
- Torvalds, Linus (2012-12-23). Linus Torvalds - LKML
RGoogleAnalytics Package Updated! Works for OAuth 2.0 #rstats
Only the Linux version of the updated package is here , but for Windows users (like say 80% of the USERs) you can just source the 2 R files within the package sub structure after unzipping the downloaded tar.z file TWICE. The package takes care of taking you to the correct link for authentication after the line access_token <- query$authorize(), you need to
1) sign in to your Google account
2) click grant access (blue button)
3) click exchange tokens (blue button)
4) paste the access token at the prompt specified within the R console
access tokens stay active for 3600 seconds !
library(rjson) library(RCurl) source('C:\\Users\\KUs\\Desktop\\RGoogleAnalytics_1.2.tar\\RGoogleAnalytics\\R\\QueryBuilder.R') source('C:\\Users\\KUs\\Desktop\\RGoogleAnalytics_1.2.tar\\RGoogleAnalytics\\R\\RGoogleAnalytics.R') query <- QueryBuilder() access_token <- query$authorize()
ga <- RGoogleAnalytics() ga.profiles <- ga$GetProfileData(access_token) ga.profiles query$Init(start.date = "2012-06-18", end.date = "2012-12-18", dimensions = "ga:date,ga:pagePath", metrics = "ga:visits,ga:pageviews,ga:timeOnPage", sort = "ga:visits", #filters="", #segment="", max.results = 99, table.id = paste("ga:",ga.profiles$id[3],sep="",collapse=","), access_token=access_token) # 4. Make a request to get the data from the API ga.data <- ga$GetReportData(query)# 5. Look at the returned data head(ga.data)
Created by Pretty R at inside-R.org
Interested in using R for Web Analytics? Use it from here http://code.google.com/p/r-google-analytics/
Great work by the Google team (Michael Pearmain et al) and Tatvic team working together!
Modifying Sources File in Linux for Monet DB Installation
If you like me are a Linux newbie, the following helps in modifying the source file . i.e for adding in sources for Monet DB installation
sudo sh -c ‘echo “deb http://dev.monetdb.org/downloads/deb/ precise monetdb” > /etc/apt/sources.list.d/monetdb.list’
sudo sh -c ‘echo “deb-src http://dev.monetdb.org/downloads/deb/ precise monetdb” > /etc/apt/sources.list.d/monetdb.list’
ps- I was on Google compute/ Linux
Amazon drops prices of Linux AMIs by ~20%
Amazon cloud gets more exciting. We are still waiting for the Oracle and Google public clouds (compute) to open up out of beta! See their (rather cluttered) blog
–
Today, we are excited to announce a new generation of the original Amazon EC2 instance family. Second generation Standard instances (M3 instances) provide customers with the same balanced set of CPU and memory resources as first generation Standard instances (M1 instances) while providing customers with 50% more computational capability/core.
M3 instances are currently available in two instance types; extra-large (m3.xlarge) and double extra-large (m3.2xlarge). Examples of applications that can benefit from the additional CPU horsepower of these new instances include media encoding, batch processing, web servers, caching fleets, and many others. Currently, M3 instances are available in the US East (N. Virginia) Region starting at a Linux On-Demand price of $0.58/hr for extra-large instances. Customers can also purchase M3 instances as Reserved Instances or as Spot instances. We will introduce M3 instances in additional regions in the coming months.
To learn more about Amazon EC2 instance types and to find out which instance type might be useful for you, please visit the Amazon EC2 Instance type page.
Pricing Change for M1 Standard Instances
Along with the introduction of the M3 Standard instance family, we are announcing a reduction in Linux On-Demand pricing for M1 Standard instances in the US East (N. Virginia) and US West (Oregon) Regions by almost 19%. The new pricing is effective from November 1 and is described in the following table
|
You can find out more about pricing for all Amazon EC2 instances by visiting the Amazon EC2 pricing page.
Revolution Analytics and Pricing Analytics
Cost of 1 day of Revolution Analytics Training at http://www.revolutionanalytics.com/services/training/
1. Intro to R
| Price: | Commercial: SGD$500.00 Academic:SGD$350.00 1 Singapore dollar = 0.8197 US dollars10% Early Bird Discount Deadline: November 13, 2012 @ 12:00PM Pacific Time |
2. (aptly titled Minimalistic Sufficient R…you think the ricing would be minimalistic.. but)
http://www.revolutionanalytics.com/services/training/public/minimalist-sufficient-r.php
Price:
$750
$100 Early Bird Discount Deadline: November 16, 2012 @ 12:00PM Pacific Time
Discount code: earlybird
3.
Advanced R (Italian)
| Price: | Commercial: €680.00 Academic: €480.00 1 euro = 1.2975 US dollars |
4.
Big Data AnalyticS with RevoScaleR
| Price: | $500 with 2 month Revolution R Enterprise workstation evaluation.
$700 with 1 year subscription of Revolution R enterprise workstation ($1500 value) 10% Early Bird Discount Deadline: October 30, 2012 @ 12:00PM Pacific Time |
5.
Revolution R Time Series Training
| Price: | Commercial: S$1,200.00 Academic:S$750.00 10% Early Bird Discount Deadline: October 30, 2012 @ 12:00PM Pacific Time |
so training costs differently different strokes for different folks I guess,
BUT me hearties.
Cost of 1 year of Revolution Enterprise= $1000
Thats a flat rate, so the Linux and Windows costs the same and so does the 32-bit and 64-bit
(see http://buy.revolutionanalytics.com/ )
( My comment- either Revo should give away the license for free to enterprises, rationalize training costs, seriously how can 2 days of training cost like a 1 year of license and the software is definitely quite good., or create a paid Amazon Ec 2 AMI for enterprises to rent the Revolution Analytics software (like SAP Hana ), or even on Windows Azure if they insist on hugging Microsoft, though I am clearly seeing various flavors of Linux beating Windows Server to a pulp in the Big Data market, though I am probably more optimistic on the Windows 8 on Surface but because of hardware not software/ Azure alternative to Amazon given Google’s delayed offering- I dont even know many many instance of Windows related HPC or HPA, (/end_of_rant)
| Annual Subscription Includes software license and technical support |
Price | Quantity | Total |
|---|---|---|---|
| Revolution R Enterprise Single-User Workstation (64-bit Windows) | $1,000.00 | $0.00 | |
| Revolution R Enterprise Single-User Workstation (32-bit Windows) | $1,000.00 | $0.00 | |
| Revolution R Enterprise Single-User Workstation (64-bit Red Hat 6 Enterprise Linux) | $1,000.00 | $0.00 | |
| Revolution R Enterprise Single-User Workstation (64-bit Red Hat 5 Enterprise Linux) | $1,000.00 | $0.00
|


