Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-8075

[R] Loading R.utils after arrow breaks some arrow functions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 0.16.0
    • 0.17.0
    • R
    • None

    Description

      I am writing this as an FYI because it caught me today. My hope is that maybe this will one day help solve a bug or act as a clue if/when you encounter this behaviour. I don't have any time at the moment to track exactly what is happening so unfortunately I am just sharing as is. The issue is when one loads the R.utils package after loading arrow. Again likely this is an issue related to R.utils and therefore not strictly a bug in arrow. Still thought it would be useful to share:

       

      library(arrow)
      #> 
      #> Attaching package: 'arrow'
      #> The following object is masked from 'package:utils':
      #> 
      #> timestamp
      write_parquet(iris, 'iris.parquet')
      pq <- ParquetFileReader$create('iris.parquet')
      library(R.utils)
      #> Loading required package: R.oo
      #> Loading required package: R.methodsS3
      #> R.methodsS3 v1.8.0 (2020-02-14 07:10:20 UTC) successfully loaded. See ?R.methodsS3 for help.
      #> R.oo v1.23.0 successfully loaded. See ?R.oo for help.
      #> 
      #> Attaching package: 'R.oo'
      #> The following object is masked from 'package:R.methodsS3':
      #> 
      #> throw
      #> The following objects are masked from 'package:methods':
      #> 
      #> getClasses, getMethods
      #> The following objects are masked from 'package:base':
      #> 
      #> attach, detach, load, save
      #> R.utils v2.9.2 successfully loaded. See ?R.utils for help.
      #> 
      #> Attaching package: 'R.utils'
      #> The following object is masked from 'package:arrow':
      #> 
      #> timestamp
      #> The following object is masked from 'package:utils':
      #> 
      #> timestamp
      #> The following objects are masked from 'package:base':
      #> 
      #> cat, commandArgs, getOption, inherits, isOpen, nullfile, parse,
      #> warnings
      pq <- ParquetFileReader$create('iris.parquet')
      #> Error in exists(name, envir = envir, inherits = FALSE): use of NULL environment is defunct
      

       

      Attachments

        Issue Links

          Activity

            People

              npr Neal Richardson
              boshek Sam Albers
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: