Skip to content

question: set default from multiple installs of same maj.minor R version #306

@JosiahParry

Description

@JosiahParry

I have two installs of R 4.5.2—devel and release.

I wanted to set R 4.5.2 release as my default.

How can I accomplish this using rig? Fortunately I was able to use the alias but I'm confused why the name 4.5-arm64 must be used and not the version 4.5.2. In the event of two installs how do we specify them?

Thanks!

example:

⚡ rig list
* name       version    aliases
------------------------------------------
  4.2-arm64  (R 4.2.0)  
  4.3-arm64  (R 4.3.3)  
  4.4-arm64  (R 4.4.0)  
  4.5-arm64  (R 4.5.2)  devel, release
* 4.6-arm64  (R 4.6.0)  
(3.9.18) chief ⚡ rig default 4.5-arm64-release
[ERROR] R version 4.5-arm64-release is not installed
(3.9.18) chief ⚡ rig default 4.5-arm64        
(3.9.18) chief ⚡ rig default 4.5.2    
[ERROR] R version 4.5.2 is not installed
⚡ rig default release

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions