SEQanswers

Go Back   SEQanswers > General



Similar Threads
Thread Thread Starter Forum Replies Last Post
msSigPro packages error in edesign unique379 Bioinformatics 0 11-05-2014 02:39 AM
ERANGE and other packages for RNAseq analysis warrenemmett RNA Sequencing 9 07-02-2013 12:58 PM
Sequencing SSH libraries using NGS Robs1 454 Pyrosequencing 0 08-23-2012 01:58 AM
What is the difference between Cufflinks and other packages adrian Bioinformatics 2 04-10-2011 07:25 PM
Pathway Analysis packages for microArray BioSlayer Bioinformatics 6 07-27-2010 05:29 AM

Reply
 
Thread Tools
Old 04-17-2016, 12:09 PM   #1
Hagen
Junior Member
 
Location: US

Join Date: Aug 2012
Posts: 7
Default R installating packages through ssh

Dear all,

the following is not really a *seq-question, but if someone had an answer, this would be most appreciated.

I need to install R on a Mac, to which I only have access by ssh.

So I did the following:
sudo curl http://cran.r-project.org/bin/macosx...nowleopard.pkg > R-3.2.1-snowleopard.pkg
sudo installer -pkg R-3.2.1-snowleopard.pkg -target myDisk

(myDisk is a placeholder)

Basic R functions work. E.g. this
> x=c(1:100)
> summary(x)
Min. 1st Qu. Median Mean 3rd Qu. Max.
1.00 25.75 50.50 50.50 75.25 100.00


But now I want to install add-on packages. So I try
> install.packages("hash")
--- Please select a CRAN mirror for use in this session ---

upon which I get the error message

"2016-04-17 13:00:02.355 X11[16550:8804654] Failed to connect (primary_text_field_cell) outlet from (AppDelegate) to (NSTextFieldCell): missing setter or instance variable" when R dies.

I assume it tries to use X11 and can't ...

Can anyone tell me how to circumvent this ? E.g. can I force it to give me the list of CRAN mirrors within the terminal ?

Any help would be very much appreciated!
Hagen is offline   Reply With Quote
Old 04-17-2016, 12:32 PM   #2
Richard Finney
Senior Member
 
Location: bethesda

Join Date: Feb 2009
Posts: 700
Default

http://stackoverflow.com/questions/7...selection-in-r

tl/dr:
options(menu.graphics=FALSE)
Richard Finney is offline   Reply With Quote
Old 04-28-2016, 06:45 AM   #3
Hagen
Junior Member
 
Location: US

Join Date: Aug 2012
Posts: 7
Default

Thank you! That worked!
H
Hagen is offline   Reply With Quote
Reply

Tags
install.packages, r project, ssh, x11

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 08:48 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO