Skip to content
Prev 8987 / 15075 Next

Crash on pasting large amounts of text.

On May 2, 2012, at 4:59 PM, Demitri Muna wrote:

            
snipped
I agree that this should not crash R although your didn't really  
describe what that means. I did notice that an exclamation point was  
in there near the end, because my editor break long lines at "!" and  
that is not a valid numeric content as far as I know.

When I follow your suggestion I get an error message showing even more  
than one exclamation point:

 > x =  
c(2300.2654319061871320,2300.7951485790772495,2301.3249872377800784,2301.8549479103917292,2302.3850306250055837,2302.9152354097309399,2303.4455622926739125,2303.9760113019560777,2304.5065824656971927,2305.0372758120324761,2305.5680913690957823,2306.0990291650282416,2306.6300892279846266,2307.1612715861160723,2307.6925762675905389,2308.2240033005723490,2308.7555527132417410,2309.2872245337762251,2309.8190187903692276,2310.3509355112119010,2310.8829747245094950,2311.4151364584663497,2311.9474207413013573,2312.4798276012311362,2313.0123570664882209,2313.5450091653019626,2314.0777839259180837,2314.6106813765782135,2315.1437015455412620,2315.6768444610625011,2316.2101101514140282,2316.7434986448656673,2317.2770099696954276,2317.8106441541945060,2318.3444012266500067,2318.8782812153663144,2319.4122841486450852,2319.9464100548025272,2320.4806589621530293,2321.0150308990268968,2321.5495258937507970,2322.0841439746677679,2322.6188851701185740,2323.1537495084589864,2323.6887370180!
Error: unexpected '!' in  
"7.8106441541945060,2318.3444012266500067,2318.8782812153663144,2319.4122841486450852,2319.9464100548025272,2320.4806589621530293,2321.0150308990268968,2321.5495258937507970,2322.08414397466776 
"

I do have an older version:
 >  sessionInfo()
R version 2.14.1 Patched (2012-01-02 r58038)
Platform: i386-apple-darwin9.8.0/i386 (32-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

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

other attached packages:
[1] lattice_0.20-0 gridExtra_0.9

loaded via a namespace (and not attached):
[1] tools_2.14.1


David Winsemius, MD
Heritage Laboratories
West Hartford, CT