Displaying 4 results from an estimated 4 matches for "do_unz".
Did you mean:
d_un
2006 May 02
1
compile R on Solaris 9
...ons.c:1818: structure has no member named `open64'
connections.c: In function `newouttext':
connections.c:1974: structure has no member named `open64'
connections.c: In function `do_sockconn':
connections.c:2094: structure has no member named `open64'
connections.c: In function `do_unz':
connections.c:2145: structure has no member named `open64'
connections.c: In function `do_open':
connections.c:2192: structure has no member named `open64'
connections.c: In function `do_readLines':
connections.c:2462: structure has no member named `open64'
connections.c:...
2010 Sep 20
0
unz() ignores encoding argument
...g a bit in the source code, the ultimate cause seems to be this line in the unz_open() C-level function, on line 359 of src/main/dounzip.c:
> /* set_iconv(); not yet */
Any ideas why this is commented out? The previous lines set up con->text appropriately and con->encname was set by do_unz(), so I don't see an obvious reason why the iconv layer can't be added.
I'm working on 2.11.1
> _
> platform i386-apple-darwin9.8.0
> arch i386
> os darwin9.8.0...
2024 Oct 25
1
readLines() and unz() and non-empty final line
Hi again,
The unz connection is non-blocking by default. I checked do_unz which calls
R_newunz which calls init_con and the only place in any of those functions
that sets 'blocking' is init_con which sets it to FALSE:
https://github.com/wch/r-source/blob/0c26529e807a9b1dd65f7324958c17bf72e1de1a/src/main/connections.c#L713
I'll open an issue on R-bugzilla an...
2024 Oct 24
3
readLines() and unz() and non-empty final line
But note:
> zip("hello.zip", "hello.txt")
updating: hello.txt (stored 0%)
> readChar(unz("hello.zip","hello.txt"),100)
[1] "hello"
I leave it to you and other wiser heads to figure out.
Cheers,
Bert
On Thu, Oct 24, 2024 at 8:57?AM Iris Simmons <ikwsimmo at gmail.com> wrote:
> Hi Mikko,
>
>
> I tried running a few