What "environment" means in typeof(object) result
Open
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 1.8k
- Forks
- 349
- Avg merge
- 5h 13m
- Merged PRs (30d)
- 4
Description
In my main.py, I have
set_a = set(['A', 'B', 'C'])
set_b = set(['A', 'C', 'D'])
In my main.R script,
library(reticulate);
use_python("/usr/local/bin/python3");
source_python("main.py")
print(typeof(set_a))
I will get
[1] "environment"
I am not sure what it means. Does it support the conversion of python's set data type ?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the example using main.py and main.R, starting with source_python("main.py") and typeof(set_a). Read reticulate's object-conversion documentation and relevant tests, if present, to determine what an R environment represents and whether Python sets are converted. Done means documenting the observed behavior and supported conversion path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, r
- Domain
- tooling
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100