I think you should be using a raw type to hold such data in R. It is not
intentional that readChar handles embedded nuls (and in fact it might not
in an MBCS).
As ?serialize says
For 'serialize', 'NULL' unless 'connection=NULL', when the result
is stored in the first element of a c
On Thu, 30 Mar 2006, Jeff Henrikson wrote:
> r-help,
[Moved to R-devel.]
> The R manual lists two types of memory: transient and user-controlled.
> If I have transient blocks reachable from the globals only by traversal
> through user-controlled blocks, will they be correctly preserved?
I don't
Dear All,
I have seen a number of e mails on this topic but I have not seen a
general solution to date. I have Fortran and C source codes and they
have been compiled successfully using:
R CMD build mypackage
And
R CMD install mypackage
Without error messages.
I then open R
Sorry, so used to it being bundled that I didn't realize lattice was a
"contributed package".
Ben
Deepayan Sarkar wrote:
>
>
>1. Bugs in packages should be reported to the maintainer, not R-bugs.
>
>2. This already works as it should in R 2.3.0 alpha
>
>-Deepayan
>
>
Sorry, so used to it being bundled that I didn't realize lattice was a
"contributed package".
Ben
Deepayan Sarkar wrote:
>
>
>1. Bugs in packages should be reported to the maintainer, not R-bugs.
>
>2. This already works as it should in R 2.3.0 alpha
>
>-Deepayan
>
>
Is this possible? I've tried both writeChar() and writeBin() to no avail.
My goal is to serialize(ascii=FALSE) an object to a connection but
determine the size of the serialized object before hand:
sobject <- serialize(object,NULL,ascii=FALSE)
len <- nchar(sobject)
#
# run some code here to noti
Trying again...
On Thursday 30 March 2006 15:19, [EMAIL PROTECTED] wrote:
> Full_Name: Ben Tyner
> Version: 2.2.0
> OS: i686-pc-linux-gnu
> Submission from: (NULL) (128.210.141.240)
>
>
> My appologies if this has already been fixed, but I didn't see it in the
> tracking system yet so I thought
T24gMy8zMC8wNiwgYnR5bmVyQHN0YXQucHVyZHVlLmVkdSA8YnR5bmVyQHN0YXQucHVyZHVlLmVk
dT4gd3JvdGU6Cj4gRnVsbF9OYW1lOiBCZW4gVHluZXIKPiBWZXJzaW9uOiAyLjIuMAo+IE9TOiBp
Njg2LXBjLWxpbnV4LWdudQo+IFN1Ym1pc3Npb24gZnJvbTogKE5VTEwpICgxMjguMjEwLjE0MS4y
NDApCj4KPgo+IE15IGFwcG9sb2dpZXMgaWYgdGhpcyBoYXMgYWxyZWFkeSBiZWVuIGZp
Full_Name: Ben Tyner
Version: 2.2.0
OS: i686-pc-linux-gnu
Submission from: (NULL) (128.210.141.240)
My appologies if this has already been fixed, but I didn't see it in the
tracking system yet so I thought I'd report it. Demonstration:
xyplot(Petal.Length ~ Petal.Width | Species, iris,
st
Ditto for me, with the following exceptions:
- I always use save(..., compress=TRUE), without exception.
- The only time I'd use save.image() is when I need to break a remote
connection on short notice.
- I have not used options() to set the default simply because I have not
figured out how exactl
Prof Brian Ripley wrote:
> I have changed the default in save() to compress = !ascii. This seems
> quite safe, as almost always save() is called explicitly and people will
> appreciate that it might take a little time to save large objects (and
> depending on your system, compression could eve
Madams & Sirs,
I am working on porting some R code to one of our servers to run under web or
crontab direction. With that in mind I have been working on directing
informative, warning, and error messages to outputs as I require. I would like
to suggest a change to the "warnings" function; th
I have changed the default in save() to compress = !ascii. This seems
quite safe, as almost always save() is called explicitly and people will
appreciate that it might take a little time to save large objects (and
depending on your system, compression could even be faster).
Should we also chang
Michael Dondrup wrote:
> Kim Carter wrote:
>
>>Hi
>>
>>I am looking for assistance with setting up R under Sun grid engine 6
>>(6.0-update7). I would like to set up transparent interactive access
>>to R using either a qlogin or qrsh solution. While it basically works
>>using either method, I reach
Dear R-developers,
Wouldn't it make sense to document the aic function in family
objects?
I'm currently writing an R-program which makes use of the
log-likelihood function of e.g. a logistic regression model or a
poisson regression model. As I have observed, the aic function
in a family object c
On Thu, 30 Mar 2006, Patrick Burns wrote:
> I haven't been following all of this thread, but
> it reminds me of a bug that was in S-PLUS not
> too long ago where dimnames could sometimes
> be numeric. This caused some problems that
> were very hard to track down because there were
> no visual clu
The code has
s = INT_MAX;
for (i = 0; i < n; i++) {
if (x[i] != NA_INTEGER) {
if (s > x[i]) {
s = x[i];
if(!updated) updated = 1;
}
}
else if (!narm) {
if(!updated) updated = 1;
*value
[EMAIL PROTECTED] writes:
> Full_Name: Martin Schlather
> Version: 2.2.0 and alpha 2.3.0 (06/3/29)
> OS: Linux (x86_64 and Intel)
> Submission from: (NULL) (139.11.183.106)
>
>
> > min(.Machine$integer.max, 10^20)
> [1] 1e+20
>
> > min(as.integer(.Machine$integer.max), 10^20)
> [1] 1e+20
>
>
Full_Name: Martin Schlather
Version: 2.2.0 and alpha 2.3.0 (06/3/29)
OS: Linux (x86_64 and Intel)
Submission from: (NULL) (139.11.183.106)
> min(.Machine$integer.max, 10^20)
[1] 1e+20
> min(as.integer(.Machine$integer.max), 10^20)
[1] 1e+20
but
> min(.Machine$integer.max + 0, 10^20)
[1] 214748
before getting scolded for submitting a (non-)bug report:
when using the 'symbols' function for plotting boxplot data (i.e. using
'boxplots' symbols), I noted that the x/y-position of the symbols is
associated with the center of the box.
while this is obviously natural for a usual plotting symbol
Full_Name: Gael Millot
Version: 2.2.0.
OS: XP
Submission from: (NULL) (195.220.102.20)
Hello.
I sent an Email in r-help without answer for the moment.
I am wondering if it could have a mistake
in the code of the ansari.test function. For me, it seems that the function
do not recover the p value
I haven't been following all of this thread, but
it reminds me of a bug that was in S-PLUS not
too long ago where dimnames could sometimes
be numeric. This caused some problems that
were very hard to track down because there were
no visual clues of what was really wrong.
I've been pleased not to
I believe this was intended to be a followup to PR#8713 but has opened a
new report, so I am replying to re-file it in the correct place.
You can read the source code to find out what happens (as anyone else
looking into this would need to).
I currently have
Argument \code{inches} controls
23 matches
Mail list logo