Displaying 20 results from an estimated 20000 matches similar to: "About How to check if a html directory exists"
2012 Jun 06
1
How to label certain values on a curve?
Hi all,
I have drawn a curve in R and observed some interesting values, I wonder if
there is any method to mark certain values on this curve, so that I
can manually choose the point and know the exact value of this point
simultaneously? I appreciate your suggestions and advice!
Thanks a lot!
Wendy
[[alternative HTML version deleted]]
2011 Aug 20
2
reshape a matrix
Hi all,
I have a data.frame like following
A<-c('d0','d0','d1','d1','d2','d2')
B<-rep(c('control','sample'),3)
C<-c(rep(100000,2),200,300,400,500)
dataframe<-data.frame(A,B,C)
I want to reshape the matrix, so the matrix with 'd0', 'd1' and 'd2' in rows
and 'control' and 'sample'
2010 Jul 19
1
Calculation of Covariance Matrix Calculation
Hi,
Excuse me for asking this silly question. But I really couldn't understand
why cov() and ccov() don't work for my calculation of covariance matrix.
a <- matrix(1:8, 2, 4)
a
[,1] [,2] [,3] [,4]
[1,] 1 3 5 7
[2,] 2 4 6 8
> ccov(a)
Error in solve.default(cov, ...) :
Lapack routine dgesv: system is exactly singular
I also tried colume bind, but it
2010 Feb 21
4
replicate matrix
Hi all,
I have a matrix, for example
[,1] [,2]
[1,] 1 3
[2,] 4 6
I want to replicate the matrix twice and add an extra column at the end,
which is
[,1] [,2] [,3] [,4] [,5] [,6] [,7]
[1,] 1 3 1 3 1 3 2
[2,] 4 6 4 6 4 6 5
I found 'rep' only works for vector. Does anyone know how to replicate a
matrix, and append the matrix?
2006 Sep 18
7
smb.conf
Hi all
My client want a shared folder so that only two people can access and
write to it.
I added the following to my smb.conf
[private]
writeble = yes
guest ok = no
path = /home/samba/private
valid users = wendy, pierre
write list = wendy, pierre
force user = nobody
All i need yo do now is make the folder "private" to nobody. How would i
go on by doing that and would this work.
2002 Jul 25
1
OpenSSH 3.4p1's top level .cvsignore file
anyone who can help me understand-
one of my developers reimported openssh snapshot from 0722
into cvs. he sent me the following email about an error he believes
is in the snapshot
i'm not a cvs-knowledgeable person, so i'm not all that
clear on this, but should *.in files be in .cvsignore?
i tried checking a later snapshot, but 0722 seems to be the latest one.
.cvsignore is dated jun
2016 Dec 08
1
[PATCH 1/2] virtio_ring: Do not call dma_map_page if sg is already mapped.
On Wed, Dec 07, 2016 at 10:59:12PM -0800, Wendy Liang wrote:
> If sg is already dma mapped, do not call dma_map_page() in
> vring_map_one_sg().
>
> In case of rpmsg, rpmsg uses dma_alloc_coherent() to allocate
> memory to share with the remote. There is no pages setup
> in dma_alloc_coherent().
>
> In this case, we cannot convert the virtual address back to the
>
2016 Dec 08
1
[PATCH 1/2] virtio_ring: Do not call dma_map_page if sg is already mapped.
On Wed, Dec 07, 2016 at 10:59:12PM -0800, Wendy Liang wrote:
> If sg is already dma mapped, do not call dma_map_page() in
> vring_map_one_sg().
>
> In case of rpmsg, rpmsg uses dma_alloc_coherent() to allocate
> memory to share with the remote. There is no pages setup
> in dma_alloc_coherent().
>
> In this case, we cannot convert the virtual address back to the
>
2002 Feb 01
2
/dev/urandom
if i want to learn more about implementing a /dev/urandom,
where would be a good place to start?
thanks,
wendy
--
wendy palm
Cray OS Sustaining Engineering, Cray Inc.
wendyp at cray.com, 651-605-9154
2003 Apr 22
1
GSS-API
simon-
any luck with that GSS-API patch for 3.6.1?
ben/markus/whoever -
will this ever be added to source?
thanks,
wendy
--
wendy palm
Cray OS Sustaining Engineering, Cray Inc.
wendyp at cray.com, 651-605-9154
2001 Aug 07
1
do_pre_login() used before declared
do_pre_login() in session.c is used (in do_exec_pty()) before
it's declared, which is causing some problems for me.
please move it up a couple hundred lines in the file.
patch included for 0807 snapshot.
thanks,
wendy
% diff -u session.c.orig session.c.mod
--- session.c.orig Tue Aug 7 13:11:51 2001
+++ session.c.mod Tue Aug 7 16:21:07 2001
@@ -397,6 +397,34 @@
}
}
2017 Jun 13
0
[FORGED] IF LOOOP
On 14/06/17 08:46, matthias worni wrote:
> Hey
>
> This should be a rather simple quesiton for some of you. I want to make
> some progress in looping...
> I have the vector r, which contains single values --> see below:
>
> r
> [1] 1.1717118 1.1605215 1.1522907 1.1422830 1.1065277 1.1165451 1.1163768
> 1.1048872 1.0848836 1.0627211
> [11] 1.0300964 1.0296879
2010 Nov 28
2
weighted x variables with glm
I have a glm regression (quasi-poisson) of log(mu) on x but I have varying
degrees of confidence in the x values, and can attach a numerical weighting
to each. Can anyone help me with suggestions of how to analysise this. Is
there an R package that would help?
Wendy
[[alternative HTML version deleted]]
2011 Oct 30
3
element-by-element comparison
Hi,
I have a vector and a matrix. For example,
A = [
12
3
4];
B = [
4 13
10 2
4 8];
I am comparing A to each column of B using A>B[,ii], so the expected result
is
C = [
1 0
0 1
0 0];
I am looking for a way to do this quickly instead of going through the for
loop, but haven't had any luck yet? Any advice is appreciated.
Thank you very much.
Wendy
2011 Aug 31
2
How to expand LVM without create new drive?
I now how to expand a LVM by creating a new drive as described here:
http://lists.centos.org/pipermail/centos/2007-February/032664.html, the steps
are:
# pvcreate /dev/sda3
# vgextend VolGroup00 /dev/sda3
Now, I want to know how to expand a LVM without create /dev/sda3?
Suppose I have 2 GB free (unpartitioned) and LVM use /dev/sda2 (8 GB). How to
make /dev/sda2 become 10 GB? Then resize LVM
2010 Feb 22
2
change email subscription
Dear R team,
As this is a university email address with very small inbox limit, can I
please change my R email subscription to another email address instead of
this one? My new email address is wendy2.qiao@gmail.com. I have change my
email in my profile, but seems that does not change my subscription.
Thank you.
Wendy
[[alternative HTML version deleted]]
2011 Apr 10
3
count number of TRUEs in each row
Hi all,
I have a huge matrix of TRUE/FALSE table like following, and I want to count
the number of TRUEs in each row. Instead of looping through each row and do
length(Z[Z==TRUE]), I am wondering if there is an easier way of doing this.
[,1] [,2] [,3]
[1,]TRUE FALSE FALSE
[2,]FALSE TRUE TRUE
Thank you in advance.
Wendy
--
View this message in context:
2011 Dec 01
2
permutate elements in a vector
Hi all,
I have a vector, e.g., A = c(10, 20, 30, 40). This 4 numbers have 4! = 24
different combination. I want to generate a matrix with one combination in
one row, so the output would be
B =
10 20 30 40
10 40 20 30
...
Does anyone know how to do this easily in R? Thank you very much.
Wendy
--
View this message in context:
2011 Nov 01
4
round up a number to 10^4
Hi all,
I have a list of numbers, e.g., X = c(60593.23, 71631.17, 75320.1), and want
to round them so the output is Y = c(60000, 80000, 80000). I tried
Y<-round(X,-4), but it gives me Y = c(60000, 70000, 80000). Do anybody know
how to round up a number to 10^4?
Thank you in advance.
Wendy
--
View this message in context:
2016 Dec 06
2
[RFC LINUX PATCH 0/2] Virtio ring works with DMA coherent memory
RPMsg uses dma_alloc_coherent() to allocate memory to shared with the remote.
In this case, as there is no pages setup in the dma_alloc_coherent(),
we cannot get the physical address back from the virtual address, and thus,
we can set the sg_dma_addr to store the DMA address and mark it already DMA
mapped.
When virtio vring sees the sg_dma_addr is ready set, do not call dma_map_page().
The issue