Displaying 2 results from an estimated 2 matches for "8stack".
Did you mean:
stack
2003 Sep 01
1
Re: [R] File Reading Problem (PR#4043)
...all,
> I am trying to read characters byte by byte(in their ASCII codes) from a
>file
I was going to suggest using readBin, but there seems to be a bug:
> con <- file('c:/test.txt','rb')
> readBin(con,'c',15,1)
stack imbalance in internal readBin, 9 then 8stack imbalance in
.Internal, 8 then 7
stack imbalance in {, 6 then 5
NULL
Error: unprotect(): stack imbalance
This was in today's r-devel build for Windows, but the bug also shows
up in 1.7.1. I'll look into it.
Duncan Murdoch
2003 Sep 01
2
File Reading Problem
Dear all,
I am trying to read characters byte by byte(in their ASCII codes) from a
file(already transferred from text file to a file of ASCII codes, by C
language). I am using scan() function. But it seems that this is impossible.
If I read data as 'character' type, data are read word by word,
separated by spaces(though in default setting, sep=""). e.g. if a file
contains