Question: Error in columns( : could not find function "columns"
gravatar for Sanches
10 weeks ago by
Sanches0 wrote:

Hi all, 

I have been running an analysis from microarray data and when I try to run this line " columns(", I get an error. Could anyone please help me to understand this problem?


install.packages("", repos="")

Thanks in advance

ADD COMMENTlink modified 10 weeks ago by James W. MacDonald45k • written 10 weeks ago by Sanches0

Please edit your question to show the error and the output of your sessionInfo().

ADD REPLYlink written 10 weeks ago by Valerie Obenchain ♦♦ 6.4k
gravatar for James W. MacDonald
10 weeks ago by
United States
James W. MacDonald45k wrote:

There are two problems here. First, don't do this:

install.packages("", repos="")

The whole idea behind biocLite is that you don't need to figure out what repository to use, particularly since Bioconductor package versions are specific to a given R version. By hijacking the process like that you are taking the chance that you will install the wrong thing.

Second, you have to load a package before you can use it.

> columns(
Error in columns( : could not find function "columns"
> library(


> columns(
[11] "GO"           "GOALL"        "IPI"          "MAP"          "OMIM"        
[16] "ONTOLOGY"     "ONTOLOGYALL"  "PATH"         "PFAM"         "PMID"        
[21] "PROSITE"      "REFSEQ"       "SYMBOL"       "UCSCKG"       "UNIGENE"     
[26] "UNIPROT"    
ADD COMMENTlink written 10 weeks ago by James W. MacDonald45k

Hi James, 

Thanks for your help.

I had loaded the package before using "columns".

I  have found out the problem. Everything went well when I loaded the biomaR package.






ADD REPLYlink written 9 weeks ago by Sanches0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 180 users visited in the last hour