[R-SIG-Mac] RSwitch question

Steven McKinney smckinney at bccrc.ca
Mon Jul 25 20:07:43 CEST 2011


searchpaths() info inline below should that information help sort this out

> -----Original Message-----
> From: r-sig-mac-bounces at r-project.org [mailto:r-sig-mac-bounces at r-project.org] On Behalf Of Steven
> McKinney
> Sent: July-25-11 10:55 AM
> To: R-SIG-Mac at r-project.org
> Subject: [R-SIG-Mac] RSwitch question
> 
> Hi all,
> 
> I installed the RSwitch app RSwitch-1.2.dmg  from http://r.research.att.com/#other
> and installed R-2.13.1 R-2.13-branch-leopard.pkg  from http://r.research.att.com
> 
> Before installing R-2.13.1 I ran the "forget" command
> 
> $ sudo pkgutil --forget org.r-project.R.Leopard.fw.pkg
> Password:
> Forgot package 'org.r-project.R.Leopard.fw.pkg' on '/'.
> 
> then ran the installer.  R-2.13.1 starts up when I invoke R.app.
> 
> I ran the RSwitch app, selected R-2.12.1 and when I start R.app I see
> 
> Error in matrix(NA_character_, 0L, 3L) :
>   5 arguments passed to .Internal(matrix) which requires 7
> 
> R version 2.13.1 Patched (2011-07-24 r56492)
> Copyright (C) 2011 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
> Platform: i386-apple-darwin9.8.0/i386 (32-bit)
> 

...snip...

> 
>  *** caught bus error ***
> address 0x7b, cause 'non-existent physical address'
> 
> Possible actions:
> 1: abort (with core dump, if enabled)
> 2: normal R exit
> 3: exit R without saving workspace
> 4: exit R saving workspace
> Selection:

On restarting R, with RSwitch still pointed at R-2.12.1, I get a command prompt
after the error messages above.  Entering searchpaths() I see

> searchpaths()
[1] ".GlobalEnv"                                                              
[2] "/Library/Frameworks/R.framework/Versions/2.12/Resources/library/datasets"
[3] "Autoloads"                                                               
[4] "/Library/Frameworks/R.framework/Resources/library/base"                  
> 

> 
> 
> 
> I am unclear as to why I am seeing R-2.13.1 after attempting to switch back to R-2.12.1.
> 
> Any one else having this issue?
> 
> Did I miss some part of setting this up appropriately?
> 
> Any info appreciated.
> 
> 
> Best
> 
> Steven McKinney
> 
> Statistician
> Molecular Oncology and Breast Cancer Program
> British Columbia Cancer Research Centre
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list