Skip to content

ffappend Error in get(".rambytes") : object '.rambytes' not found when package ff not explicitly loaded #60

@chrisvwn

Description

@chrisvwn

Hi,

I am getting the error:

 Error in get(".rambytes") : object '.rambytes' not found

when I use the ffbase::ffappend function within the package Rnightlights.

The relevant part of the traceback when this happens is:

Error in get(".rambytes") : object '.rambytes' not found 
11. get(".rambytes") 
10. chunk.default(y) 
9. chunk(y) 
8. ffbase::ffappend(vals, rastVals, adjustvmode = T) at stats.R#132

rastVals is a numeric vector and vals is an ff_vector.

My sessionInfo:

> sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: Fedora 32 (Workstation Edition)

Matrix products: default
BLAS/LAPACK: /usr/lib64/libopenblas-r0.3.10.so

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8       
 [4] LC_COLLATE=en_US.UTF-8     LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                  LC_ADDRESS=C              
[10] LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] Rnightlights_0.2.4.5

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.5         compiler_4.0.3     pillar_1.4.6       plyr_1.8.6        
 [5] class_7.3-17       R.methodsS3_1.8.1  R.utils_2.10.1     iterators_1.0.12  
 [9] tools_4.0.3        gdalUtils_2.0.3.2  bit_4.0.4          digest_0.6.27     
[13] lubridate_1.7.9    tibble_3.0.4       lifecycle_0.2.0    lattice_0.20-41   
[17] ff_4.0.2           doSNOW_1.0.18      pkgconfig_2.0.3    rlang_0.4.8       
[21] fastmatch_1.1-0    foreach_1.5.0      DBI_1.1.0          rstudioapi_0.11   
[25] parallel_4.0.3     yaml_2.2.1         rgdal_1.5-16       e1071_1.7-4       
[29] httr_1.4.2         stringr_1.4.0      dplyr_1.0.2        raster_3.3-13     
[33] xml2_1.3.2         generics_0.0.2     vctrs_0.3.4        rgeos_0.5-5       
[37] hms_0.5.3          classInt_0.4-3     grid_4.0.3         tidyselect_1.1.0  
[41] ffbase_0.13.1      glue_1.4.2         data.table_1.13.2  sf_0.9-6          
[45] R6_2.5.0           snow_0.4-3         sp_1.4-2           selectr_0.4-2     
[49] readr_1.3.1        reshape2_1.4.4     purrr_0.3.4        magrittr_1.5      
[53] units_0.6-7        codetools_0.2-16   settings_0.2.4     ellipsis_0.3.1    
[57] rvest_0.3.5        fasterize_1.0.3    KernSmooth_2.23-17 stringi_1.5.3     
[61] crayon_1.3.4       R.oo_1.24.0

get(".rambytes") seems to work when I load the ff package explicitly via library().

Not sure if I should post this here or on the ff package page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions