Re: [R-SIG-Mac] installing with remotes package

2023-12-07 Thread Gábor Csárdi
This usually happens when you are on a slow network, and downloading
the archive.rds file fails within the default 60 seconds. You can
increase the timeout from 60 seconds to 600 or even more by setting
the timeout option:

options(timeout = 600)

A more modern option is to use the pak package, which has larger
default timeouts and many other goodies as well:

pak::pkg_install("Seurat@4.4.0")

Gabor

On Thu, Dec 7, 2023 at 9:03 PM Michael Sewell  wrote:
>
> Hi - I'm a postdoc at the University of Edinburgh who's urgently trying to 
> install an older version of a package (Seurat) listed on CRAN but without 
> success. The package is Seurat_4.4.0.tar.gz.
>
> I currently work on a M1 Macbook Pro (with Sonoma installed) with RStudio 
> version 4.3.2 and tried to install the package using the following code:
> remotes::install_version(package = 'Seurat', version = 
> package_version('4.4.0'))
>
> However this appears to be unsuccessful - I was wondering if there is any 
> guidance on how to install these on M1 macbooks? I have also tried 
> uninstalling and reinstalling R many times which again did not succeed. Any 
> help you could give me on this would be much appreciated.
>
> BW,
> Michael
>
>
> Michael Sewell
> Research Fellow
> Montagne Lab
> UK DRI
> The University of Edinburgh
> Twitter: @pichaelmichael_
> Linkedin
> The University of Edinburgh is a charitable body, registered in Scotland, 
> with registration number SC005336. Is e buidheann carthannais a th' ann an 
> Oilthigh Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336.
>
> [[alternative HTML version deleted]]
>
> ___
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] installing with remotes package

2023-12-07 Thread Michael Sewell
thanks so much everyone the groundhog package did indeed work and has saved me 
many more hours of frustration. Really appreciate it.

BW,
Michael

Michael Sewell
Research Fellow
Montagne Lab
UK DRI
The University of Edinburgh
Twitter: @pichaelmichael_<https://twitter.com/pichaelmichael_>
Linkedin<https://www.linkedin.com/in/michael-sewell-2a3493bb>

From: Uri Simonsohn 
Sent: 07 December 2023 20:48
To: Michael Sewell ; r-sig-mac@r-project.org 

Subject: Re: [R-SIG-Mac] installing with remotes package

This email was sent to you by someone outside the University.
You should only click on links or attachments if you are certain that the email 
is genuine and the content is safe.
I just tried it with groundhog and seems to have worked.

On R 4.3.1, on a Mac M1, I ran this:

library('groundhog')
groundhog.library('Seurat','2023-11-01')

Uri


ps: you can get release dates of pkgs with groundhog::toc(pkg)

-- Original Message --
From "Michael Sewell" mailto:michael.sew...@ed.ac.uk>>
To "r-sig-mac@r-project.org<mailto:r-sig-mac@r-project.org>" 
mailto:r-sig-mac@r-project.org>>
Date 12/7/2023 6:52:35 PM
Subject [R-SIG-Mac] installing with remotes package

Hi - I'm a postdoc at the University of Edinburgh who's urgently trying to 
install an older version of a package (Seurat) listed on CRAN but without 
success. The package is Seurat_4.4.0.tar.gz.

I currently work on a M1 Macbook Pro (with Sonoma installed) with RStudio 
version 4.3.2 and tried to install the package using the following code:
remotes::install_version(package = 'Seurat', version = package_version('4.4.0'))

However this appears to be unsuccessful - I was wondering if there is any 
guidance on how to install these on M1 macbooks? I have also tried uninstalling 
and reinstalling R many times which again did not succeed. Any help you could 
give me on this would be much appreciated.

BW,
Michael


Michael Sewell
Research Fellow
Montagne Lab
UK DRI
The University of Edinburgh
Twitter: @pichaelmichael_<https://twitter.com/pichaelmichael_>
Linkedin<https://www.linkedin.com/in/michael-sewell-2a3493bb>
The University of Edinburgh is a charitable body, registered in Scotland, with 
registration number SC005336. Is e buidheann carthannais a th' ann an Oilthigh 
Dh�n �ideann, cl�raichte an Alba, �ireamh cl�raidh SC005336.

[[alternative HTML version deleted]]


[[alternative HTML version deleted]]

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] installing with remotes package

2023-12-07 Thread Uri Simonsohn
I just tried it with groundhog and seems to have worked.

On R 4.3.1, on a Mac M1, I ran this:

library('groundhog')
groundhog.library('Seurat','2023-11-01')

Uri


ps: you can get release dates of pkgs with groundhog::toc(pkg)

-- Original Message --
>From "Michael Sewell" 
To "r-sig-mac@r-project.org" 
Date 12/7/2023 6:52:35 PM
Subject [R-SIG-Mac] installing with remotes package

>Hi - I'm a postdoc at the University of Edinburgh who's urgently trying to 
>install an older version of a package (Seurat) listed on CRAN but without 
>success. The package is Seurat_4.4.0.tar.gz.
>
>I currently work on a M1 Macbook Pro (with Sonoma installed) with RStudio 
>version 4.3.2 and tried to install the package using the following code:
>remotes::install_version(package = 'Seurat', version = 
>package_version('4.4.0'))
>
>However this appears to be unsuccessful - I was wondering if there is any 
>guidance on how to install these on M1 macbooks? I have also tried 
>uninstalling and reinstalling R many times which again did not succeed. Any 
>help you could give me on this would be much appreciated.
>
>BW,
>Michael
>
>
>Michael Sewell
>Research Fellow
>Montagne Lab
>UK DRI
>The University of Edinburgh
>Twitter: @pichaelmichael_
>Linkedin
>The University of Edinburgh is a charitable body, registered in Scotland, with 
>registration number SC005336. Is e buidheann carthannais a th' ann an Oilthigh 
>Dh�n �ideann, cl�raichte an Alba, �ireamh cl�raidh SC005336.
>
>   [[alternative HTML version deleted]]
>
[[alternative HTML version deleted]]

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] installing with remotes package

2023-12-07 Thread Calboli Federico (LUKE)
I’d look into trying with groundhog:

https://cran.r-project.org/web/packages/groundhog/index.html

Cheers

F



Federico Calboli
Erityisasiantuntija, tutkimusrahoitus
Palveluryhmät
Luonnonvarakeskus

Hi - I'm a postdoc at the University of Edinburgh who's urgently trying to 
install an older version of a package (Seurat) listed on CRAN but without 
success. The package is Seurat_4.4.0.tar.gz.

I currently work on a M1 Macbook Pro (with Sonoma installed) with RStudio 
version 4.3.2 and tried to install the package using the following code:
remotes::install_version(package = 'Seurat', version = package_version('4.4.0'))

However this appears to be unsuccessful - I was wondering if there is any 
guidance on how to install these on M1 macbooks? I have also tried uninstalling 
and reinstalling R many times which again did not succeed. Any help you could 
give me on this would be much appreciated.

BW,
Michael


Michael Sewell
Research Fellow
Montagne Lab
UK DRI
The University of Edinburgh
Twitter: 
@pichaelmichael_>
Linkedin>
The University of Edinburgh is a charitable body, registered in Scotland, with 
registration number SC005336. Is e buidheann carthannais a th' ann an Oilthigh 
Dh�n �ideann, cl�raichte an Alba, �ireamh cl�raidh SC005336.

[[alternative HTML version deleted]]

[[alternative HTML version deleted]]

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] installing with remotes package

2023-12-07 Thread Simon Urbanek
Michael,

remotes is a contributed package, so you should contact the author if that is 
what fails (you didn't say). FWIW only the latest version package binaries are 
available on CRAN, so if you need a specific older version of a package you 
need to compile it from sources - so chances are you are missing the necessary 
dependencies or tools to do that, but we can't tell without more details about 
what exactly fails for you.

Cheers,
Simon


> On Dec 8, 2023, at 6:52 AM, Michael Sewell  wrote:
> 
> Hi - I'm a postdoc at the University of Edinburgh who's urgently trying to 
> install an older version of a package (Seurat) listed on CRAN but without 
> success. The package is Seurat_4.4.0.tar.gz.
> 
> I currently work on a M1 Macbook Pro (with Sonoma installed) with RStudio 
> version 4.3.2 and tried to install the package using the following code:
> remotes::install_version(package = 'Seurat', version = 
> package_version('4.4.0'))
> 
> However this appears to be unsuccessful - I was wondering if there is any 
> guidance on how to install these on M1 macbooks? I have also tried 
> uninstalling and reinstalling R many times which again did not succeed. Any 
> help you could give me on this would be much appreciated.
> 
> BW,
> Michael
> 
> 
> Michael Sewell
> Research Fellow
> Montagne Lab
> UK DRI
> The University of Edinburgh
> Twitter: @pichaelmichael_
> Linkedin
> The University of Edinburgh is a charitable body, registered in Scotland, 
> with registration number SC005336. Is e buidheann carthannais a th' ann an 
> Oilthigh Dh�n �ideann, cl�raichte an Alba, �ireamh cl�raidh SC005336.
> 
>   [[alternative HTML version deleted]]
> 
> ___
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac