Displaying 7 results from an estimated 7 matches for "exprts".
Did you mean:
exports
2007 Jul 18
0
sqlSave, ...colnames=F, using "odbcConnectExcel" .... I still get colnames in top row of exprted sheet
I am trying to save an R data.frame as an Excel sheet.
I do NOT want the column names saved into row 1.
I set colnames=F.
However, it still seems that the colnames are saved into row 1.
Is this a bug? Or am I coding incorrectly and.or misunderstanding this feature?
#example code:
sheet = "c:/test2.xls"
temp=data.frame(matrix(data=NA,nrow=10,ncol=15))
temp[1,1] =
2007 Aug 09
1
How to apply functions over rows of multiple matrices
Dear ExpRts,
I would like to perform a function with two arguments
over the rows of two matrices. There are a couple of
*applys (including mApply in Hmisc) but I haven't found
out how to do it straightforward.
Applying to row indices works, but looks like a poor hack
to me:
sens <- function(test, gold...
2007 Nov 17
1
protecting "..."
Dear expRts,
I just realized that the "..." argument in a function cannot be used without
taking precautions sometimes. The following behaviour is what I stumbled
upon:
> myrepl <- function(length, fun, ...) {
+ replicate(length, fun(...))}
> myrepl(20, sample, 1:5)
[1] 0 0 0 0 0 0 0 0 0...
2008 Jul 06
1
Interpreting messages when building packages
Dear expRts,
when I try to build a package by myself, the process fails writing the
following messages to 00install.out:
* Installing *source* package 'dynalc' ...
** libs
WARNING: no source files found
chmod: Zugriff auf ?/home/hannes/texte/forschung/clot/programme/dynalc.Rcheck/dynalc/libs/*? nicht...
2007 Oct 25
0
newmge-shut warning (was: MGE Ellipse 800 shutdown problems)
I'm now doubting if I've made this statement or not, so here it is:
newmge-shut is *not* ready for production usage!
I've lately found some bugs during the MGE PSP 3.0.4/3.0.5/3.0.6 updates.
So for the moment, prefer to keep using mge-shut.
2007/10/25, R?zsa G?bor <mailer.tovis at freemail.hu>:
> newmge-shut ???
> Shutdown, switch of ups does not work. Using command
>
2008 Feb 08
6
writing a function
Dear lists,
I'm in my process of learning of writing a function. I tried to write a simple functions of a matrix and a vector. Here are the codes:
mm<-function(m,n){ #matrix function
w<-matrix(nrow=m, ncol=n)
for(i in 1:m){
for(j in 1:n){
w[i,j]=i+j
}
}
return(w[i,j])
}
v<-function(n){ #function of a vector
y=vector(length=n)
2008 Feb 11
0
Testing for differecnes between groups, need help to find the right test in R. (Kes Knave)
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of r-help-request at r-project.org
Sent: Monday, February 11, 2008 12:00 PM
To: r-help at r-project.org
Subject: R-help Digest, Vol 60, Issue 11
Send R-help mailing list submissions to
r-help at r-project.org
To subscribe or unsubscribe via the World Wide Web, visit