Re: [R] troubles reading a text file

2012-12-15 Thread David Winsemius
On Dec 15, 2012, at 8:45 PM, David Winsemius wrote: > > >> >> Trying read.csv gives this: >> >> >> Error: cannot allocate vector of size 370.5 Mb > > That on the other hand suggests you have inadequate machine resources for > this job. Perhaps you should be thinking of using other tools th

Re: [R] troubles reading a text file

2012-12-15 Thread David Winsemius
On Dec 15, 2012, at 2:23 PM, wrote: > Dear R experts, > > For quite some time I have been trying to solve a mistery of reading a > seemingly trouble-free text file. The data is temperature reconstruction > arranged as a huge grid, preceded by seven "header lines" (which you see > better if f

Re: [R] troubles reading a text file

2012-12-15 Thread Jeffrey Dick
Hi Igor, It appears that the encoding is UTF-16. > readLines("temp-mon.txt") [1] "þÿ" "" "" "" "" "" "" "" "" "" "" "" "" [14] "" "" "" "" "" "" "" A search for "þÿ" leads to the Wikipedia page http://en.wikipedi

[R] troubles reading a text file

2012-12-15 Thread Igor.Drobyshev2
Dear R experts, For quite some time I have been trying to solve a mistery of reading a seemingly trouble-free text file. The data is temperature reconstruction arranged as a huge grid, preceded by seven "header lines" (which you see better if file is opened in Firefox or Chrome). This is the d