Displaying 20 results from an estimated 10000 matches similar to: "R's documentation"
2009 May 28
3
how to avoid add 'X' before numeric colnames when read.table
Hi all,
Is there any way to keep numeric colnames as is? Any hint will be appreicated.
Xin Zheng
[[alternative HTML version deleted]]
2009 Apr 14
2
any other fast method for median calculation
Hi there,
I got a data frame with more than 200k columns. How could I get median of each column fast? mapply is the fastest function I know for that, it's not yet satisfied though.
It seems function "median" in R calculates median by "sort" and "mean". I am wondering if there is another function with better algorithm.
Any hint?
Thanks,
Xin Zheng
2011 Apr 07
1
anyway to get R unevaluated expr independent on arguments
Hi there,
Suppose the cmd is "a<-3", I can parse the cmd sexp with R_ParseVector and eval it. My question is - is it possible to parse a cmd like "a <- ?", afterwards evaluation will give corresponding result depend on different argument? In other words, '?' is just a placeholder.
Thanks.
Xin
[[alternative HTML version deleted]]
2009 May 29
1
'mean' is not reverted in median() as NEWS says (PR#13731)
Full_Name:
Version: 2.9.0
OS: windows, linux
Submission from: (NULL) (128.231.21.125)
In NEWS, it says "median.default() was altered in 2.8.1 to use sum() rather
than mean(), although it was still documented to use mean().
This caused problems for POSIXt objects, for which mean() but
not sum() makes sense, so the change has been reverted."
But it's not reverted yet.
2008 Nov 07
1
RJS show as 'try...' in AJAX update
Hi guys,
I am trying to display Javascript code after an Ajax call. It is
executing the JS code, but it''s also displaying it. It shows as:
try {
alert(...);
} catch ..
...
my controller code:
render :update do |page|
page.alert message_var
end
my Javascript code:
new Ajax.Updater("div_id", my_controller_url,
{ asynchronous: true,
evalScripts: true,
2010 Dec 07
9
[PATCH] Btrfs: pwrite blocked when writing from the mmaped buffer of the same page
This problem is found in meego testing:
http://bugs.meego.com/show_bug.cgi?id=6672
A file in btrfs is mmaped and the mmaped buffer is passed to pwrite to write to the same page
of the same file. In btrfs_file_aio_write(), the pages is locked by prepare_pages(). So when
btrfs_copy_from_user() is called, page fault happens and the same page needs to be locked again
in filemap_fault(). The fix is to
2006 Oct 11
1
RE: W2K3 Server Installation fails with ACPI=1 on
Steven,
I found where the difference is, it may be my fault:
My changeset number + 1 = your changeset number.
My 11160 is your 11159, and my 11161 is your 11160.
Attached please see those patches,
Thanks,
Winston,
-----Original Message-----
From: Steven Smith [mailto:sos22@hermes.cam.ac.uk] On Behalf Of Steven
Smith
Sent: Wednesday, October 11, 2006 10:33 AM
To: Wang, Winston L
Cc: Stefan Berger;
2005 Sep 10
4
Issue tracking in packages [was: Re: [R] change in, read.spss, package foreign?]
I would vote for allowing a URL or external file name in in DESCRIPTION,
whose contents could be automatically displayed for the user when
needed. Our changelogs are automatically generated by CVS and are on
the web.
--
Frank E Harrell Jr Professor and Chair School of Medicine
Department of Biostatistics Vanderbilt University
2007 May 24
3
Exception Notification Plugin Question
Hi,
I have two questions re the Exception Notifier plugin (i.e. which you
install via "ruby script/plugin install exception_notification")
Q1 - In it''s current setup (where it uses /public/500.html) is it possible
to remove the "Status: 500 Internal Server Error Content-Type: text/html"
text which seems to mysteriously get place at the top of the page?
Q2 -
2006 Mar 29
1
calling R's optimization routines from C
Hi,
I have read R's Writing Extensions manual and am still confused about how to
use some of the routines there when I call from C. Specifically, I am writing a
little test function which I will optimize using the nmmin function which
underlies R's optim() with Nelder-Mead. I guess I wonder what library/header
files I should be using. I was using R_ext/Applic.h and linking with libR but I
2003 Jul 30
6
reverse array indexing
Hi,
Suppose I have a multidimensional array:
tmp <- array(1:8, c(2,2,2))
is there a function out there that, given a one-dimensional array index,
will
return the separate indices for each array dimension?
for instance, tmp[8] is equivalent to tmp[2,2,2]. I'd like to derive the
vector (2,2,2)
from the index 8.
thanks,
Brad Buchsbaum
2006 Jul 14
4
VMX status report 10680:f692a0a476c5
We have tested the latest xen on VT platform with Intel 915/E8500
chipset.
Here is the test summary:
Issues:
- Cannot boot Four VMX at same time on IA32 host
- Cannot boot Windows XP SP1/SP2 on IA32e host
- Create IA32-PAE VMX on IA32e host will make VMX kernel panic
- Create IA32 VMX on IA32e host will make VMX hang
- Destroying VMX with 4G memory may make xend hang on IA-32e
IA-32:
-
2006 Jun 21
15
[PATCH] patch to buffer write ioreq
This patch implements a new mechanism to buffer the MMIO_WRITE and
PIO_WRITE packet in a queue, and then submit them to qemu-dm in batch.
This could save a lot of domain switch time. We implement this as a
generic one to do ioreq in batch. However, we only use it to batch the
MMIO_WIRTE request for stdvga(0xA0000-0xC0000) in order to solve the
win2k boot issue for hvm domain.
Without this patch,
2009 Jan 29
19
ZFS extended ACL
What is wrong with this?
# chmod -R A+user:webservd:add_file/write_data/execute:allow /var/apache
chmod: invalid mode: `A+user:webservd:add_file/write_data/execute:allow''
Try `chmod --help'' for more information.
This works in a zone, works on S10u5, does not work on OpenSolaris2008.11.
CT
2006 Oct 12
9
[PATCH] an obvious fix to PIC IO intercept
an obvious fix to PIC IO intercept.
In PIC IO, address from send_pio_req is physical address already.
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
Signed-off-by: Xin Li <xin.b.li@intel.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
2008 May 09
14
[PATCH] patch to support super page (2M) with EPT
Attached are the patches to support super page with EPT. We only support
2M size. And shadow may still work fine with 4K pages.
The patches can be split into 3 parts. Apply order is as attached.
tool.diff
To allocate 2M physical contiguous memory in guest except the first 2M
and the last 2M.
The first 2M covers special memory, and Xen use the last few pages in
guest memory to do special
2010 Feb 12
5
logical operations with lists
Sorry, maybe it's easy but I haven't found anything useful:
how can I obtain a list C that contains all the members in the list B that are not in list A? This are lists of nanes, not numbers!
Thank you
Gabriele Zoppoli, MD
Ph.D. Fellow, Experimental and Clinical Oncology and Hematology, University of Genova, Genova, Italy
Guest Researcher, LMP, NCI, NIH, Bethesda MD
Work: 301-451-8575
2005 Sep 15
3
Xend can not start
With changeset 6869, I can _not_ start xend.
Did anybody else meet the same issue?
[root@xin ~]# xend start
Traceback (most recent call last):
File "/usr/sbin/xend", line 32, in ?
from xen.xend.server import SrvDaemon
File
"/home/xin/work/xmp/xen32-smp/dist/install/usr/lib/python/xen/xend/serve
r/SrvDaemon.py", line 30, in ?
File
2006 Mar 02
2
[PATCH ] don''t compile HVM_DBG_LOG into xen by default
Don''t compile HVM_DBG_LOG into xen by default.
Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2007 Oct 17
7
[VTD][RESEND]add a timer for the shared interrupt issue for vt-d
Keir,
It''s a resending patch for the timeout mechanism to deal with the shared
interrupt issue for vt-d enabled hvm guest.
We modify the patch following your comments last time and make some
other small fix:
1) We don''t touch the locking around the hvm_dpci_eoi().
2) Remove the HZ from the TIME_OUT_PERIOD macro which may confuse
others.
3) Add some