Closed teindor closed 3 years ago
Do you run this in a regular R session? Usually you get the external pointer is not valid
error if you restart R after loading the images, or somehow try to run this in a way that tries to cache the images to disk.
It has nothing to do with the images itself.
Hello, I used a commend that I often use to merge PNGs in r.
efa.p1 = image_read("C:/Users/teind/Dropbox/ניתוח עבודות/עטרת גבירץ מדיני 20-5-2015/p11/Study 1/PA.png") efa.p2 = image_read("C:/Users/teind/Dropbox/ניתוח עבודות/עטרת גבירץ מדיני 20-5-2015/p11/Study 1/CD.png") efa.p3 = image_read("C:/Users/teind/Dropbox/ניתוח עבודות/עטרת גבירץ מדיני 20-5-2015/p11/Study 1/MAP.png") magick::image_append(c(efa.p1, efa.p2, efa.p3))
and I got the following error: Error in magick_image_join(x) : external pointer is not valid I have included the files.
R version 4.1.1 (2021-08-10) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19043)
Matrix products: default
locale: [1] LC_COLLATE=Hebrew_Israel.1255 LC_CTYPE=Hebrew_Israel.1255 LC_MONETARY=Hebrew_Israel.1255 LC_NUMERIC=C LC_TIME=Hebrew_Israel.1255
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] magick_2.7.3 RGenData_1.0 EFA.dimensions_0.1.7.3 MAP_0.1.3 Matrix_1.3-4 flexmix_2.3-17
[7] lattice_0.20-44 psych_2.1.6 dplyr_1.0.7 foreign_0.8-81 remotes_2.4.0 BiocManager_1.30.16
[13] rvcheck_0.1.8
loaded via a namespace (and not attached): [1] Rcpp_1.0.7 polycor_0.7-10 pillar_1.6.2 compiler_4.1.1 prettyunits_1.1.1 tools_4.1.1 pkgbuild_1.2.0 nlme_3.1-153
[9] lifecycle_1.0.0 tibble_3.1.4 pkgconfig_2.0.3 rlang_0.4.11 cli_3.0.1 DBI_1.1.1 rstudioapi_0.13 parallel_4.1.1
[17] curl_4.3.2 yaml_2.2.1 xfun_0.25 withr_2.4.2 generics_0.1.0 vctrs_0.3.8 nnet_7.3-16 stats4_4.1.1
[25] grid_4.1.1 rprojroot_2.0.2 tidyselect_1.1.1 glue_1.4.2 R6_2.5.1 processx_3.5.2 fansi_0.5.0 callr_3.7.0
[33] purrr_0.3.4 magrittr_2.0.1 modeltools_0.2-23 ps_1.6.0 ellipsis_0.3.2 mnormt_2.0.2 assertthat_0.2.1 tinytex_0.33
[41] utf8_1.2.2 tmvnsim_1.0-2 crayon_1.4.1