Some developments- (this should be interesting to Microsoft that is basically leading player in Enterprise Solutions in R after completely acquiring Revolution R and RStudio being headed by another Microsoft alum)
- you can install R using miniconda http://continuum.io/conda-for-R
- you can run R using Jupyter notebooks
“R Essentials” setup
The Anaconda team has created an “R Essentials” bundle with the IRKernel and over 80 of the most used R packages for data science, including
Downloading “R Essentials” requires conda. Miniconda includes conda, Python, and a few other necessary packages, while Anaconda includes all this and over 200 of the most popularPython packages for science, math, engineering, and data analysis. Users may install all of Anaconda at once, or they may install Miniconda at first and then use conda to install any other packages they need, including any of the packages in Anaconda.
Once you have conda, you may install “R Essentials” into the current environment:
or create a new environment just for “R essentials”:
Jupyter provides a great notebook interface to write your analysis and share it with your peers. Open a shell and run this command to start the Jupyter notebook interface in your browser:
Start a new R notebook:
You can immediately write and run R code in the notebook cells.
- Running R from within Python – yeah!
Step 1: install miniConda
- Get and install miniConda for Python 3 at http://conda.pydata.org/miniconda.html
- Important: install python 3
Step 2: open an OS terminal window:
conda install -c r ipython-notebook r-irkernel
Using R Within the IPython Notebok
rmagic extension, users can run R code from within the IPython Notebook. This example Notebook demonstrates this capability.
- Use docker !
Jupyter Notebook Data Science Stack
What it Gives You
- Jupyter Notebook server v4.0.x
- Conda Python 3.4.x and Python 2.7.x environments
- pandas, matplotlib, scipy, seaborn, scikit-learn, scikit-image, sympy, cython, patsy, statsmodel, cloudpickle, dill, numba, bokeh pre-installed
- Conda R v3.2.x and channel
- plyr, devtools, dplyr, ggplot2, tidyr, shiny, rmarkdown, forecast, stringr, rsqlite, reshape2, nycflights13, caret, rcurl, and randomforest pre-installed
- Julia v0.3.x with Gadfly and RDatasets pre-installed
- Unprivileged user
jovyan(uid=1000, configurable, see options) in group
users(gid=100) with ownership over
- Options for HTTPS, password auth, and passwordless
The following command starts a container with the Notebook server listening for HTTP connections on port 8888 without authentication configured.
docker run -d -p 8888:8888 jupyter/datascience-notebook
I love the sleek and simple interface at DataJoy, and it quickly enabled me to start coding on the cloud in terms of both R and Python without installing RStudio Server or Ipython Notebook Server.
Amazing stuff and just two clicks away to test it out for free.
Check it here
So I am reading on Web Apps and I am sharing what I read
from lefsetz.com/wordpress/ Narcos Lessons
It’s not something you learn in books, but an ability you’re born with, that you believe in, that you exercise. Success in life is about analysis. That’s what they teach in the elite institutions that those going to lesser colleges miss out on. Facts are irrelevant, you can look them up online. But how to put them together to create something new… That’s what the stars know, how to hold two contradictory thoughts in their brain simultaneously and then 3-D model the future. Geniuses are one step ahead and are ultimately decried and hated for it. They have insight the rest of us lack. Or as Gretzky put it, skate to where the puck is going, not where it is right now.
INFORMATION IS EVERYTHING
That’s why superstars are on the phone all day, why they cultivate relationships. Life is war and if you want to triumph you need to know where all the bodies are buried, who is relevant and who is not. Once someone focuses on personal hurts by irrelevant people you know it’s time to move on. Winners focus on the prize, and never remove their eyes. So, once again, collect information, and then synthesize it into a plan.
BEWARE OF ADVERTISING AND PR
The narcos hired a PR firm, which charged them deep five digits for a logo that accomplished little. Use your PR team to navigate media outlets, advertising firms can come up with ideas, but you’re in the driver’s seat, you have to guide them and make the final decisions.
LOYALTY IS EVERYTHING
If you’ve got no one you can count on, who’ll take a bullet for you, you’re lost. Life is a team sport, which is why loners end up on the sidelines.
SOMEONE’S GOT TO BE THE LEADER
Once you’re ceding territory to another, not wanting to be perceived as aggressive, you’re lost. Natural leaders want the power the same way LeBron wants the ball. If you’re questioning yourself, if you’re letting someone else go first, you’re doomed.
LEADERS AREN’T ALWAYS RIGHT
Gustavo gets Pablo to change course, but only after he hears Pablo out. He who speaks first often fails. Let others talk, and then gently nudge them in the direction you believe should be pursued.
THERE’S NO HONOR AMONG THIEVES
Not only in drugs, but tech and music too. Bill Gates and Steve Jobs are not lovable teddy bears. Same deal with label heads. They need to make choices to stay in power and win, choices that you might think are illegal or abhor. You can quit, but if you won’t do these same things you’re never going to win. That’s what they don’t tell you about life… School teaches you to conform but rules are for suckers. If you don’t believe everything is up for grabs, you’re a loser.
Pablo Escobar didn’t start out in drugs. Don’t be married to who you are. A musician, a coder, a… Winners are always open to opportunities. If you’re not willing to change your mind, change course, you’re not going to win.
IF IT’S TOO GOOD TO BE TRUE, IT IS
We want to believe, and therefore we give charismatic leaders the benefit of the doubt when we shouldn’t. People are mindless sheep who will do anything if given attention, especially by someone rich, powerful and famous.
FAMILY IS EVERYTHING
There’s a reason your spouse can’t be forced to testify against you in court. Choose your spouse wisely and teach your children well.
EVERYBODY LOSES IN THE END
When you hang it out that far, you’re gonna get caught. What did the DEA man say… “The bad guys need to get lucky every time. The good guys just need to get lucky once.”
If you don’t have the chutzpah to ask for the unthinkable, you’re not dreaming big enough.
MONEY TALKS AND JUST ABOUT EVERYBODY HAS A PRICE
And if they’re reluctant to conform, just threaten their family, see above.
LADIES LOVE OUTLAWS, AND MEN DO TOO
We want to believe we’ve got a way out, that’s why we lionize the renegades.
THE LITTLE PEOPLE DON’T COUNT
They’re uninformed and stupid and can be manipulated and are expendable. Don’t believe me? You keep the Fortune 500 alive, but do these corporations care about you as they pollute, overcharge and pay no taxes? The sooner you wake up and realize the game is rigged, the earlier you get on the path of success.
LOVE WILL GET YOU IN TROUBLE
Following your johnson is the best way to be blown off course. If you can’t say no to the little man, the big man may not survive.
WINNERS SLEEP WITH ONE EYE OPEN
They know someone else wants their perch.
WORK IS BORING, THE SPOILS ARE INTERESTING
Just ask a banker. If money is the byproduct you’re looking for, don’t be surprised if the work is drudgery. Which is why fat cats are always looking to invest in the entertainment business. And are always ripped off by the lifers in it. Don’t go where you don’t know. At best you have one area of expertise. Nobody knows everything and no one wins it all. Life is a game where the board is wiped clean every generation and no one has a sense of history. Do you think they’ll be talking about Pablo Escobar fifty years from now? Probably not, but we’re intrigued by those who make it from the bottom on smarts alone, who are willing to challenge institutions and take big risks, because…we usually are not.
YOU WANT TO BE IN THE ROOM
That’s where all the action takes place, where the story is hashed out. By time you read it in the newspaper it’s usually wrong. If you want to win, if you want to be a player, you’ve got to find a way to get inside the room, where decisions are made and most of what is said never seeps out of the walls. It’s all about uncovering the REAL STORY. And you can only do this by knowing the right people and being in the right place at the right time. People love to talk, they’ll tell you anything. As long as you can keep a secret…
DON’T WRITE ANYTHING INCRIMINATING DOWN
That’s the mark of an amateur. Success is all about plausible deniability.
ALERTS TO THREATS IN 2015 EUROPE
From JOHN CLEESE
The English are feeling the pinch in relation to recent events in Syria and have therefore raised their security level from “Miffed” to “Peeved.” Soon, though, security levels may be raised yet again to “Irritated” or even “A Bit Cross.” The English have not been “A Bit Cross” since the blitz in 1940 when tea supplies nearly ran out. Terrorists have been re-categorised from “Tiresome” to “A Bloody Nuisance.” The last time the British issued a “Bloody Nuisance” warning level was in 1588, when threatened by the Spanish Armada.
The Scots have raised their threat level from “Pissed Off” to “Let’s get the Bastards.” They don’t have any other levels. This is the reason they have been used on the front line of the British army for the last 300 years.
The French government announced yesterday that it has raised its terror alert level from “Run” to “Hide.” The only two higher levels in France are “Collaborate” and “Surrender.” The rise was precipitated by a recent fire that destroyed France ‘s white flag factory, effectively paralysing the country’s military capability.
Italy has increased the alert level from “Shout Loudly and Excitedly” to “Elaborate Military Posturing.” Two more levels remain: “Ineffective Combat Operations” and “Change Sides.”
The Germans have increased their alert state from “Disdainful Arrogance” to “Dress in Uniform and Sing Marching Songs.” They also have two higher levels: “Invade a Neighbour” and “Lose.”
Belgians, on the other hand, are all on holiday as usual; the only threat they are worried about is NATO pulling out of Brussels ..
The Spanish are all excited to see their new submarines ready to deploy. These beautifully designed subs have glass bottoms so the new Spanish navy can get a really good look at the old Spanish navy.
Australia, meanwhile, has raised its security level from “No worries” to “She’ll be right, Mate.” Two more escalation levels remain: “Crikey! I think we’ll need to cancel the barbie this weekend!” and “The barbie is cancelled.” So far no situation has ever warranted use of the last final escalation level.
John Cleese ,
British writer, actor and tall person
And as a final thought – Greece is collapsing, the Iranians are getting aggressive, and Rome is in disarray. Welcome back to 430 BC.
Do you need to be good in English to learn coding in R or Python?
How young can we train people in coding-
something we worked on for six months but now we are giving up due to lack of funds is this idea.
Feel free to use it, it is licensed cc-by-sa