Then I wanted 64-bit R, and it turned out that by far the easiest thing was to launch a Windows instance on Amazon EC2. I googled for an explanation, but it doesn't really need one. You launch a Windows instance, make sure the security group allows RDP, and connect with Remote Desktop. Works very smoothly. I could even connect with my phone.
But now I wanted to run R on a virtual machine which I could (for free) leave running all the time. For this I needed to run Amazon Linux on a "micro" instance, which ruled out both of the above. I launched a micro instance running Amazon Linux, and ssh'd into it.
Okay, now how do I install R?
I'll outline the process I went through. But I also went through a lot more confusion/frustration than I'll describe!
- Can I use an automatic installer? Apt-get and yum seem to work for various people on the internet. But not for me! Oh well.
- How do I install R? Where are the files I need to download to install R?
- Googled, found installation instructions and a file.
- How do I get a file? Googled, found wget.
wget http://cran.at.r-project.org/src/base/R-2/R-2.12.1.tar.gz
- How do I unzip this? Googled, found:
tar xf R-2.12.1.tar.gz
cd R-2.12.1
./configure
- There's an error message! Google the error message to learn I need a C compiler. I had learned earlier that yum is for installing things, and googling reveals that gcc is a C compiler:
sudo yum install gcc
./configure
- Another error message! Google the message to find that I need a C++ compiler. Maybe something like gcc will help...
yum search gcc
- Yep! I now see gcc-c++, so I'll install that:
sudo yum install gcc-c++
./configure
- Another error message! I need a fortran compiler. In the search above, I saw gcc-gfortran, so:
sudo yum install gcc-gfortran
./configure
- Another error message! Google the message, revealing that I need readline-devel. I still don't know what that is, but this works:
sudo yum install readline-devel
./configure
- Another error message! Google shows me a post from someone who seems a bit confused, but less confused than I am. Following the advice in that post (which seems like it will get me an incomplete R build, maybe with something related to windowing missing--but I won't be using windows anyway):
./configure --with-x=no
- It works!
make
PATH=$PATH:~/R-2.12.1/bin/
R
- Yippeee! I have R now. You can follow these steps, or I think you can use the public AMI I've created, AmazonLinuxWithR_c.
You don't say which Linux you are using. I've been playing on EC2 for the last few weeks and was able to install R very easily on a Ubuntu 10.10 64 bit machine.
ReplyDelete"Amazon Linux" seems to be their own special flavor.
ReplyDeleteI don't think I was able to run Ubuntu on a micro instance. (I want to leave it running all the time, so this was my goal.)
Thanks for posting this -- it was a lifesaver. I think I solved the X11 library problem -- (perhaps by installing more than I needed, but nevertheless):
ReplyDeletesudo yum install libX11-devel.*
sudo yum install libICE-devel.*
sudo yum install libSM-devel.*
sudo yum install libdmx-devel.*
sudo yum install libx*
sudo yum install xorg-x11*
sudo yum install libFS*
sudo yum install libX*
Please consider www.elasticr.net. It's awesome.
ReplyDeleteIt's also worth noting that you should add
ReplyDeletesudo yum install make
The Amazon Linux doesn't seem to include this either.
Thanks madcoverboy! I could swear that 'make' was already there the first time I tried this, but probably I'm wrong--just launched a new server, and it's not.
ReplyDeleteThanks Ed! After that, are you able to run R with windowing?
Very good points you wrote here..Great stuff...I think you've made some truly interesting points.Keep up the good work.
ReplyDeleteAmazon
At the point when the thing sells, you at that point need to deal with bundling and transporting the thing to the purchaser, after which you will affirm by means of Amazon that the thing has been dispatched so the purchaser can be informed.Ecom Income Blueprint
ReplyDeleteAmazon.com is America's biggest and best online retailer. Amazon completes three fold the amount of business as their nearest rival as far as online retail business, Staples.אינדקס אתרים
ReplyDeleteThe blog is so charming. You can't avoid it.
ReplyDeleteconsigli prezzo
You put a couple of connections to formula books on your site. A peruser at your site taps on one of those connections and they get taken to Amazon through your exceptional connection. air conditioners review
ReplyDeleteonline stumbled upon online casino advertising, all kinds of slot machines And I was glad to click on the link to see such a cool design and everything is clear where and how to play and what to press merely online casino now this is my favorite site
ReplyDeleteThank you for the informative post about Security challenges in AWS , Found it useful . cloud migration services have now become secured and with no-risk
ReplyDeleteVmware Cloud Migration services
Database Migration services
While model advancement is viewed as the center action in the entire procedure, perception and correspondence are essential to cause the client to comprehend the displayed information.ExcelR Data Science Courses
ReplyDeleteI have read your article, it is very informative and helpful for me.I admire the valuable information you offer in your articles. Thanks for posting it..
ReplyDeletealuminum fence nashville tn
I think this is one of the most significant information for me. And i’m glad reading your article. But should remark on some general things, The web site style is perfect, the articles is really great : D. Good job, cheers.
ReplyDeleteconstruction demolition san diego
I think this is one of the most significant information for me. And i’m glad reading your article. But should remark on some general things, The web site style is perfect, the articles is really great : D. Good job, cheers.
ReplyDeleteremodeling contractors houston tx
Great article and a nice way to promote online. I’m satisfied with the information that you provided
ReplyDeletepalm tree trimming palm beach gardens
Great article and a nice way to promote online. I’m satisfied with the information that you provided
ReplyDeletebathtub reglazing san diego
Great article and a nice way to promote online. I’m satisfied with the information that you provided
ReplyDeletekitchen & bath las vegas nv
Hi, This is nice article you shared great information i have read it thanks for giving such a wonderful Blog for reader.
ReplyDeletedecorative concrete port st lucie
I have read your article, it is very informative and helpful for me.I admire the valuable information you offer in your articles. Thanks for posting it..
ReplyDeletepool screen enclosures collier county
Thanks for a wonderful share. Your article has proved your hard work and experience you have got in this field. Brilliant .i love it reading.
ReplyDeletetree removal tampa
I have read your article, it is very informative and helpful for me.I admire the valuable information you offer in your articles. Thanks for posting it.. Escort service new york
ReplyDeleteYeah, running application in the cloud could be tricky, thanks for a guide!
ReplyDeleteI am really happy with your blog because your article is very unique and powerful for new reader.
ReplyDeleteaws Training in Bangalore
python Training in Bangalore
hadoop Training in Bangalore
angular js Training in Bangalore
bigdata analytics Training in Bangalore
python Training in Bangalore
aws Training in Bangalore
Thanks for sharing your innovative ideas to our vision. Your Blog writing Skill is simply awesome with useful information, excellent work! I will get back here.
ReplyDeleteMachine Learning Training In Hyderabad
Hi, Thanks for sharing wonderful content...
ReplyDeleteFor More:
AI Training In Hyderabad
ReplyDeleteNice Article.very impressed for this informative
best digital marketing course
Thank you for sharing such a wonderful articles. Keep sharing
ReplyDeleteAWS Training In Hyderabad
Hi, Thanks for sharing nice articles...
ReplyDeleteData Science Training In Hyderabad
thanks for sharing nice information....
ReplyDeletemore : https://www.kellytechno.com/Hyderabad/Course/Machine-Learning-Training-In-Hyderabad
Hey, i liked reading your article. You may go through few of my creative works here
ReplyDeleteMarhabapilates
Poppriceguide
One of the best blogs that i have read still now. Thanks for your contribution in sharing such a useful information. Waiting for your further updates.
ReplyDeleteWeb Designing Training Course in Chennai | Certification | Online Training Course | Web Designing Training Course in Bangalore | Certification | Online Training Course | Web Designing Training Course in Hyderabad | Certification | Online Training Course | Web Designing Training Course in Coimbatore | Certification | Online Training Course | Web Designing Training Course in Online | Certification | Online Training Course
Thanks for sharing the information. It is very useful for my future. keep sharing.
ReplyDeleteWeb Designing Training Course in Chennai | Certification | Online Training Course | Web Designing Training Course in Bangalore | Certification | Online Training Course | Web Designing Training Course in Hyderabad | Certification | Online Training Course | Web Designing Training Course in Coimbatore | Certification | Online Training Course | Web Designing Training Course in Online | Certification | Online Training Course
[no anchor text]
ReplyDeletehttp://scottish Government Topics
http://digitalweekday.com/
http://digitalweekday.com/
http://digitalweekday.com/
http://digitalweekday.com/
http://yaando.com/
[no anchor text]
I was astounded after reading your post. I realize you 're really good at describing it. And I hope that after reading your post, other readers can know how I feel too.data science course
ReplyDeleteI like this post,And I figure that they making some incredible memories to scrutinize this post,they may take a good site to make an information,thanks for sharing it to me
ReplyDeleteartificial intelligence course in noida
Every person, from a child to an 80-year-old man, use the facilities the technology has provided us. Along with this, the increase in population has also played a big role in the tremendous growth of information technology. data science course in hyderabad
ReplyDeleteIt is good that you always notice the positive image of these types of topics but on the other hand if you need related assistance. I really love this post and hope to see such informative news furthermore. Keep it up. Guest Post
ReplyDeleteI was just browsing through the internet looking for some information and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject. Bookmarked this page, will come back for more. watch series
ReplyDeleteIt doesn't make sense to spend that much pennies on using that when you can just have it also. I couldn't refer this a 'Leptitox killer'. You might have to be aware of all the fulfilling stuff you can do with this. best gaming
ReplyDeletewow, great, I was wondering how to cure acne naturally. and found your site by google, learned a lot, now i’m a bit clear. I’ve bookmark your site and also add rss. keep us updated. real estate closing gifts
ReplyDeleteOur academic pursuits, along with a range of extracurricular activities, help in honing a child's skills and ensuring that he/she grows to be a mature and responsible citizen. watch series
ReplyDeleteThat is extremely useful for expanding my insight in this field. christmas
ReplyDeleteThe miracle thoughts are acceptable to look from the correct assistance line. I permit the harmony end to give the correct source on this perfect substance. A debt of gratitude is in order for this pleasant chance digital marketing company hongkong
ReplyDeleteI truly value the sort of points you post here. Much obliged for sharing us an incredible data that is really useful. Great day! digital marketing company hongkong
ReplyDeleteI am another client of this site so here I saw different articles and posts posted by this site,I inquisitive more enthusiasm for some of them trust you will give more data on this subjects in your next articles. online retailer
ReplyDeleteI was simply perusing through the web searching for some data and ran over your blog. I am dazzled by the data that you have on this blog. It shows how well you comprehend this subject. Bookmarked this page, will return for additional. gift
ReplyDeleteThank you because you have been willing to share information with us. we will always appreciate all you have done here because I know you are very concerned with our. Sarkari Naukri
ReplyDeleteHi I am so charmed I found your blog, I truly found you unintentionally, while I was watching on google for something different, Anyways I am here now and could simply prefer to state thank for a colossal post and an overall engaging site. Kindly keep up the incredible work. judi slot
ReplyDeleteA very awesome blog post. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. relationship
ReplyDeleteYou really make it look so natural with your exhibition however I discover this issue to be really something which I figure I could never appreciate. It appears to be excessively confounded and amazingly wide for me. I'm searching forward for your next post, I'll attempt to get its hang! high DA
ReplyDeleteYou make so many great points here that I read your article a couple of times. Your views are in accordance with my own for the most part. This is great content for your readers. Speedup Forex
ReplyDeleteYes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. You made a good point but I can't help but wonder, what about the other side? !!!!!!Thanks judi slot online
ReplyDeletePretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. RRB Group D Admit Card
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteGreat Post Guys! Thats the topic i was discussing on Best Sites
ReplyDelete