search for: hwrite

Displaying 14 results from an estimated 14 matches for "hwrite".

Did you mean: write
2009 Apr 30
1
newbie HWRITER package question
Hi, I am playing with hwriter examples given in "example" page. Here's what I've done: > library (hwriter) > > p = openPage ('table.html') > hwrite (1:5, p) > hwrite (iris[1:3, 1:3], p, row.bgcolor='#ffdc98') > closePage (p) > > browseURL('table.html') What...
2010 Aug 26
1
[PATCH] New APIs: hopen-device hopen-file hread hwrite hseek hclose hclose-all
...; + } + + ssize_t in = read(handle, buf, size); + if (in < 0) { + reply_with_perror_errno(errno, "error reading from handle %i", handle); + goto error; + } + + *size_r = in; + return buf; +error: + free(buf); + return NULL; +} + +int /* RErr */ +do_hwrite (int handle, const char *content, size_t content_size) +{ + size_t pos = 0; + while (pos < content_size) { + ssize_t out = write(handle, content + pos, content_size - pos); + + if (out < 0) { + reply_with_perror_errno(errno, "error writing to handle %i&quot...
2012 Jul 30
1
Accents and special character using hwriter (on Windows)
Hello, I have a problem with special characters such as "?" or "?" when using hwriter. This only happens when I use windows, it works fine on mac. If I do: print(datosdv) "Ciencias Sociales y Jur?dicas n:74 | 33.94%" but: hwrite(datosdv, p, br=TRUE) "Ciencias Sociales y Jur?dicas n:74 | 33.94%" The bad sign is in the code, is not a problem of the encoding...
2009 Jun 02
1
my little r is sick
Hi, Suddenly, I find my little r is sick. Given: #! /usr/bin/env r library (hwriter) unlink ('tmp.html') p = openPage ('tmp.html') hwrite ("Hello World", p) closePage (p) browseURL ('tmp.html') It worked fine a few days ago, but now it says: r: error while loading shared libraries: libR.so: cannot open shared object file: No such...
2009 Sep 20
2
xtable + print (html)
hi, I want html code via the xtable package. I have a data.frame and tried to use the print()-function. But I only get the data.frame printed - no html arround it. what do I have to change? thanks!
2011 May 09
3
converting a matrix or data.frame into an html table
Dear all, Is there a function in R to convert a matrix or a data.frame into an html table? Many thanks, Samuel [[alternative HTML version deleted]]
2010 Aug 23
1
Proposed new file apis
I've attached a patch to generator.ml for the proposed new file apis. Note that hread, hpread, hwrite and hpwrite are slightly different to the apis I proposed previously. I've also added hallocate for good measure. Matt -- Matthew Booth, RHCA, RHCSS Red Hat Engineering, Virtualisation Team GPG ID: D33C3490 GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490 -------------- next part...
2010 Sep 20
2
[PATCH 0/2] Implement upload-offset, download-offset APIs, and hexedit guestfish command
...Since these calls use the streaming FileIn/FileOut part of the protocol, they are both efficient and unlimited in the amount and type of data that can be streamed. http://libguestfs.org/guestfs.3.html#functions_that_have_filein_parameters I also wrote the hexedit command using the putative hread/hwrite API and the code was much longer and more involved. Although there is an advantage to hread/hwrite which is you can read and write to and from memory. The second part of the patch implements the hexedit command itself in guestfish. Rich. -- Richard Jones, Virtualization Group, Red Hat http://p...
2010 Dec 01
3
Save R2HTML as an object instead of file
Hi Is it possible to instead of getting the HTML code written to a file, get it saved as a string in an object instead? Or is there any kind of package that can do this? //Joel -- View this message in context: http://r.789695.n4.nabble.com/Save-R2HTML-as-an-object-instead-of-file-tp3066776p3066776.html Sent from the R help mailing list archive at Nabble.com.
2010 Jan 03
3
R2HTML Report number format, or Better Way?
Here I am again with question I'll feel foolish for asking, when I see the answer. I'm trying to produce a report and here's where I get stuck: How do I get R2HTML to produce the same number format? Particularly remove the decimal places for Par and Sal. Are there better methods to produce this type of report? Thanks, L.A. R version 2.10.0 XP
2010 Sep 21
2
[PATCH 0/2] *** SUBJECT HERE ***
*** BLURB HERE *** Matthew Booth (2): New APIs: hopen-device hopen-file hread hwrite hseek hclose hclose-all Update pwrite to write a full buffer daemon/.gitignore | 1 + daemon/Makefile.am | 1 + daemon/file.c | 20 ++- daemon/hfile.c | 249 ++++++++++++++++++++++++++++++++++++++++ daemon/m4/gnulib-cache.m4...
2009 Jul 28
2
formatting in r
Hello, I have output that I want to print out. I am having a few issues. 1] output u to power is really nothing more than a 2 x 11 set of values formed using cbind function and printed out as a data frame How can I get it to output over several lines such as seen here? 2] Critical Z etc. were added by hand. I need an example of how I can mix alphanumeric and numeric data on
2010 Sep 21
1
[PREVIEW ONLY] Refactor data transfer code
This patch refactors the data transfer code with several goals: * Have a common read(source)/write(target) loop so that common processing can happen in the middle of it, e.g. format change/progress bar * Provide volume metadata to transfers to allow smarter reading/writing, e.g. of sparse files * Simplify the data transfer code The patch *isn't* NFC because there are some minor behaviour
2009 Jan 16
0
Wine release 1.1.13
...winmm/tests: Fix handle casting warnings on 64-bit. user32/tests: Fix pointer casting warnings on 64-bit. user32/tests: Fix some printf formats for 64-bit. kernel32/tests: Fix pointer casting warnings on 64-bit. kernel32/tests: Don't compare the result of llseek or hwrite against HFILE_ERROR. kernel32/tests: Fix the NT header initialization for 64-bit. kernel32/tests: Use the correct SIZE_T type instead of unsigned long. msvcrt/tests: Use unsigned int instead of size_t for the malloc tests. msvcrt/tests: Fix some printf formats for 64-bit....