Displaying 7 results from an estimated 7 matches for "yongchao".
2003 Jul 04
6
the huge postscript plot
..., like the x label, y label, and the title,
it uses the native font.
pdf seems use the above approach and is very fast, but I have to use
pdf2ps to convert the pdf file to ps file. It is still slow. If you know
other good converter of pdf file to ps file, i will also very appreciate
it.
Thanks,
Yongchao
x<-1:2000
y<-matrix(rnorm(2000*12),2000,12)
for(i in 1:12){
y[,i]<-sort(y[,i]+i*0.5)
}
postscript("try.ps")
matplot(x,y,type="l",lwd=5)
dev.off()
2014 Apr 24
3
[LLVMdev] getMetadata(“dbg”) returns NULL
...s I found through Google:
http://stackoverflow.com/questions/14943447/llvm-line-number-of-an-instruction
http://stackoverflow.com/questions/23089316/getmetadatadbg-returns-null-despite-producing-ir-with-clang-g-s-emit-llv
but neither of them works.
Does anyone have any idea about this?
Thanks,
Yongchao.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140424/4b396886/attachment.html>
2003 Oct 29
1
R installation problems on Windows XP (PR#4842)
Full_Name: Yongchao Ge
Version: 1.8
OS: Windows XP profesional
Submission from: (NULL) (146.203.2.152)
The R installation is fine on Windows XP, but when I started to open the R
program, then it pops out this message:
"R for Windows GUI front-end has encountered a problem and needs to close. We
are sorry for...
2007 Aug 23
1
.Call and to reclaim the memory by allocVector
...and apply gc() function, the unclaimed memory can reach 150M
bytes. I tried gc(reset=TRUE), and it doesn't seem to make difference.
Can someone suggest what caused this problem and what the solution will
be? When you reply the email, please cc to me as I am not on the help
list.
Thanks,
Yongchao
------------------------------------------------
> dyn.load("crossprod2.so")
> cp <- function(a, b) .Call("crossprod2", a, b)
> gctorture()
> a<-1:10000
> b<-1:1000
> gc() #i
used (Mb) gc trigger (Mb) max used (Mb)
Ncells 173527 4.7 4...
2007 Aug 23
1
.Call and to reclaim the memory by allocVector
...and apply gc() function, the unclaimed memory can reach 150M
bytes. I tried gc(reset=TRUE), and it doesn't seem to make difference.
Can someone suggest what caused this problem and what the solution will
be? When you reply the email, please cc to me as I am not on the help
list.
Thanks,
Yongchao
------------------------------------------------
> dyn.load("crossprod2.so")
> cp <- function(a, b) .Call("crossprod2", a, b)
> gctorture()
> a<-1:10000
> b<-1:1000
> gc() #i
used (Mb) gc trigger (Mb) max used (Mb)
Ncells 173527 4.7 4...
2004 Mar 03
1
generating normal numbers: GetRNGstate, PutRNGstate
...have the
same random seed?
I searched the R help and google and I didn't find answers. The reason for
to ask is that if both of the above answers are right, then I'd better
off use the method 1, which is the fastest as I have to generate
hundreds thousands of normal numbers.
Thanks!
Yongchao
p.s. please cc to me as I am not on the online list, only on the
daily digest list.
2005 Feb 16
0
Profiling R code and C code (Rprof and gprof)
...meshed with R codes. If we can also
profile the C functions called by the R codes, then it will much be
productive to write useful C codes.
Any suggestions how to use Rprof and gprof to help me to spot a C
function which I can work on to speed up my program will be much
appreciated.
Thanks,
Yongchao