Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies not found for windows #81

Closed
Zinco-Li opened this issue Dec 8, 2021 · 1 comment
Closed

Dependencies not found for windows #81

Zinco-Li opened this issue Dec 8, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@Zinco-Li
Copy link

Zinco-Li commented Dec 8, 2021

I tried to install automatically by "install_sjSDM(version = c("cpu"))",
such error arose: The following packages are not available from current channels:

  • python=3.1

Then I tried to install manually in cmd, but it seemed like that:
library(sjSDM)
√ torch
x torch_optimizer
x pyro
x madgrad

@MaximilianPi
Copy link
Member

Hi @Zinco-Li,

it seems that the installation fails again

for a hot fix, do:

  1. restart RStudio
  2. reticulate::conda_remove('r-reticulate')
  3. reticulate::conda_create('r-reticulate', python_version='3.8')
  4. reticulate::conda_install('r-reticulate',packages = c("pytorch", "torchvision", "torchaudio" ,"-c", "pytorch"))
  5. reticulate::conda_install('r-reticulate',packages = c("pyro-ppl", "torch_optimizer", "madgrad"), pip=TRUE)

@MaximilianPi MaximilianPi added the bug Something isn't working label Dec 8, 2021
@MaximilianPi MaximilianPi mentioned this issue Dec 21, 2021
11 tasks
MaximilianPi added a commit that referenced this issue Dec 23, 2021
MaximilianPi added a commit that referenced this issue Jan 5, 2022
# V1.0.0

## Major changes

* revised anova: `sjSDM::anova(...)` corresponds now to a type I anova (removed CV) #76
* `sjSDM::Rsquared()` uses now Nagelkerke or McFadden R-squared (which is also used in the anova) #76
* deprecated `sjSDM::sLVM` because of instability issues and other reasons
* revised `sjSDM::install_sjSDM()`, it works now for all x64 systems/versions #81 #79 #71

## Minor changes

* removed several unnecessary dependencies (e.g. dplyr)
* improved documentation of all functions, e.g. see `?sjSDM`
* new `sjSDM::update.sjSDM` method to re-fit model with different formula(s)
* new `sjSDM::sjSDM.tune` method to fit quickly a model with optimized regularization parameters (from `sjSDM::sjSDM_cv`)

## Bug fixes

* revised memory problem in `sjSDM::sjSDM_cv()` #84
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants