Displaying 20 results from an estimated 20000 matches similar to: "parse (PR#2104)"
2002 Jul 19
1
read.table bug (PR#1809)
Full_Name: Michael McStephen
Version: 1.5.1
OS: Win2000
Submission from: (NULL) (203.25.148.63)
When using read.table to read a data file section by section, I get an error
that indicates R is attempting to read more "fields" than exist.
The Data file looks like this:
---Start of file tmp.txt-----------
Response Types = TPos TNeg FPos FNeg Anti Post MaxO
Test ID,Username,Start
2002 Mar 05
3
reading 2-byte integers using readBin and connections
Hi folks:
This may be a stupid question, but I cannot seem to find a way to tell
readBin that I want to read 2-byte integers from the connection. The input
file is 150,720 bytes long containing 75,360 short (2-byte) integers. But
specifying "integer" or "int" for what in readBin only returns me a vector
of length 37680, leading me to believe that sizeof(integer) or
2002 Aug 07
1
Change in NA_REAL behavior (PR#1886)
Full_Name: David Larsen
Version: 1.5.1
OS: Redhat 7.2, w98, w2000
Submission from: (NULL) (128.206.66.65)
I have c code that produces vector sequences for plotting. I use NA_REAL to
create an NA that will pass back to R to break the line. This code worked fine
upto R-1.5.0 It continues to work on Redhat7.2 Linux but on both windows98 and
windows2000 the NA_REAL returns -6.623485e-229 on both
2009 Apr 16
1
NULL pointer dereference at __switch_to() ( __unlazy_fpu ) with lguest PAE patch
Hi,
For some days I have been looking for the bug that causes an easily reproducible oops in the guest
when I apply my PAE support _draft_ patch (appended at the end of this mail) to lguest.
This is the oops:
Setting kernel variables...done.
Will now mount local filesystems:.
Will now activate swapfile swap:done.
Cleaning /tmp...
[ 84.749676] BUG: unable to handle kernel NULL pointer
2009 Apr 16
1
NULL pointer dereference at __switch_to() ( __unlazy_fpu ) with lguest PAE patch
Hi,
For some days I have been looking for the bug that causes an easily reproducible oops in the guest
when I apply my PAE support _draft_ patch (appended at the end of this mail) to lguest.
This is the oops:
Setting kernel variables...done.
Will now mount local filesystems:.
Will now activate swapfile swap:done.
Cleaning /tmp...
[ 84.749676] BUG: unable to handle kernel NULL pointer
2007 May 14
5
[PATCH 1/6] lguest: host code tidyups
Christoph Hellwig said runs sparse:
1) page_tables.c unnecessary initialization
2) Change prototype of run_lguest and do cast in caller instead (when we add
__user to cast, it runs over another line).
Al Viro pointed out the ugly cast in push_lguest_stack():
3) Stick with unsigned long for arg, removes 4 casts in total.
Most importantly, I now realize that Christoph's incorrect ranting
2007 May 14
5
[PATCH 1/6] lguest: host code tidyups
Christoph Hellwig said runs sparse:
1) page_tables.c unnecessary initialization
2) Change prototype of run_lguest and do cast in caller instead (when we add
__user to cast, it runs over another line).
Al Viro pointed out the ugly cast in push_lguest_stack():
3) Stick with unsigned long for arg, removes 4 casts in total.
Most importantly, I now realize that Christoph's incorrect ranting
2012 Feb 10
2
naiveBayes: slow predict, weird results
I did this:
nb <- naiveBayes(users, platform)
pl <- predict(nb,users)
nrow(users) ==> 314781
ncol(users) ==> 109
1. naiveBayes() was quite fast (~20 seconds), while predict() was slow
(tens of minutes). why?
2. the predict results were completely off the mark (quite the opposite
of the expected overfitting). suffice it to show the tables:
pl:
android blackberry ipad
2009 Mar 26
1
[PATCH 3/5] lguest: avoid accidental recycling of pgdir pages
Impact: potential bugfix
In theory, the kernel could reuse the same page as pgdir for a new process
while the hypervisor keeps it cached. This would have undesirable results.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
---
arch/x86/include/asm/lguest_hcall.h | 1 +
arch/x86/lguest/boot.c | 8 ++++++++
drivers/lguest/hypercalls.c | 3 +++
2009 Mar 26
1
[PATCH 3/5] lguest: avoid accidental recycling of pgdir pages
Impact: potential bugfix
In theory, the kernel could reuse the same page as pgdir for a new process
while the hypervisor keeps it cached. This would have undesirable results.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
---
arch/x86/include/asm/lguest_hcall.h | 1 +
arch/x86/lguest/boot.c | 8 ++++++++
drivers/lguest/hypercalls.c | 3 +++
2014 Sep 11
3
blk-mq crash under KVM in multiqueue block code (with virtio-blk and ext4)
Folks,
we have seen the following bug with 3.16 as a KVM guest. It suspect the blk-mq rework that happened between 3.15 and 3.16, but it can be something completely different.
[ 65.992022] Unable to handle kernel pointer dereference in virtual kernel address space
[ 65.992187] failing address: ccccccccccccd000 TEID: ccccccccccccd803
[ 65.992363] Fault in home space mode while using kernel
2014 Sep 11
3
blk-mq crash under KVM in multiqueue block code (with virtio-blk and ext4)
Folks,
we have seen the following bug with 3.16 as a KVM guest. It suspect the blk-mq rework that happened between 3.15 and 3.16, but it can be something completely different.
[ 65.992022] Unable to handle kernel pointer dereference in virtual kernel address space
[ 65.992187] failing address: ccccccccccccd000 TEID: ccccccccccccd803
[ 65.992363] Fault in home space mode while using kernel
2009 Jul 24
2
suggestion for paired t-tests
There's a funny inconsistency in how t.test handles paired=T or paired=F. If x
and y parameters are lists, paired=F works, but paired=T doesn't.
> lg=read.csv("my.csv")
> a = subset(lg, condition=="a")["score"]
> b = subset(lg, condition=="b")["score"]
> t.test(a,b)
> t.test(a,b, paired=TRUE)
Error in `[.data.frame`(y, yok)
2011 Sep 21
1
Power calculation for survival analysis
useR's,
I am trying to do a power calculation for a survival analysis using a
logrank test and I need some help properly doing this in R. Here is the
information that I know:
- I have 2 groups, namely HG and LG
- Retrospective analysis with subjects gathered from archival data over 20
years. No new recruitment of subjects and no estimated time to target
accrual and accrual rate.
- Survival
2011 Apr 06
2
glm predict on new data
I am aware this has been asked before but I could not find a resolution.
I am doing a logit
lg <- glm(y[1:200] ~ x[1:200,1],family=binomial)
Then I want to predict a new set
pred <- predict(lg,x[201:250,1],type="response")
But I get varying error messages or warnings about the different number of
rows. I have tried data/newdata and also to wrap in data.frame() but cannot
get
2000 Oct 06
1
quasi-symmetry loglinear models
Hi All,
I'm trying to implement a quasi symmetry model for data on twin
pairs. A crosstabulation of twin 1 by twin 2 (assumed symmetrical)
stratified by another variable. There is a good paper on this by
Phil (?) McCloud and Darroch in Biometrika (1995) which explains the
method, but I've not done this before so am not clear how to code
these models.
Any help would be greatly
2008 Jan 17
1
[PATCH 0/7] More lguest massage.
This series takes one more step towards cpu-ification of lguest.
As for rusty's last suggestion, I get rid of the whole bunch
of "struct lguest *lg = cpu->lg" statements around by using
lg_cpu as our base structure wherever it matters. (this saves us
11 lines)
2008 Jan 17
1
[PATCH 0/7] More lguest massage.
This series takes one more step towards cpu-ification of lguest.
As for rusty's last suggestion, I get rid of the whole bunch
of "struct lguest *lg = cpu->lg" statements around by using
lg_cpu as our base structure wherever it matters. (this saves us
11 lines)
2007 Jun 05
6
xen network Dom0
hi,
i''ve tried again Debian testing, with xen 3.1 binary.
it works fine but i can''t have the networt working:
i''ve have an ethernet card with
static IP: 172.20.2.160
gateway: 172.20.2.1
uname -r :2.6.18-xen
without xen, the network works fine.
here''s my output:
eth0 Lien encap:Ethernet HWaddr 00:0F:FE:6B:57:32
inet adr:172.20.2.160
2007 May 10
4
[PATCH 0/5] lguest feedback tidyups
Hi all,
Gratefully-received recent feedback from CC'd was applied to excellent
effect (and the advice from Matt Mackall about my personal appearance is
best unrequited).
The patch is split in 5 parts to correspond with the 9 parts Andrew
sent out before, but here's the summary:
1) Sparse (thanks Christoph Hellwig):
- lguest_const can be static now
- lguest.c should include