[BioC] Affy 1.5.8 functions not working on Mac OS X 10.3

stefano iacus stefano.iacus at unimi.it
Tue Jan 25 23:27:39 CET 2005


On Jan 25, 2005, at 10:43 PM, Chad Wayne wrote:

> My entire session follows. The previous .RData session was performed  
> on another computer while I was learning the basics of R and affy.  
> Prior to loading "timecourse.Rdata", I started X11 and changed the  
> working directory to the proper working directory with my data in it.
>
> > load("/xxx/xxx/ArrayAnalysis/timecourse.RData")
> > ls()
>  [1] "PMA.Calls"     "Pearson.cor"   "adjp"          "coc.phenodata"
>  [5] "deg"           "eset"          "mynova.full"   "procs"
>  [9] "raw"           "raw.pvalue"    "res"           "timecourse"
> [13] "x"
> > library(affy)
> Loading required package: Biobase
> Loading required package: tools
> Loading required package: reposTools


...snipp


> I suspect that there must be something wrong with either the install  
> or that the calls used by affy became corrupt either at the source or  
> during the install. I should offer one caveat here. I have experienced  
> this problem with affy ever since I first installed it two weeks ago.  
> I have attempted to do re-installs of the affy package and clean  
> installs of R. Nothing has remedied this issue. And when I say clean  
> install, I mean I have crawled through the system and deleted  
> everything from the libraries to the install .pkg that OsX likes to  
> hide. I also deleted preferences. I also check system level and user  
> level libraries to ensure I got everything that was installed prior to  
> the clean install.
>

In this part of the session, it appears that you are trying to install  
packages on from source. For this you need a working setup as explained  
in the R for Mac OS X Faq. In particular, you need to install the  
developer tools that comes in an additional CD (if you bought parnther  
aka 10.3) or you should download it from the apple developer site  
(again, detail sin the FAQ).

stefano

> If I try to do a reinstall over the current package I get the  
> following session:
>
> trying URL `http://www.bioconductor.org/src/contrib/PACKAGES'
> Content type `text/plain' length 46409 bytes
> opened URL
> ==================================================
> downloaded 45Kb
>
> trying URL `http://www.bioconductor.org/src/contrib/PACKAGES'
> Content type `text/plain' length 46409 bytes
> opened URL
> ==================================================
> downloaded 45Kb
>
> trying URL `http://www.bioconductor.org/src/contrib/affy_1.5.8.tar.gz'
> Content type `application/x-tar' length 1076622 bytes
> opened URL
> ==================================================
> downloaded 1051Kb
>
> * Installing *source* package 'affy' ...
> creating cache ./config.cache
> checking how to run the C preprocessor... /lib/cpp
> checking for main in -lz... no
> updating cache ./config.cache
> creating ./config.status
> creating src/Makevars
> ** libs
> /Library/Frameworks/R.framework/Resources/bin/SHLIB: line 1: make:  
> command not found
> ** Removing  
> '/Library/Frameworks/R.framework/Versions/2.0.1/Resources/library/ 
> affy'
> ** Restoring previous  
> '/Library/Frameworks/R.framework/Versions/2.0.1/Resources/library/ 
> affy'
> ERROR: compilation failed for package 'affy'
>
> >
> Delete downloaded files (y/N)? y             ##I deleted the file this  
> time, but have and haven't at other times.
>
> >
>
> It is at this point, I toss up my hands and beg for help. Sorry for  
> the length of this I wanted to be as thorough as possible could. I  
> really do appreciate the help.
>
> Chad.
>
> On Jan 25, 2005, at 1:57 PM, Robert Gentleman wrote:
>
>>
>> On Jan 25, 2005, at 9:35 AM, Chad Wayne wrote:
>>
>>> I appreciate you taking the time to answer my questions.
>>>
>>>>
>>>> On Jan 24, 2005, at 12:55 PM, Chad Wayne wrote:
>>>>
>>>>> It was recommended that I post this problem to the mailing list. I  
>>>>> am unable to get affy to work, e.g. the library loads into R, but  
>>>>> the functions don't seem to work. I was hoping someone may have  
>>>>> seen this problem before and may have a solution. I am working in  
>>>>> the correct working directory.
>>>>>
>>>>> I am using version v2.0.1 of R with the default Bioconductor  
>>>>> package installed. Current package of Affy is 1.5.8. I am using  
>>>>> Mac OS X 10.3.7 and running X11 (X11 1.0 - XFree86 4.3.0). This is  
>>>>> a shared environment and all packages were installed in the top  
>>>>> library, not in the User library.
>>>>>
>>>>> On prompt:
>>>>> > load("/nnn/nnn/nnn/timecourse.RData")
>>>>
>>>>> > library(affy)
>>>>> Loading required package: Biobase
>>>>> Loading required package: tools
>>>>> Loading required package: reposTools
>>>>
>>>> So, if you go
>>>>   search()
>>>> at this point you should get something like:
>>>> > search()
>>>>  [1] ".GlobalEnv"         "package:affy"       "package:reposTools"
>>>>  [4] "package:Biobase"    "package:tools"      "package:methods"
>>>>  [7] "package:stats"      "package:graphics"   "package:grDevices"
>>>> [10] "package:utils"      "package:datasets"   "Autoloads"
>>>> [13] "package:base"
>>>>
>>>> The important things are for affy and Biobase to be there (at least  
>>>> given what you are saying below)
>>>>
>>>
>>> I loaded affy and did the search as you suggested:
>>>
>>> > library(affy)
>>> Loading required package: Biobase
>>> Loading required package: tools
>>> Loading required package: reposTools
>>> > search()
>>>  [1] ".GlobalEnv"         "package:affy"       "package:reposTools"
>>>  [4] "package:Biobase"    "package:tools"      "package:methods"
>>>  [7] "package:stats"      "package:graphics"   "package:grDevices"
>>> [10] "package:utils"      "package:datasets"   "Autoloads"
>>> [13] "package:base"
>>>
>>> Appears to be there along with biobase.
>>>
>>>
>>>>> > ReadAffy(widget=T)
>>>>> Error: couldn't find function "ReadAffy"
>>>>> > ReadAffy()
>>>>> Error: couldn't find function "ReadAffy"
>>>>> > pData(eset)
>>>>> Error: couldn't find function "pData"
>>>>>
>>>>
>>>>
>>>> You can also try something like
>>>> ls("package:affy")
>>>>
>>>> which should show about 116 things (mostly functions) and one  
>>>> should be ReadAffy.
>>>>
>>>
>>> I also performed the ls("package:affy") and retrieved 116 items. I  
>>> attempted again to try the ReadAffy function and it failed.
>>>
>>
>>   Hmm, this seems really odd.  So a whole bunch of questions in the  
>> hopes that one of them sheds some light on what your problem is.  
>> Basically, if the library is attached and the function is listed, it  
>> is there (or ought to be). Please show the entire transcript of you  
>> session (in answering the questions below, not just the part you want  
>> to) [possibly skipping to the end, as I now suspect that you do not  
>> have enough system software installed - we should think about how to  
>> find that out more automatically]
>>
>>  If you just type ReadAffy, what happens?
>> what if you type the name of one of the other functions (in any of  
>> the packages)?
>> what is .libPaths() reporting?
>>
>>
>>>> If not, then the installation is not correct. Are you sure they  
>>>> have global read permission etc on the R library directory and all  
>>>> contents? Have you checked to see if there are any files
>>>> in those directories?
>>>>
>>>
>>> Do I need to go to terminal to change the permissions or is there a  
>>> nice simple way to check permissions and change them accordingly if  
>>> that is the problem. Sorry that this appears so dense, but I haven't  
>>> quite got the hang of the unix side of OsX yet.
>>>
>>
>> I doubt I was right about that; but there is nothing special going on  
>> on OS X, you do need a lot of stuff installed though - and that might  
>> be your problem.
>>
>> try this:
>> > capabilities()
>>     jpeg      png    tcltk      X11 http/ftp  sockets   libxml      
>> fifo
>>     TRUE     TRUE     TRUE     TRUE     TRUE     TRUE     TRUE      
>> TRUE
>>   cledit  IEEE754    iconv
>>     TRUE     TRUE     TRUE
>>
>> And in particular you are going to need X11 and tcltk (and you want  
>> most of the others). The R FAQ for OS X provides explicit details on  
>> how to do this.
>>
>>  Robert
>>
>>
>>> Thanks again,
>>>
>>> Chad.
>>>
>>>>  Robert
>>>>
>>>>> I've also attempted to "start from scratch" from the original .cel  
>>>>> files and get the same type of error message that the function  
>>>>> couldn't be found.
>>>>>
>>>>> I have checked to ensure that affy is installed and loaded, and  
>>>>> based on the Package Manager, it is .
>>>>>
>>>>>
>>>>> I've also tried using limma (v1.8.10), and had no problems, other  
>>>>> than I can't read in the eset.
>>>>>
>>>>> > packageDescription("limma", field="Version")
>>>>> [1] "1.8.10"
>>>>> > packageDescription("affy", field="Version")
>>>>> [1] "1.5.8"
>>>>> > version
>>>>>          _
>>>>> platform powerpc-apple-darwin6.8
>>>>> arch     powerpc
>>>>> os       darwin6.8
>>>>> system   powerpc, darwin6.8
>>>>> status
>>>>> major    2
>>>>> minor    0.1
>>>>> year     2004
>>>>> month    11
>>>>> day      15
>>>>> language R
>>>>>
>>>>>
>>>>> Thanks for the assistance.
>>>>>
>>>>> Chad Wayne
>>>>>
>>>>> Chad M. Wayne, Ph. D.
>>>>> Baylor College of Medicine
>>>>>
>>>>> _______________________________________________
>>>>> Bioconductor mailing list
>>>>> Bioconductor at stat.math.ethz.ch
>>>>> https://stat.ethz.ch/mailman/listinfo/bioconductor
>>>>>
>>>>>
>>>> +------------------------------------------------------------------- 
>>>> --------------------+
>>>> | Robert Gentleman              phone: (206) 667-7700                
>>>>              |
>>>> | Head, Program in Computational Biology   fax:  (206) 667-1319   |
>>>> | Division of Public Health Sciences       office: M2-B865           
>>>>           |
>>>> | Fred Hutchinson Cancer Research Center                             
>>>>              |
>>>> | email: rgentlem at fhcrc.org                                          
>>>>                              |
>>>> +------------------------------------------------------------------- 
>>>> --------------------+
>>>>
>>>>
>>>
>>>
>> +--------------------------------------------------------------------- 
>> ------------------+
>> | Robert Gentleman              phone: (206) 667-7700                  
>>            |
>> | Head, Program in Computational Biology   fax:  (206) 667-1319   |
>> | Division of Public Health Sciences       office: M2-B865             
>>         |
>> | Fred Hutchinson Cancer Research Center                               
>>            |
>> | email: rgentlem at fhcrc.org                                            
>>                            |
>> +--------------------------------------------------------------------- 
>> ------------------+
>>
>>
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
>



More information about the Bioconductor mailing list