search for: mynam

Displaying 20 results from an estimated 344 matches for "mynam".

Did you mean: myname
2010 Jul 01
2
Sweave function
Dear list, I have a question about the interaction between R code and Latex language trough the Sweave function in the package "utils". What I'm trying to do is to write a report. Contrary to the examples shown in the Sweave Manual in which table already constructed by R are "exported" on Latex files, what I would like to do is to build a table in which I combine text and
2007 Mar 30
2
Replacing slot of S4 class in method of S4 class?
Dear all, Assume that I have an S4 class "MyClass" with a slot "myname", which is initialized to: myname="" in method("initialize"): myclass <- new("MyClass", myname="") Assume that class "MyClass" has a method "mymethod": "mymethod.MyClass" <- function(object, myname=characte...
2009 Feb 04
0
Problems with 9133i config
...erver disabled. time server1: 192.168.0.90 # Enable time server and enter at <mac>.cfg - this is the correct mac address in all uppercase sip line1 auth name: phone1 sip line1 password: 1234 sip line1 registrar ip: 192.168.0.94 sip line1 user name: phone1 sip line1 display name: "myname" sip line1 screen name: "myname" sip.conf [general] port = 5060 bindaddr = 0.0.0.0 context=tutorial [phone1] type=friend username=phone1 secret=1234 host=dynamic canreinvite=no permit=192.168.0.0/24 allow=all qualify=yes extensions.conf [tutorial] exten => 1234,1,Answer exten...
2012 Mar 10
3
function input as variable name (deparse/quote/paste) ??
Hi all Say I have a function: myname=function(dat,x=5,y=6){ res<<-x+y-dat } for various input such as myname(dat1) myname(dat2) myname(dat3) myname(dat4) myname(dat5) how should I modify the 'res' line, to have new informative variable name correspondingly, such as dat1.res dat2.res dat3.res dat4.res dat5.res s...
2004 Apr 21
2
help with smbmount and permissions
ok, on my windows machine, i see: myname on 'computer01\home' (H:) so i went to my linux box and did: smbclient -L //computer01 -U myname and i see Home listed as a sharename (why does windows show it as "home" but its really "Home" as reported by smbclient?). well everything works fine if i mount it like th...
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]]
2011 May 21
3
Simple R Question...
...one as in #2. However, what if I want to make my selection based on a vector of names (and again keep those names in the resulting data frame). My attempt is #4 but doesn't work. dd <- data.frame(a = gl(3,4), b = gl(4,1,12), c=rnorm(12)) #1 data.frame("a" = dd[,"a"]) #2 mynames <- "a" #3 data.frame(eval(mynames) = dd[, mynames]) #4 thanks, Lars.
2007 Mar 04
1
Problem using callNextMethod() in S4
Dear all, Maybe, I am doing something wrong, but using R-2.5.0 on my Intel-Mac, I have problems using function callNextMethod() in method initialize. I am loading the following code as file "testS4.R": setClass("baseClass", representation(myname = "character", mydir = "character", "VIRTUAL"), prototype(myname = "", mydir = "") )#baseClass setClass("derivedClass", representation(mytitle = "character"), contains...
2009 Jul 09
2
correct way to subset a vector
...,"ij") If I want to get a subset of the data for the middle 3 columns, and I know the names of the start column and the end column, I can do this: mysub <- subset(dat,select=c(cd:gh)) If I wanted to do this just on the column names, without subsetting the data, how could I do this? mynames <- colnames(dat); #mynames #[1] "ab" "cd" "ef" "gh" "ij" Is there an easy way to create the vector c("cd","ef","gh") as I did above using something similar to cd:gh? Thanks, Juliet
2017 Oct 23
2
A list of data frames and a list of colnames.
I have a list of file names, and a list of data frames contained in those files. mynames <- list.files() mydata <- lapply(mynames, read.delim) Every file contains two columns. > colnames(mydata[[1]]) [1] "Name" "NumReads" > colnames(mydata[[2]]) [1] "Name" "NumReads" I can set the colnames easily enough with a for loop....
2015 Jul 18
2
How to ssh to a server via an intermediate server with X11 forwarding?
On Sun, Jul 5, 2015 at 3:26 AM, Damien Miller <djm at mindrot.org> wrote: > On Sat, 4 Jul 2015, Peng Yu wrote: > >> I tried the following command. >> >> ssh -Y -t intermediate -- ssh -Y dest >> >> But it shows the following error message. Does anybody know how to fix >> the problem? Thanks. > > ssh -oProxyCommand="ssh -W %h:%p
2004 Sep 08
3
sendmail&hostname
Good day all I'm just wondering for interest sake I have a box,hostname=myname.co.za,running sendmail If I send mail to someuser@myname.co.za it try to deliver to the box,witch does not have the mail box.How do I tell sendmail that it should send mail to myname.co.za's mailserver. I know how easy it is to change the name but there's a lot of reasons why we can.It...
2003 Dec 11
0
getting Samba 3.0.1 to use NIS UID's/GID's instead of its own
There are two NT domains, the resource domain (pretend it's RESDOM) and the user domain (MASDOM) where RESDOM trusts MASDOM. My Samber server (COOL) is registered in the RESDOM domain. I can do smbclient -L COOL -U MASDOM/myname and it asks for a password and displays the shares correctly, even picking up the NIS logon share. The problems start, however, when I want to connect to the myname share - it won't authenticate. I have a share set up to /tmp and when I write to it, instead of getting the NIS UID and GID, I...
2007 Nov 28
3
using names with functions..
Dear all, I have the following (rather) strange problem.. For some reasons, I finally work with a variable whose name includes an R function, "a.log(z)", say. And that is a problem when I call it in a formula, for instance: > myname<-"a.log(z)" > dd<-data.frame("a.log(z)"=1:10,y=rnorm(10)) > o<-lm(y~1,data=dd) > fo<-as.formula(paste(".~.+",paste(myname, collapse = "+"))) > fo . ~ . + a.log(z) > update(o,formula=fo) Error in eval(expr, envir, enclos) : cou...
2010 Mar 12
1
problem with parse(text=quote(name))
Calling parse(text=quote(name)) or text=as.name("name") makes parse() prompt for input from the command line and then it returns a parse of the initial characters of 'name' (depending on how many characters were typed at the prompt). E.g., > parse(text=quote(myName)) ?1/3 expression(myN) attr(,"srcfile") <text> > parse(text=quote(myName)) ?1/34 expression(myNa) attr(,"srcfile") <text> > parse(text=quote(myName)) ?1/345 expression(myNam) attr(,"srcfile") <text>...
2011 Oct 16
1
ntlm_auth NT_STATUS_INVALID_HANDLE with windbind
I should use an authenticated proxy with Squid, but I have a problem with winbind. I'm working on a PDC, debian squeeze with samba from backport (ver. 2:3.5.11~dfsg-1~bpo60+1 ) Here the problem: I can authenticate users. /usr/bin/ntlm_auth --username=myname --domain=MYCOMPANY password: XXXX NT_STATUS_INVALID_HANDLE: Invalid handle (0xc0000008) wbinfo -a myname Enter myname's password: XXXX plaintext password authentication failed Could not authenticate user myname with plaintext password Enter myname's password: XXXX challenge/response pass...
2010 Dec 02
1
Have inbox at the same place
Hello again, I have an installation with dovecot and I am accessing it through linux mint and thunderbird v3.0.10 As thunderbird "subscribes" to dovecot, it does the following : Inbox Trash MyName at Mydomain.gr Local Folders Local Folders MyName at Mydomain.gr subfolder A Subfolder B Subfolder C Subfolder D Subfolder E Local Folders Outbox OK, I have to admit a have a couple of folders more than what I need. But this is fine. My problem is that *everything* is in its respect...
2007 Nov 21
2
Scripting help please
...this scripting and I wondered if anyone could get this script down to one line so that it could be put as a simple 'open with' line. At the moment it is a nautilus script and is listed under scripts when you right mouse-click a file. Associating a file with AxCrypt passes "z:\home\myname\/home/my programs/myname/path to the target file.." to the program which fails The script removes the z:\home\myname\ from the front and adds appropriate quotes to allow spaces in the names The script is: #!/bin/bash filename="$1" # remove the leading 'z:\home\myname\' f...
1998 Jul 22
0
BUG-with-fix: smbclient ignores WORKGROUP= in smb.conf
...reak; case 'W': ! pstrcpy(tempworkgroup,optarg); break; case 'E': dbf = stderr; *************** *** 3786,3793 **** interpret_coding_system(term_code); ! if (*workgroup == 0) pstrcpy(workgroup,lp_workgroup()); load_interfaces(); get_myname((*myname)?NULL:myname,NULL); --- 3787,3797 ---- interpret_coding_system(term_code); ! if (*tempworkgroup) { ! pstrcpy(workgroup,tempworkgroup); ! } else { pstrcpy(workgroup,lp_workgroup()); + } load_interfaces(); get_myname((*myname)?NULL:myname,NULL); Index: clientu...
2003 Oct 23
3
List of lm objects
...was trying to adapt the codes John Fox, Spencer Graves and Peter Dalgaard proposed and discused yesterday on this e-mail list: for (y in df[, 3:5]) { mod = lm(y ~ Trt*Dose, data = x, contrasts = list(Trt = contr.sum, Dose = contr.sum)) Anova(mod, type = "III") } ## by John Fox or for (myname in names(myframe)){ mycall <- substitute(lm(myvar~etc.etc.....),list(myvar=as.name(myname))) myfit <- eval(mycall) print(summary(myfit)) } ## by Peter Dalgaard But instead of printing summary or Anova results, I need to generate a list containing all the lm() objects. Is that possible...