This message was deleted.
# ask-anything
s
This message was deleted.
e
it's up to you how to manage Python/R, as long as you have a working Python/R environment, it will work. yes, it works in docker
m
but how do I point it to a specific virtual environment?
e
activate the environment, then run
ploomber build
. is that what you mean?
m
yea this would work for python, and for R how would I specify the kernel?
idk if kernel is the right word but version of R
e
ah, good point. so ploomber will use the R installation that you registered when installing IRKernel. so if you switch to another R installation, you can install the IRKernel there
you can have more than one IRKernel installed at the same time and switch with one arg, hold on a sec
ok so if you have more than one IRKernel, you can list them with
jupyter kernelspec list
then choose one and pass it in your
pipeline.yaml
Copy code
tasks:
  - source: script.R
    product ...
    kernelspec_name: kernel-name
m
ok I was a little confused with the R example, I never saw iris being loaded
e
no worries! is your code working now?
m
yes, this wasn't an active issue more of something I didn't understand but is versioning is a big pain so is a first Q i have haha