[MacPorts] #19411: No R binaries and error during 2.9.0 installation

MacPorts noreply at macports.org
Fri Apr 24 04:52:49 PDT 2009


#19411: No R binaries and error during 2.9.0 installation
------------------------------------------+---------------------------------
  Reporter:  pawel.matykiewicz@…          |       Owner:  macports-tickets@…                   
      Type:  defect                       |      Status:  closed                               
  Priority:  Normal                       |   Milestone:  Port Bugs                            
 Component:  ports                        |     Version:  1.7.1                                
Resolution:  invalid                      |    Keywords:  R binaries packages                  
      Port:  R                            |  
------------------------------------------+---------------------------------

Comment(by kjell.konis@…):

 If I were you I would (1) uninstall the R port, (2) delete the directory
 /opt/local/lib/R then (3) reinstall the R port without forcing. You will
 need to reinstall all your packages (from source) after this - but you
 should do this anyways when upgrading from R 2.x._ to R 2.(x+1)._. Right
 now you have packages built for R 2.8.x installed in R 2.9.0 and they may
 or may not be compatible. In the case of packages for numerical
 computations (e.g., Matrix) this may take the form of appearing to work
 but giving the wrong answer.

 You can avoid R package issues in the future by not using root privileges
 when installing packages. R will then put them in a personal library for
 you.

 Cheers.

 Replying to [ticket:19411 pawel.matykiewicz@…]:
 > I uninstalled all previous versions of R because I though I will have
 quick solution but it did not help. Error looked same for upgrade though.
 >
 > I goes like this:
 >
 > {{{
 > sudo port install R
 > --->  Fetching R
 > --->  Verifying checksum(s) for R
 > --->  Extracting R
 > --->  Configuring R
 > --->  Building R
 > --->  Staging R into destroot
 > --->  Installing R @2.9.0_0+gcc43
 > --->  Activating R @2.9.0_0+gcc43
 > Error: Target org.macports.activate returned: Image error:
 /opt/local/lib/R/library/Matrix/CONTENTS already exists and does not
 belong to a registered port.  Unable to activate port R.
 > Error: Status 1 encountered during processing.
 > }}}
 >
 > Do I really have to delete all packages to make it work?
 >
 > If there is no quick resolution please advise how to install previous
 version of R through macports.
 >
 > Thanks

-- 
Ticket URL: <http://trac.macports.org/ticket/19411#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list