similar to: pos argument to library

Displaying 20 results from an estimated 8000 matches similar to: "pos argument to library"

2002 Mar 15
0
NA in character vectors
Hi all, While R-1.5.0 is still unfrozen, I'd like to try again to generate interest in my favorite pet peeve: NA's in character vectors. Last October I wrote: > LETTERS[c(NA,2)] in S is c("","B"), but in R is c("NA","B"). We had an interesting discussion then, and I learned (from Duncan Murdoch and Thomas Lumley) that R does have an internal
1997 Aug 12
0
R-alpha: attach( <data.frame> , pos = 1) -- does not work. detach(., save=..)
[R-0.50-a3] It seems intuitive that attach( .., pos = 1) is harder than other attach()es. But still... If it ever will work, it is even more important to have detach( .... , save = "VAR.name") ~~~~~~~ -------- to be working. The documentation says that detach(.) returns invisibly. Therefore, we don't NEED the above 'save = ' argument to detach, since we can
2002 May 16
0
(PR#1556)
lib.fixup My previous post mentions a problem encountered when calling ".Internal( lib.fixup..." in R1.5.0. I have since found a workaround. It's possible in R1.5.0 to set attributes of search path environments directly, like so: > env_ pos.to.env( 3) > attr( env, 'any.attr')_ 'any.value' > pos.to.env( 3) <environment: package:tcltk>
2001 Oct 12
1
lib.fixup
Hi, all, Can anyone tell me what this line in library() does? .Internal(lib.fixup(env, .GlobalEnv)) The reason I ask is that I'm writing a function that uses a bit of library() code, and I want to know if I should include it: g.data.attach <- function(dir, pos=2) { env <- attach(NULL, pos, paste("package",basename(dir),sep=":")) attr(env,
2005 Jun 10
1
Exiting R and package detachment?
Hi, is there away to assure that a package is detached when R quits? I know about .Last(), but that requires the user to setup that function. What I am looking for is a way for the package to do this itself, without asking the user to edit "their" .Last(). From ?setHook I know that: "...when an R is finished, packages are not detached and namespaces are not unloaded, so
2003 May 22
3
How to avoid function masking
Hi All, I've been working on updating the 'genetics' package. As a consequence of the upgrade, .First.lib() looks like: .First.lib <- function(libname, pkgname) { if (!require(combinat)) warning("Unable to load 'combinat' library. Function `diseq.ci' will fail.") require(gregmisc) genotype <-
2009 Aug 18
1
Application trying to use IPv6
Hello, I am in the process of getting Allegiance (http://www.freeallegiance.org/) [R5rev483 (http://freeallegiance.sourceforge.net/pub/AllSrv_R5rev480.exe)] (AppDB entry (http://appdb.winehq.org/objectManager.php?sClass=application&iId=6586) - this entry is not current) to work under Wine. The game itself runs decent but will not connect to a lobby server. Also, when I attempt to run a
2011 May 30
1
Page fault and then a hang. Any ideas?
Hi everyone! I need some help with a page fault that occurs in Phantasy Star Online: Blue Burst. The annoying thing is that the page fault seems to cause the game to hang so the debug log is limited (I have to forcibly terminate the program with System Monitor). Here's what I do have: Code: fixme:imm:ImmDisableIME (0): stub fixme:imm:ImeHandleNotify
2010 Dec 10
0
Xen network problems on domU shutdown
Hi, I''m new to XEN and have the following Problem: If I shutdown my domU the network of the dom0 leaks. A ping from another server to my xen dom0 shows a Packetloss > 80%. Then if I restart the domU after some seconds the ping show a loss from 0%. I retryed that 3 times but it is really hard to go to the dom0 via ssh and recreate the domU if the packetloss is that high. I used google
2001 Dec 03
1
New package: g.data
A new package "g.data" is available on CRAN, to create and maintain databases that work more like the S-Plus model. Here's the official Description for g.data (v1.2): Create and maintain delayed-data packages (DDP's). Data stored in a DDP are available on demand, but do not take up memory until requested. You attach a DDP with g.data.attach(), then read from it and assign
2001 Dec 03
1
New package: g.data
A new package "g.data" is available on CRAN, to create and maintain databases that work more like the S-Plus model. Here's the official Description for g.data (v1.2): Create and maintain delayed-data packages (DDP's). Data stored in a DDP are available on demand, but do not take up memory until requested. You attach a DDP with g.data.attach(), then read from it and assign
2015 Apr 29
3
Postpone email delivery with LMTP and Postfix
Hi, is there any way, based on userdb/passwdb attribute, how to postpone an email delivery? The purpose is, I need to freeze an account (Maildir++) for a few minutes and new email must not be delivered. But emails must be delivered when account is unfrozen. I found few things about Postfix filters, but I'm not sure it's a good way. Thank you, Milo
2002 Feb 20
1
Bug in "[<-.matrix"? (Was: Feature Request: "matrix[1:10,1:10, block=F] <- 1:10")
Thanks to David Meyer [david.meyer@ci.tuwien.ac.at] and David Brahm [brahm@alum.mit.edu] who suggested: m[ cbind(index.i, index.j) ] <- vals This works fine for the example I gave. Unfortunately, this approach doesn't extend to using the row and column names to make assignments: > m <- matrix("",ncol=3,nrow=3) > dimnames(m) <-
2002 May 24
1
patch for openssh/contrib/solaris/buildpkg.sh
Here is a small patch for OpenSSH 3.2.3p1.. When the package postinstall script runs, it presumes that the package will be installed relative to the current / directory.. If this package is installed as part of a Solaris Jumpstart installation, this will not be the case. Consequentially, the /etc/ssh/sshd_config.default will never get copied to /etc/ssh/sshd_config on the new operating system.
2009 Jun 10
1
searchpaths
May I use "searchpaths()" with arguments partially matching file names that are found in different directories ? My question is whether this is th R function equivalent of Linux "find" or Windows "search". Both O.S. calls are given a starting point so that they search all diectories from then downwards looking for files whose names match the searching criteria.
2014 Aug 14
2
Problem with roaming profiles (always synced but never read)
Hi, I come to find new ideas about a problem which is blocking me since many days.... I've an AD DC on Samba 4.1.11, and a file server (on Samba 4.1.11 too) member of the domain. They works fine (apparently). I've a Win7 Enterprise x64 client, joined to the domain. I've created a new user 'foo' to test openning session. When I log for the first time, my user get a local
2003 Apr 29
1
Specifying search position for attached package
When I load an add-on package, is there any way to specify where it ends up in the search path (as with the pos argument to attach())? From the documentation for library(), this doesn't seem like an option. (I know I can detach packages and then reload them in the order I want; I'm looking for a less clumsy way.) Thanks, Jim James A. Rogers, Ph.D. <rogers at cantatapharm.com>
2003 Oct 11
2
"context confusion" internal context 2 context only?
I'm trying to create several contexts for extentions with different levels of access to features and I'm wondering how the heck do I include all the contexts so that you can call internal to any extention in another context without giving the features of the higher level context to the lower level context? ie..... [admin] include => local include => longdistance include =>
2010 Apr 23
1
help in conditional histogram
Dear Dr. Sarkar, When I try to run the codes, I found the following problem: > h<- sample(1:14, 319, rep=T) > c<- sample(1:14, 608, rep=T) > n<- sample(1:14, 1140, rep=T) > vt<-c(h, c, n) > ta<-rep(c("h", "c", "n"), c(319, 608, 1140)) > > to<-data.frame(vt,ta) > library(lattice) Attaching package: 'lattice'
2001 Oct 03
0
RE: [R] Several R vs S-Plus issues (PR#1112)
Also in assign() there some arguments lacking in R such as 'frame' and 'where', though I guess that 'frame' in S may be similar to 'pos' in R. Harvey -----Original Message----- From: David Brahm [SMTP:a215020@agate.fmr.com] Sent: Wednesday, October 03, 2001 11:36 AM To: r-help@stat.math.ethz.ch Cc: Kurt.Hornik@ci.tuwien.ac.at; r-bugs@r-project.org Subject: