You have four character vectors in your data frame; those return non-finite ranges.
plot(test[sapply(test, class)!="character"]) plots the non-character columns. S Ellison ________________________________________ From: R-help [r-help-boun...@r-project.org] on behalf of Rasmus Liland [j...@posteo.no] Sent: 24 June 2020 14:12 To: R-help Subject: Re: [R] version plot problem =============== EXTERNAL EMAIL =============== On 2020-06-24 10:03 +0000, PIKAL Petr wrote: > Dear all > > I have strange problem with plotting data.frame. Dear Petr, After fending off the iso-8859-2 encoding, continuing using my regular Unicode encoding, I was able to reproduce the error 3.6.3 (sessionInfo and version at the end of the email). Dropping the columns "Název Analýzy", "Kontrolor", "Prac", and "Vzorek" indeed makes the error go away ... Best, Rasmus 3.6.3: > sessionInfo() R version 3.6.3 (2020-02-29) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Arch Linux Matrix products: default BLAS: /usr/lib/libblas.so.3.9.0 LAPACK: /usr/lib/liblapack.so.3.9.0 locale: [1] LC_CTYPE=en_GB.utf8 LC_NUMERIC=C [3] LC_TIME=en_DK.utf8 LC_COLLATE=en_GB.utf8 [5] LC_MONETARY=nb_NO.utf8 LC_MESSAGES=en_GB.utf8 [7] LC_PAPER=nb_NO.utf8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=nb_NO.utf8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] compiler_3.6.3 > version _ platform x86_64-pc-linux-gnu arch x86_64 os linux-gnu system x86_64, linux-gnu status major 3 minor 6.3 year 2020 month 02 day 29 svn rev 77875 language R version.string R version 3.6.3 (2020-02-29) nickname Holding the Windsock 4.0.2: > sessionInfo() R version 4.0.2 (2020-06-22) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Arch Linux Matrix products: default BLAS: /usr/lib/libblas.so.3.9.0 LAPACK: /usr/lib/liblapack.so.3.9.0 locale: [1] LC_CTYPE=en_GB.utf8 LC_NUMERIC=C [3] LC_TIME=en_DK.utf8 LC_COLLATE=en_GB.utf8 [5] LC_MONETARY=nb_NO.utf8 LC_MESSAGES=en_GB.utf8 [7] LC_PAPER=nb_NO.utf8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=nb_NO.utf8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] compiler_4.0.2 > version _ platform x86_64-pc-linux-gnu arch x86_64 os linux-gnu system x86_64, linux-gnu status major 4 minor 0.2 year 2020 month 06 day 22 svn rev 78730 language R version.string R version 4.0.2 (2020-06-22) nickname Taking Off Again ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. ============================================================================================== WARNING - EXTERNAL: This email originated from outside of LGC. Do not click any links or open any attachments unless you trust the sender and know that the content is safe ============================================================================================== ******************************************************************* This email and any attachments are confidential. Any use...{{dropped:8}} ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.