Displaying 20 results from an estimated 4000 matches similar to: "writing a R package"
2002 Aug 01
6
update() can not find objects (PR#1861)
Full_Name: Yi-Xiong Zhou
Version: 1.5.1
OS: win2000pro
Submission from: (NULL) (64.169.249.42)
Update() can not find objects when it is used in a function, which is in turn
being called by another function. Here is a R script to show the problem:
######## begin of the test script ##########
fun1 <- function() {
x <- matrix(rnorm(500), 20,25)
y <- rnorm(20)
oo <- lm(y~x)
2004 Apr 03
6
memory limit problem
Could anyone advise me how to allocate 1.5Gbyte memory for R on a Dell
laptop running XP professional with 2G memory?
I have tried
"C:\Program Files\R\rw1081\bin\Rgui.exe" --max-vsize=1400M
but I only get only 500MB for R actually.
I also tried memory.limit(2^30) in R and got error of:
Error in memory.size(size) : cannot decrease memory limit
Yi-Xiong
2004 Jul 07
6
text editor for R
Hi,
What is the best text editor for programming in R? I am using JEdit as the
text editor, however, it does not have anything specific for R. It will be
nice to have a developing environment where the keywords are highlighted,
plus some other debugging functions.
Yi-Xiong
[[alternative HTML version deleted]]
2005 Jun 03
3
p-value > 1 in fisher.test()
The following contingency table generates p-value > 1 from fisher.test()
ff = c(0,10,250,5000); dim(ff) = c(2,2); fhisher.test(ff)$p.value
Sean
[[alternative HTML version deleted]]
2005 Jun 03
3
p-value > 1 in fisher.test()
The following contingency table generates p-value > 1 from fisher.test()
ff = c(0,10,250,5000); dim(ff) = c(2,2); fhisher.test(ff)$p.value
Sean
[[alternative HTML version deleted]]
2007 Jun 07
2
reading BMP or TIFF files
I realize that this question has been asked before (2003);
From: Yi-Xiong Zhou
Date: Sat 22 Nov 2003 - 10:57:35 EST
but I am hoping that the answer has changed. Namely, I would
rather read the BMP (or TIFF) files directly instead of putting
them though a separate utility for conversion as suggested by,
From: Prof Brian Ripley
Date: Sat 22 Nov 2003 - 15:23:33 EST
"Even easier is
2011 Jun 21
3
DoveCot LDA/Postfix deliver by address
Hi there,
I am using DoveCot 1.0.7 and virtual users. We want to integrate with
Postfix 2.3.3 to use DoveCot LDA to deliver messages to user mailbox.
All users are stored in LDAP. DoveCot looks up user by LDAP access.
Our user name is not necessarily part of the address. For instance,
address "zhouy at xxxx" may be with user "yzhou", thus all messages to
"zhouy at
2006 Feb 20
1
sqlSave
Hi,
I am having trouble to write/create a table, which has
a date field. I want to create a stock price table,
which has fields of ticker, date, price. First, I
created such a table in Microsoft Access with a few
rows inputs. Using sqlQuery, I found that the date
field was retrieved as POSIXct value. Then I made a
data.frame with POSIXct as the data type for dates.
However, I received the
2007 Jul 04
1
[Bridge] How many interfaces within one bridge
Dear Sir or Madam:
I just wondered how many interfaces at most can be added into one Linux
Bridge.
Thanks!
Best Regards,
Chris
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2004 Mar 05
6
qnorm(2) ends with segmentation fault (PR#6648)
Full_Name: Xiong Guanglei
Version: 1.8.1
OS: Linux
Submission from: (NULL) (202.38.103.50)
qnorm(x)
when x>1.0
2018 Jun 22
2
Q: how can I request to add an upstream patch to resolve a core dump issue?
UPDATE: It turned out QEMU still dumped core with that patch applied.
That said, I'm still interested to know how to report issues with QEMU from centos-virt repo.
Thanks,
Ray
> -----Original Message-----
> From: Xiong, Huan
> Sent: 2018?6?22? 11:12
> To: 'centos-virt at centos.org' <centos-virt at centos.org>
> Subject: Q: how can I request to add an upstream
2002 May 09
4
copy a large volume of data from PC to samba server
Hi there,
Is there someone over there knows a method or script
that can copy a large volume of data (in folders) from PCs
to a samba server (suppose there is enough space there)?
I know using smbclient or smbtar can backup data on PCs
to samba server, but it is written in tar files.I wonder whether
this method can handle a large folder, say, in 10GB size.
Also, using smbclient with mget and
2014 Jan 15
3
Advice in Time Sync
Dear all,
I would need some advice as I am a beginner in CentOS.
The question is as follows:
How to set up timing if NTP was block by ISP?
I have try many way such as link the timezone , getting from the hardware
clock.However , it is not the solution.
Please advice.
--
Regards,
Ku Wei Xiong
0166365831
2007 Jun 12
3
Centos 5, X dies, I cry
I just installed Centos 5 for my notebook (HP compaq nc4010) on a
separate drive (than this one that has Centos 4.5).
When I first booted after all the setup, X did not start. hmm.
Rebooted, and X came up fine. I did a bunch of customizing and upgraded
the kernel
Rebooted, X did not start.
Rebooted X started fine. I checked some things out then tried the
Suspend feature. Not
2004 Mar 06
3
as.matrix(1:10,nrow=1) not work (PR#6650)
Full_Name: Xiong Guanglei
Version: 1.8.1
OS: Linux
Submission from: (NULL) (202.38.103.50)
> as.matrix(1:10,nrow=1)
Error in as.matrix(1:10, nrow = 1) : unused argument(s) (nrow ...)
2003 Nov 27
2
Getting rid of loops?
I wrote a function to calculate cosine distances between rows of a matrix.
It uses two loops and is slow. Any suggestions to speed this up? Thanks in
advance.
theta.dist <- function(x){
res <- matrix(NA, nrow(x), nrow(x))
for (i in 1:nrow(x)){
for(j in 1:nrow(x)){
if (i > j)
res[i, j] <- res[j, i]
else {
v1 <- x[i,]
v2 <- x[j,]
2011 Aug 05
1
DoveCot LDA prefetch fails with LDA, works with POP client
Hi there,
I am using DoveCot 1.0.7. I know it is real old, but we have to work
with it. I have configured LDAP lookup with password prefetch in
DoveCot. I can successfully receive emails through DoveCot, thus proving
my password prefetch and user authentication are good.
The problem is when I use Postfix to deliver message to DoveCot via LDA.
My postfix master.cf looks like this:
dovecot
2012 Feb 21
1
How to download all packages and then install
Hi,
I am working on a stand-alone Linux Redhat machine, which is disconnected
to outside...But I need R to be installed on the machine....
The only way available, so far as I know, is to download all the packages
first and then copy to the machine and finally install them locally...
But how can I download all the packages instead of using the
install.packages(....) ?
Thanks
Xiong
2005 Jun 22
2
PCA and MDS
Dear All,
I am not familar with R. I want to use PCA (principal components
analysis) and MDS (multidimensional scaling). Can someone tell me
which R package I should use for PCA and MDS? I appreciate your help
in advance.
Ray
2013 Jul 09
20
[PATCH 1/1] xen/netback: correctly calculate required slots of skb.
When counting required slots for skb, netback directly uses DIV_ROUND_UP to get
slots required by header data. This is wrong when offset in the page of header
data is not zero, and is also inconsistent with following calculation for
required slot in netbk_gop_skb.
In netbk_gop_skb, required slots are calculated based on offset and len in page
of header data. It is possible that required slots