[
https://issues.apache.org/jira/browse/ARROW-16787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17551583#comment-17551583
]
shivam commented on ARROW-16787:
--------------------------------
I have used following
For 'pyarrow' in Python: *pip install pyarrow*
For 'arrow' in R: *install.packages("arrow", dependencies = TRUE)*
Originally, I was also working on the assumption that reticulate might be the
problem. However, there are 2 points that made me post the issue here:
# Reticulate is able to handle all other packages without any issues. For
example "igraph" also has R package and Python module but I am not facing any
issue when both of them are loaded /attached.
# If I import the Python module before attaching the R package, there are no
errors. So, (I am making a guess here) the arrow package in R is doing
something which is in conflict with pyarrow module in python.
You are correct that there were some windows specific issues earlier. I saw
some posts online regarding those. I am also hoping those have been resolved by
now.
I will wait for some time before cross-posting it anywhere else. In the mean
time, I am hoping that someone using windows is able to reproduce and rectify
it here :)
> Attaching R package arrow leads to error during import of Python Module
> pyarrow
> -------------------------------------------------------------------------------
>
> Key: ARROW-16787
> URL: https://issues.apache.org/jira/browse/ARROW-16787
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python, R
> Affects Versions: 8.0.0
> Reporter: shivam
> Priority: Major
> Attachments: Reticulate-Arrow-Pyarrow.Rmd,
> Reticulate-Arrow-Pyarrow.html
>
>
> Sorry, I am new here and prepared the issue report based on GitHub markdown
> syntax.
> And I am unsure about assigning priority as "Major", please change it to
> appropriate level.
> I have attached an RMD File (& its HTML output) which can be knitted in R and
> shows the problem.
>
> - Details:
> - Within RStudio using Reticulate package, and without any virtual
> environment
> - If R arrow Package is attached before import of Python pyarrow module,
> then import fails.
> - If R arrow Package is either not attached or attached after the import of
> Python pyarrow module, then there seems to be no problem. Both R and Python
> are able to read feather files.
>
> Please send a message if any information is missing or if more clarification
> is required.
> Thank You
> [^Reticulate-Arrow-Pyarrow.Rmd][^Reticulate-Arrow-Pyarrow.html]
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)