changing directory in RStudio and Bioconductor AMI and Amazon EC2
0
0
Entering edit mode
Dan Tenenbaum ★ 8.2k
@dan-tenenbaum-4256
Last seen 3.2 years ago
United States
Hi Andrew, On Tue, Apr 10, 2012 at 11:56 AM, Andrew Yee <yee at="" post.harvard.edu=""> wrote: > I'm not sure if this is the best place to address this question, but > not sure where else to turn: > > I've been exploring RStudio using the Bioconductor ami, ami- b5a079dc, > and running a micro instance (this has Bioconductor 2.10 and R 2.15 in > the instance). > > I've been able to run RStudio. ?However, I can't change into a > different directory, e.g. setwd('/root'), that is accessible when you > login via ssh. ?Motivation is that I would like to be able to save > data in a different directory or on a different mounted EBS volume. > Is this a situation where I need to change some of the permissions? > If so, which one? > > Thanks (and apologies if there is an obvious answer to this, since I'm > a newbie with Linux). > When you use RStudio through the AMI, you are logging in as the "ubuntu" user. For security reasons, RStudio does not allow you to log in as root. So the solution is to make sure the directory where you want to save data is writeable by the ubuntu user, or, after you've saved your data in ubuntu's home directory, ssh in as root and move it to where you want it to go. Dan > Thanks, > Andrew > > _______________________________________________ > Bioconductor mailing list > Bioconductor at r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
GO GO • 1.0k views
ADD COMMENT

Login before adding your answer.

Traffic: 547 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6