search for: bqcaomail

Displaying 8 results from an estimated 8 matches for "bqcaomail".

2010 Nov 30
5
how to know if a file exists on a remote server?
Hi, I'd like to download some data files from a remote server, the problem here is that some of the files actually don't exist, which I don't know before try. Just wondering if a function in R could tell me if a file exists on a remote server? I searched this mailing list and after read severals mails, still clueless. Any help will be highly appreciated. B.C.
2007 Mar 22
3
"digits" doesn't work in format function
Dear All, I was trying to format a numeric vector (100*1) by using outd <- format(x=m, sci=F, digits=2) > outd[1:10] [1] " 0.01787758" "-0.14760306" "-0.45806041" "-0.67858525" "-0.64591748" [6] "-0.05918100" "-0.25632276" "-0.15980138" "-0.08359873" "-0.37866688" >m[1:10] [1]
2012 Oct 10
2
lm on matrix data
Hi, I have a question about using lm on matrix, have to admit it is very trivial but I just couldn't find the answer after searched the mailing list and other online tutorial. It would be great if you could help. I have a matrix "trainx" of 492(rows) by 220(columns) that is my x, and trainy is 492 by 1. Also, I have the newdata testx which is 240 (rows) by 220 (columns). Here is
2010 Dec 06
1
use pcls to solve least square fitting with constraints
Hi, I have a least square fitting problem with linear inequality constraints. pcls seems capable of solving it so I tried it, unfortunately, it is stuck with the following error: > M <- list() > M$y = Dmat[,1] > M$X = Cmat > M$Ain = as.matrix(Amat) > M$bin = rep(0, dim(Amat)[1]) > M$p=qr.solve(as.matrix(Cmat), Dmat[,1]) > M$w = rep(1, length(M$y)) > M$C = matrix(0,0,0)
2011 May 16
2
about spearman and kendal correlation coefficient calculation in "cor"
Hi, I have the following two measurements stored in mat: > print(mat) [,1] [,2] [1,] -14.80976 -265.786 [2,] -14.92417 -54.724 [3,] -13.92087 -58.912 [4,] -9.11503 -115.580 [5,] -17.05970 -278.749 [6,] -25.23313 -219.513 [7,] -19.62465 -497.873 [8,] -13.92087 -659.486 [9,] -14.24629 -131.680 [10,] -20.81758 -604.961 [11,] -15.32194 -18.735 To calculate the ranking
2012 Nov 27
2
in par(mfrow=c(1, 2)), how to keep one half plot static and the other half changing
Hi, I'm trying to plot something in the following way and would like if you could help: I'd like in a same plot window, two plots are shown, the left one is a bird-view plot of the whole data, the right half keep changing, i.e., different plots will be shown up on request, so that when I select/click on some where in the left plot, the right plot will be the corresponding plot. What I
2007 Oct 28
1
how to download pdb structure files?
Dear All, I'd like to know if there is anyway to download a certain structure file from http://www.pdb.org/. I tried the following but failed: tmp <- download.file(url="ftp://ftp.wwpdb.org/pub/pdb/data/structures/all/pdb", destfile="pdb100d.ent.gz") trying URL 'ftp://ftp.wwpdb.org/pub/pdb/data/structures/all/pdb' Error in download.file(url =
2008 Aug 14
0
function as.dist failed on large matrix on 64bit machine
Hi there, I'm having a problem with as.dist when I tried to convert a numerical matrix to dist. The data matrix is 10^4 by 10^4. I got the following: d <- as.dist(dat) Error: cannot allocate vector of size 762.9Mb I need convert "dat" to dist because I will use hclust to do some clustering analysis. The machine is 2Gb memory 64bit Linux, and I also failed on a 16Gb memory