Displaying 3 results from an estimated 3 matches for "shouild".
2010 Jun 17
1
Column name defined by function variable
...simple problem for you but I am stuck.
This simple function adds columns (with differing length) to data frames:
add.col <- function(df, new.col) {
n.row <- dim(df)[1]
length(new.col) <- n.row
cbind(df, new.col)
}
Now I would like to extend that method. A new parameter 'name' shouild
allow people to pass in a name for that new column. Is that possible
and how can this be achieved?
Example:
myData <- data.frame(c(1,2,3))
add.col(myData, c(5,6,7,8), 'more stuff')
adds a new column named 'more stuff' to the dataframe myData.
Any ideas?
Best,
Ralf
2009 Jan 25
1
Warning: closing unused connection 3
The subject is a warning that occurs with my 'oce' package in the test on
r-devel-windows-ix86, i.e.
http://cran.r-project.org/web/checks/check_results_oce.html
I see that some other packages have this same error. I tried searching
postings to this group for this warning, but found nothing. I'm pretty sure
this warning message was not there a week ago.
Q: is there something I
2010 Nov 03
2
NTLM Authentication against multiple domain comtrollers
We have a working setup of squid + samba + winbind to authenticate users
belonging to the same domain (using NTLM). We have an immediate urgent
requirement to support authentication against multiple Domains which are
using their own Domain controller. There is NO Trust Relation between
these Domain Controllers.
I have searched through length and breadth of all available documents
and