Displaying 20 results from an estimated 2000 matches similar to: "a general way to select a subset of matrix rows?"
2003 May 06
2
R vs SPSS output for princomp
Hi,
I am using R to do a principal components analysis for a class
which is generally using SPSS - so some of my question relates to
SPSS output (and this might not be the right place). I have
scoured the mailing list and the web but can't get a feel for this.
It is annoying because they will be marking to the SPSS output.
Basically I'm getting different values for the component
2018 Jan 18
3
Re: Could not destroy domain, current job is remoteDispatchConnectGetAllDomainStats
On 01/18/2018 08:25 AM, Ján Tomko wrote:
> On Wed, Jan 17, 2018 at 04:45:38PM +0200, Serhii Kharchenko wrote:
>> Hello libvirt-users list,
>>
>> We're catching the same bug since 3.4.0 version (3.3.0 works OK).
>> So, we have process that is permanently connected to libvirtd via socket
>> and it is collecting stats, listening to events and control the VPSes.
2004 Jun 23
5
assigning from multiple return values
I know that if I have a function that returns multiple values, I should
do return(list(foo, bar)). But what do I do on the recieving end?
fn <- function(x) {
return(list(foo, bar))
}
I know that at this point I could say
values.list <- fn(x)
and then access
values.list[1]
values.list[2]
But that's hideous. I'd rather be able to say something like
list(local_foo, local_bar)
2018 Jan 17
4
Could not destroy domain, current job is remoteDispatchConnectGetAllDomainStats
Hello libvirt-users list,
We're catching the same bug since 3.4.0 version (3.3.0 works OK).
So, we have process that is permanently connected to libvirtd via socket
and it is collecting stats, listening to events and control the VPSes.
When we try to 'shutdown' a number of VPSes we often catch the bug. One of
VPSes sticks in 'in shutdown' state, no related 'qemu'
2018 Jul 12
2
[PATCH v35 1/5] mm: support to get hints of free page blocks
On Thu 12-07-18 10:52:08, Wei Wang wrote:
> On 07/12/2018 10:30 AM, Linus Torvalds wrote:
> > On Wed, Jul 11, 2018 at 7:17 PM Wei Wang <wei.w.wang at intel.com> wrote:
> > > Would it be better to remove __GFP_THISNODE? We actually want to get all
> > > the guest free pages (from all the nodes).
> > Maybe. Or maybe it would be better to have the memory balloon
2018 Jul 12
2
[PATCH v35 1/5] mm: support to get hints of free page blocks
On Thu 12-07-18 10:52:08, Wei Wang wrote:
> On 07/12/2018 10:30 AM, Linus Torvalds wrote:
> > On Wed, Jul 11, 2018 at 7:17 PM Wei Wang <wei.w.wang at intel.com> wrote:
> > > Would it be better to remove __GFP_THISNODE? We actually want to get all
> > > the guest free pages (from all the nodes).
> > Maybe. Or maybe it would be better to have the memory balloon
2003 Feb 05
4
barplot default colors
Dear R-help,
Can some one explain why barplot() uses changing colors in the bars by
default? I should think that most of the time when people draw barplots,
they want the bars to be in the same color. (At least that's what I'd
expect. The first time I used barplot() in R, I was shocked to see the
colors.) As an example, one example in ?layout draws a scatterplot with
histograms drawn
2003 Feb 05
4
barplot default colors
Dear R-help,
Can some one explain why barplot() uses changing colors in the bars by
default? I should think that most of the time when people draw barplots,
they want the bars to be in the same color. (At least that's what I'd
expect. The first time I used barplot() in R, I was shocked to see the
colors.) As an example, one example in ?layout draws a scatterplot with
histograms drawn
2020 Nov 06
3
GVIM annoyances
I've just upgraded from my old F9 box to C7, which of course means lots
of changes.? However, the ones are are annoying me most are with VIM.
No matter what I do I can't get? gvim to open in a reasonable size. I
have a dual headed setup (laptop + external) and every time gvim opens
it takes up both screens.
I've tried a few suggestions including the one below without success.?
In
2018 Apr 20
2
[PATCH] kvmalloc: always use vmalloc if CONFIG_DEBUG_VM
On Thu, Apr 19, 2018 at 12:12:38PM -0400, Mikulas Patocka wrote:
> Unfortunatelly, some kernel code has bugs - it uses kvmalloc and then
> uses DMA-API on the returned memory or frees it with kfree. Such bugs were
> found in the virtio-net driver, dm-integrity or RHEL7 powerpc-specific
> code.
Maybe it's time to have the SG code handle vmalloced pages? This is
becoming more and
2018 Apr 20
2
[PATCH] kvmalloc: always use vmalloc if CONFIG_DEBUG_VM
On Thu, Apr 19, 2018 at 12:12:38PM -0400, Mikulas Patocka wrote:
> Unfortunatelly, some kernel code has bugs - it uses kvmalloc and then
> uses DMA-API on the returned memory or frees it with kfree. Such bugs were
> found in the virtio-net driver, dm-integrity or RHEL7 powerpc-specific
> code.
Maybe it's time to have the SG code handle vmalloced pages? This is
becoming more and
2006 Jun 27
1
TCNG issue - parent class restrictions are not honored
Hi,
I''ve been migrating an existing htb-based traffic shaper from a
hideous (I''m allowed to call it that - I wrote the damn atrocity myself)
tc shell script into a TCNG configuration file, and after a few false
starts I think I managed to get the syntax right.
However, during tests it looks like some of the tiers aren''t passing
their restrictions on to lower levels.
2018 Jul 12
1
[PATCH v35 1/5] mm: support to get hints of free page blocks
On Thu 12-07-18 19:34:16, Wei Wang wrote:
> On 07/12/2018 04:13 PM, Michal Hocko wrote:
> > On Thu 12-07-18 10:52:08, Wei Wang wrote:
> > > On 07/12/2018 10:30 AM, Linus Torvalds wrote:
> > > > On Wed, Jul 11, 2018 at 7:17 PM Wei Wang <wei.w.wang at intel.com> wrote:
> > > > > Would it be better to remove __GFP_THISNODE? We actually want to get
2003 Sep 16
8
Hangups after voicemail
Hi,
Try as I might, I can't get hangups detected on a Zap channel with loop start
lines. So, after someone leaves a voicemail and then hangs up, Asterisk
doesn't know it, exits VoicemailMain2, and loops back to the corporate
greeting, tying up the line even though the outside caller has hung up.
Therefore, I've added the following hideous hack - er, code - to voicemail2.c.
It
2009 Feb 23
1
why results from regression tree (rpart) are totally inconsistent with ordinary regression
Hi,
In my analysis of impacts of insecticide-treated bednets on malaria, I
look at the relationship between malaria incidence and mosquito
behaviors. The condensed data set is copied here. Ordinary regression
(lm) shows that Incidence was negatively related to Mortality. This
makes sense because the latter reflected the strength of killing
mosquitoes by insecticide-treated nets. Since the
2008 Feb 22
2
ActiveRecord::DangerousAttributeError ???
Hi,
For some reason, this harmless block of code in my application
controller
def index
@wide = true
end
is causing this hideous error. I have read the error means that the
error is raised when attribute has a name reserved by ActiveRecord.
Does that mean that none of my models can have columns named "toggle"?
Here is the error and framework trace:
2008 May 02
4
spec''ing calls to super (or other Ruby keywords)
Hi there,
How does one spec an invocation of a Ruby keyword, such as super in this
case?
class User < ActiveResource::Base
# faking the ActiveRecord before/after_save observers
def save
super
UserMailer.deliver_activation(self) if recently_activated?
end
end
Does the solution look anything like the following?
describe User do
describe ''#save'' do
it
2007 Jul 05
0
[LLVMdev] new website prototype
On 05 Jul 2007, at 08:32, Chris Lattner wrote:
> At this point, I'm interested in feedback and help. I've only
> tried the
> page with one browser, so it's entirely possible it looks like a
> monkey's
> armpit on other popular browsers. There is still a ton of missing
> content
> that needs to be filled in. The site also currently just includes
>
2006 Dec 18
1
Plotting individual survival plots
Using the survival library, it is possible to get a plot of all the subjects
in a sample and it is possible to get a plot of all subgroups in the same
plot. How does one get a separate plot for each subgroup?
plot(survfit(Surv(time,death==1)~group),col=1:10)
The above results in a hideous graphic representation.
I would prefer to specify
par(mfrow = c(2, 5))
and have each plot separately
--
2006 Jan 27
1
Previously compilation procedure on Mac OS X no longer works
Hi,
I was a happy user of Peter Parks' package (see http://www.chip.org/
~ppark/Supplements/PNAS05/) and could compile it without error under
Mac OS X 10.4. I then had a disk crash and had to re-install the
developer tools and now I get hideous messages such as the one
below. I have tried installing an earlier version of Mac OS X
developer tools. No joy, Could anyone put me out of