Home » Posts tagged 'rstats' (Page 2)

Tag Archives: rstats

Running R and RStudio Server on Red Hat Linux RHEL #rstats

Installing R

(OR sudo rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm )

THEN

  • sudo yum install R

THEN

  • sudo R

(and to paste in Linux Window- just use Shift + Insert)

To Install RStudio (from http://www.rstudio.com/ide/download/server)

32-bit

  •  sudo yum install --nogpgcheck rstudio-server-0.97.320-i686.rpm

OR 64-bit

  •  sudo yum install --nogpgcheck rstudio-server-0.97.320-x86_64.rpm

Then

  • sudo rstudio-server verify-installation

Changing Firewalls in your RHEL

-Change to Root

  • sudo bash 

-Change directory

  • cd etc/sysconfig

-Read Iptables ( or firewalls file)

  • vi iptables

( to quite vi , press escape, then colon :  then q )

-Change Iptables to open port 8787

  •  /sbin/iptables -A INPUT -p tcp –dport 8787 -j ACCEPT

Add new user name (here newuser1)

  • sudo useradd newuser1

Change password in new user name

  • sudo passwd newuser1

Now just login to IPADDRESS:8787 with user name and password above

(credit- IBM SmartCloud Support ,http://www.youtube.com/watch?v=woVjq83gJkg&feature=player_embedded, Rstudio help, David Walker http://datamgmt.com/installing-r-and-rstudio-on-redhat-or-centos-linux/, www.google.com )
 

 

Springer Book on Seamless R and C++ Integration with Rcpp and Workshop on Rcpp #rstats

The talented Dirk Eddelbuettel has just announced that his new book is coming out this year. I would recommend this book for anyone trying to use R for analytics, Big Data or customized use cases especially if they have a need to speed up the computation times. Rcpp can speed up R by a huge magnitude, and thats because C++ comes closer to the metal.

If you are a business analyst who knows a bit of R, but always were intimidated by C++ programming, well this is the right how to do book for you.

(more…)

R in Oracle Java Cloud and Existing R – Java Integration #rstats

So I finally got my test plan accepted for a 1 month trial to the Oracle Public Cloud at https://cloud.oracle.com/ .

oc1 I am testing this for my next book R for Cloud Computing ( I have already covered Windows Azure, Amazon AWS, and in the middle of testing Google Compute).

Some initial thoughts- this Java cloud seemed more suitable for web apps, than for data science ( but I have to spend much more time on this).

I really liked the help and documentation and tutorials, Oracle has invested a lot in it to make it friendly to enterprise users.

Hopefully the Oracle R Enterprise  ORE guys can talk to the Oracle Cloud department and get some common use case projects going.

oc3.7

In the meantime, I did a roundup on all R -Java projects.

They include- (more…)

Interview Jeff Allen Trestle Technology #rstats #rshiny

Here is an interview with Jeff Allen who works with R and the new package Shiny in his technology startup. We featured his RGL Demo in our list of Shiny Demos- here

30cfc91

Ajay- Describe how you started using R. What are some of the benefits you noticed on moving to R?

Jeff- I began using R in an internship while working on my undergraduate degree. I was provided with some unformatted R code and asked to modularize the code then wrap it up into an R package for distribution alongside a publication.

To be honest, as a Computer Science student with training more heavily emphasizing the big high-level languages, R took some getting used to for me. It wasn’t until after I concluded that initial project and began using R to do my own data analysis that I began to realize its potential and value. It was the first scripting language which really made interactive use appealing to me — the experience of exploring a dataset in R was unlike anything (more…)

3rd Meeting for New Delhi R users group #rstats

We continued the 3 rd month without a sponsor for the R User Meetup group. I wish analytics companies in Gurgaon and Mumbai or even Hyderabad can help sponsor R users meetups, as we need to have more knowledge sharing culture here.

I am a bit disappointed by people who RSVP yes, but cancel out without letting us know.

Some additional insights-

1) Never hold meetup on cricket match day

2) location should be very close to Metro Station.

3) Saturdays will be the only meetup day for future. If I am unavailable, Dr Amir will be leading the Meetup.

Some more action points-

1) Ajay and Dr Amir to work together on a blog / site called R for Medical Researchers focused on Indian issues.

2) For Web Application developers, please see shiny package. I have written on the latest version of Shiny- but I would also like you to click on each of the 18 links I have written in this article. Shiny is great for statistically enabling web apps.

http://decisionstats.com/2013/01/26/shiny-0-3-released-new-era-for-rstats/

3) We will be uploading files and creating a slideshare for Delhi R Users. This will be our  digital archive.

4) To start using R immediately use Rattle ( http://rattle.togaware.com/) especially if you build models or need to use data mining

5) To start using R for GIS and Spatial use Deducer with Spatial Plot Builder Plugin
http://www.deducer.org/pmwiki/index.php?n=Main.SpatialPlotBuilder

6) To integrate R with C++ see the RCPP gallery with almost 100 plus packages dependent on it. This will be needed with Developers who are trying to use a faster version of R by using C++ . http://gallery.rcpp.org/

7) Web Analytics using R- is now updated for changes in Google APIs. http://decisionstats.com/2013/01/28/google-analytics-using-rstats-updated/

8) If you are new to programming or Ruby or Python  please go to http://codeacdemy.com .

9) For a beginner in R use http://tryr.codeschool.com

Minutes of Meeting -courtesy Dr Amir

four people (Ajay, myself, Ashish and Nagesh) joined for the 3rd meetup today at around 4 pm at hauz khas village. Ashish and Nagesh are two new members who attended the meetup for the first time. Ashish is in web development with knowledge of python and perl. today he introduced the group about data scraping from web using Perl. Nagesh has a background in management and currently working with insurance company. he is planning to switch to R as it is free. he currently uses SAS. Ajay introduced GUIs like Rattle, Deducer; books (R for business analytics which he himself has authored and others like R for spss and sas users, data mining with r, rattle) and GADM for mapping. I introduced Coursera courses which is currently ongoing and which uses R and also the basics of R like packages, functions and strengths of R.
Ashish has volunteered to find a place for meetup in Green Park near the metro station as we are still struggling to get a decent place for our meetups.
important links:
https://www.coursera.org/course/dataanalysis (coursera course which uses R)
http://www.statmethods.net/index.html  (Quick R site for help)

Also – here is the meetup group for New Delhi R Users

http://www.meetup.com/New-Delhi-R-UseR-Group/

Google Analytics using #Rstats – Updated

Due to changes in Google APIs my earlier post on using Google Analytics in R is deprecated.  Unfortunately it is still on top 10 results for Google results for Using Google Analytics with R.

That post is here http://decisionstats.com/2012/03/20/using-google-analytics-with-r/

A more updated R package on Google Analytics and R is here . https://github.com/skardhamar/rga

A better updated post on an easy to use tutorial on using Google Analytics with R using OAuth 2 playground is here.

http://www.tatvic.com/blog/ga-data-extraction-in-r/

  1. Set the Google analytics query parameters for preparing the request URI
  2. Get the access token from Oauth 2.0 Playground
  3. Retrieve and select the Profile
  4. Retrieving GA data

Note it is excellent for learning to use RJSON method as well. You can see the details on the Tatvic blog above.

Hat tip- Vignesh Prajapati

 

 

Shiny 0.3 released . New era for #rstats

Message from Winston Cheng of R Studio.

—-

We’ve released Shiny 0.3.0, and it’s available on CRAN now. Glimmer will be updated with the latest version of Shiny some time later today.
To update your installation of Shiny, run:
  install.packages(‘shiny’)
Highlights of the new version include:
* Some bugs were fixed in `reactivePrint()` and `reactiveText()`, so that they have slightly different rules for collecting the output. Please be aware that some changes to your apps’ text output is possible. The help pages for these functions explain the behavior.
* New `runGitHub()` function, which can run apps directly from a repository on GitHub
* New `runUrl()` function, which can run apps stored as zip or tar files on a remote web server.
* New `isolate()` function, which allows you to access reactive values (from input) without making the function dependent on them.
* Improved scheduling of evaluation of reactive functions, which should reduce the number of “extra” times a reactive function is called.
Follow

Get every new post delivered to your Inbox.

Join 1,090 other followers

%d bloggers like this: