Displaying 20 results from an estimated 3000 matches similar to: "Why is the program too slow?"
2006 Oct 30
1
no possible to load a package correctly dowloaded by the R prompt
Please, help me.
I had a trouble in downloading from CRAN the package "untb".
Everything seems to work. I type
>install.packages(c(untb))
after selecting the CRAN mirror and I get a message of successful downloading. Indeed I have the package in the library and if I check with command
> library()
I see untb among the various packages.
But, when I type the command:
2007 Oct 05
3
R-2.6.0 package check problems
Hello
One of my packages, untb_1.3-2, passes R CMD check under
MacOSX (and apparently the systems used in the package check
summary page on CRAN) but fails with the following message on
R-2.6.0.tgz compiled last night on my (home) linux box. I hasten
to add that I have never seen this error before on home-compiled
pre-releases of R-2.6.0.
Can anyone help me understand what is going on?
2010 Nov 08
2
Sample size calculation for differences between two very small proportions (Fisher's exact test or others)?
Hi,
I'm try to compute the minimum sample size needed to have at least an 80% of power, with alpha=0.05. The problem is that empirical proportions are really small: 0.00154 in one case and 0.00234. These are the estimated failure proportion of two medical treatments.
Thomas and Conlon (1992) suggested Fisher's exact test and proposed a computational method, which according to their table
2011 Mar 03
1
vector("integer", length) : vector size specified is too large
Good day to the R community,
I am interested to run the plot.count() function in the "untb" package.
My script is as follows:-
> library(untb)
> Community1 <-
> structure(c(371,167,119,78,74,53,50,31,28,25,20,19,19,17,13,12,12,10,
> 9,9,8,8,7,7,7,7,6,6,6,6,5,5,5,5,4,4,4,3,3,3,2,2,2,2,2,2,2,1,1,1,1,1,
> 1,1,1,1,1,1,1,1), .Dim = 60, .Dimnames =
2007 Feb 28
4
how to make xenbus do .probe?
Hi,
Can anyone please tell me how to get ".probe" function in "struct
xenbus_driver" called?
I want to do one simple test of event channel communication between
peer modules of
domU and dom0.
I wrote one backend and one frontend driver (I tried registered as
misc/blk/input device) where I put in all my xenbus routines, but
cannot get .probe called after insmod my module, I
2010 Apr 23
3
Playback all the sound files
Hello.
There are so many sound files in /var/lib/asterisk/en. Is there an easy
way to let me play back all of them one by one while I am watching CLI
to see the current file name?
Thanks for help.
--
Jian Gao
IT Technician
SJ Geophysics Ltd. <http://www.sjgeophysics.com>
jian.gao at sjgeophysics.com <mailto:jian.gao at sjgeophysics.com>
Tel: (604)582-1100
2009 Mar 21
5
Fisher test problem
Hi, I noted a discrepancy between R and openepi when I ran a fisher test
with the same matrix. In R:
> a=matrix(c(1,2,6,17), nrow=2)
> a
[,1] [,2]
[1,] 1 6
[2,] 2 17
> fisher.test(a, conf.int=T)
Fisher's Exact Test for Count Data
data: a
p-value = 1
alternative hypothesis: true odds ratio is not equal to 1
95 percent confidence interval:
0.02061498
2010 May 20
5
sort a data.frame
Hello,
I have a dataframe:
dd <- data.frame(b = c("chr2", "chr1", "chr15", "chr13"),
x = c("A", "D", "A", "C"), y = c(8, 3, 9, 9),
z = c(1, 1, 1, 2))
>dd
b x y z
1 chr2 A 8 1
2 chr1 D 3 1
3 chr15 A 9 1
4 chr13 C 9 2
Now I want to sort them according column "b", but only its
2009 May 09
7
does somebody use XCode on Mac for RoR instead of TextMate?
does somebody use XCode on Mac for RoR instead of TextMate? I wonder
how is it compared to TextMate... TextMate uses the default font of
Monaco... the Xcode screenshot on Wikipedia uses Courier... I wonder if
Xcode looks as good as TextMate when the font is changed to Monaco as
well? Thank you.
--
Posted via http://www.ruby-forum.com/.
2010 Dec 03
3
colname refered by a variable
Hello,
I tried to use a variable to refer colname, but I got error, could anyone give me advice?
>df=data.frame(cbind(AB=1:3,AC=3:5))
> df$AC
[1] 3 4 5
> df$paste("A","C",sep="")
Error: attempt to apply non-function
thanks
Jian
[[alternative HTML version deleted]]
2010 Jun 02
3
charactor matrix convert to numeric matrix
Hello R experts,
can you tell me a simple way to convert a charactor matrix to numeric matrix?
if I use as.numeric, the matrix is converted to a vector.
a<-cbind(c("23","54","65"),c("1","2","3"))
a
[,1] [,2]
[1,] "23" "1"
[2,] "54" "2"
[3,] "65" "3"
as.numeric(a)
2013 May 31
22
[PATCH 0/4] xen/arm: assemble support for Allwinner A31
These series patch enable Allwinner A31(code name sun6i) support in
assemble. with these patches, the cpu 0 of sun6i SOC could successful
boot into the c environment.
Bamvor Jian Zhang (4):
xen/arm: introduce Cortex-A7 support
xen/arm: introduce Allwinner sun6i SOC basic support
xen/arm: enable early printk for sun6i
xen/arm: enable switch to hyper mode for sun6i
xen/arch/arm/Rules.mk
2006 Oct 03
3
Linking R with Fortran 90: make: m2c: Command not found
Following the setup in Prof.Duncan Murdoch's page, I have successfully compiled the DLL for one Fortran 95 program using Gfortran and got 300 times speed boost. For the second set of fortran programs, However, I have this error message
R CMD SHLIB -o jiangang kdtree2.f90 jian.f90 gang.f90
m2c -o jian.o jian.mod
make: m2c: Command not found
make: *** [jian.o] Error 127
Can anyone
2009 May 09
41
updating the db 6000 times will take few minutes ?
i am writing a test program for ActiveRecord, and it reads a document
which is like 6000 words long. And then i just tally up the words by
recordWord = Word.find_by_s(word);
if (recordWord.nil?)
recordWord = Word.new
recordWord.s = word
end
if recordWord.count.nil?
recordWord.count = 1
else
recordWord.count += 1
end
recordWord.save
and so this
2010 May 17
1
SIP SRV Registration problem
Hello, all,
I have a Linksys 3102 from a VoIP provider. It use SRV record to
register to the provider's SIP server.
When I configure this line into my Asterisk, the register doesn't work
if I use their domain name.
So it like this:
If I use register => user:pwd at proxy.provider.com
then I got:
[2010-05-17 11:47:19] WARNING[2366] chan_sip.c: No such host:
proxy.provider.com
2007 Jun 22
3
How to run "mathematica" or "c" programs in R?
I have some programs which were writen in mathematica or c language, but I
donot know how to use these software. So I want to run them in R.
Can I do it ?
How to run "mathematica" or "c" programs in R?
Jian Zhang
[[alternative HTML version deleted]]
2019 Nov 05
3
RFC: [MC] Calculate difference of symbols in two consecutive MCDataFragments
Hello,
I've been trying to add support to the integrated assembler to handle cases
like below
foo:instr; .if . - foo; instr; .endif
when the dot symbol and foo are assigned to consecutive MCDataFragments
<https://github.com/ClangBuiltLinux/linux/issues/744>. I have a patch
<https://reviews.llvm.org/D6941> under review. And even though it seems to
solve the problem, the concern
2010 Jun 14
2
list matching
Hello,
I could not find a clear solution for the follow question. please allow me to ask. thanks
mynames=cbind(c('a','b'),c(11,22))
lst=list(a=c(1,2), b=5)
now I try to combine mynames and lst:
a 1 11
a 2 11
b 5 22
thanks
jian
[[alternative HTML version deleted]]
2002 Aug 12
3
--include option
HI,
I'm trying to have files to be included during rsync. I have the filesystem
/stor/circuit_design/, with the following subdirectories as its contents:
clock_speed
fub_layout
test_simulations
pattern_flow
I would only like to rsync the following 2 subdirectories to the destination
machine:
clock_speed
fub_layout
and they're contained in the file called files_included:
# cat
2010 Sep 22
3
merge verctor and matrix
hi,
can anyone tell me how to merge a vector and a matrix?
> v=c(1,4,2)
> names(v)=c("e","r","t")
> m=matrix(c("r","t","r","s","e",5,6,7,8,9),nr=5)
> colnames(m)=c("c1","c2")
I want to do like
merge(v, m, by.x="names",by.y="c1")
I got error
Error in fix.by(by.x, x) :