similar to: wishlist: system.file(..., mustExist = TRUE)

Displaying 20 results from an estimated 600 matches similar to: "wishlist: system.file(..., mustExist = TRUE)"

2015 Jan 22
0
reducing redundant work in methods package
I also just noticed that there is a bug: identical(ans, FALSE) should be is.null(ans). So no error is thrown: > methods:::genericForPrimitive("foo") NULL Will fix. On Wed, Jan 21, 2015 at 3:13 PM, Peter Haverty <haverty.peter at gene.com> wrote: > Doing it like this: > > genericForPrimitive <- function(f, where = topenv(parent.frame()), mustFind > = TRUE) {
2015 Jan 21
2
reducing redundant work in methods package
Doing it like this: genericForPrimitive <- function(f, where = topenv(parent.frame()), mustFind = TRUE) { ans = .BasicFunsList[[f]] ## this element may not exist (yet, during loading), dom't test null if(mustFind && identical(ans, FALSE)) stop(gettextf("methods may not be defined for primitive function %s in this version of R",
2006 Sep 22
1
Possible bug in base::namespaceImportFrom?
Hi, namespaceImportFrom in base/R/namespace.R has the following: fdef <- methods:::getGeneric(genName, impenv) The definition of getGeneric is in methods/R/RMethodUtils.R starts with: getGeneric <- ## return the definition of the function named f as a generic. ## ## If there is no definition, throws an error or returns ## NULL according to the value of
2006 Jul 26
2
Install R-patched_2006-07-13 on i386-pc-solaris2.10 with Sun Studio 11
Dear R-developers: I'm trying to build a 64-bit R-patched_2006-07-24 on SunFire V40z with on Solaris OS 10 64-bit kernel and using Sun Studio 11 compilers. Everything runs OK until it gets to building package tools (all.R) where it fails. Bellow is how I tried it (I can provide any other additional info if needed). Any help please? Thank you very much Latchezar Dimitrov Wake Forest Univ.
2012 Mar 09
0
Re: WINE fails in directories with Question Marks in name
stvs wrote: > Is there a way to tell WINE that question marks in directory names are okay? WINE fails whenever I ask it to access a file from within a directory with a question mark in its name. I had the exact same problem. The only workaround is to get that folder renamed to DOS compatible characters, let comskip run through Wine, and then change the name back again. I had to change the
2005 Jul 27
0
Transfering very large files / and restarting failures (again)
Woops! In my last email, I meant to say the second command was: rsync --no-whole-file --progress theFile /path/to/dest Todd Hi, My situation is that I would like to use rsync to copy very large files within my network/systems. Specifically, these files are in the order of 10-100GB. Needless to say, I would like to be able to restart a transfer if it only partially succeeded, but NOT repeat
2010 Nov 27
1
Bug in parseNamespaceFile or switch( , ... ) ?
parseNamespaceFile() doesn't seem to detect misspelled directives. Looking at its code I see switch(as.character(e[[1L]]), <lots of args omitted here>, stop(gettextf("unknown namespace directive: %s", deparse(e)), call. = FALSE, domain = NA)) but this doesn't seem to function as I expect, viz. to stop with an error if I type a wrong directive.
2006 Oct 11
1
Possible bug in accessing methods documentation? (PR#9291)
On 10/11/2006 2:48 PM, Seth Falcon wrote: > Hi, > > Reading help("Documentation"), I'm led to believe that a help call > like: > > ?myFun(x, sqrt(wt)) > > Will search for help on the appropriate method in the case that myFun > is generic. This isn't working for me. Here is an example using the > Biobase package: > > ## If Biobase is
2005 Jul 27
1
Transfering very large files / and restarting failures
Hi, My situation is that I would like to use rsync to copy very large files within my network/systems. Specifically, these files are in the order of 10-100GB. Needless to say, I would like to be able to restart a transfer if it only partially succeeded, but NOT repeat the work already done. Currently, I am initiating the transfer with this command: rsync --partial --progress theFile
2012 Aug 13
1
Fine Tuning Country Map
Dear All, Please see the short script at the end of the email, which I assembled looking for bits and pieces on the web. It essentially does what I need: it plots several countries as a color-coded map. I just would like to fine-tune a bit the final image, in particular (1) Select my own colors for "painting" the countries (i.e. associate manually a color to every level) (2) Be
2013 Nov 27
0
GADM Data Download
Dear All, Please consider the snippet at the end of the email. I often download some maps (in the R format) from http://www.gadm.org/ However, when I run (typically more than once) a variation of the script below (based on http://bit.ly/1b3W0Aa ), I often get Error in load(url(paste("http://gadm.org/data/rda/", fileName, "_adm", : cannot open the connection In
2015 Jan 21
2
reducing redundant work in methods package
Hi all, The function call series genericForPrimitive -> .findBasicFuns -> .findAll happens 4400 times while the GenomicRanges package is loading. Each time .findAll follows a chain of environments to determine that the methods namespace is the only one that holds a variable called .BasicFunsList. This accounts for ~10% of package loading time. I'm sure there is some history to that
2004 Jun 26
1
S4 group "Math", "getGroupMembers", "genericForPrimitive"
Hi, I found the following on Windows 2000/NT R Version 1.9.1 (2004-06-21) (also Version 1.9.0): The S4 group "Math" doesn't work as documented; i.e., "log", "log10", "gamma" and "lgamma" are included in the documentation but don't work. See example code below. Moreover, what about 'genericForPrimitive' which is used in
2003 Jan 28
1
Plot to postscript in function
Hello, I am having problems with plotting to a postscript device within a function call. When I do the same thing line by line in the command line interface, I have no problems, but the function creates an empty postscript file. If I remove the dev.off() call at the end of the function, I get one of the plots (the last), but not the others. Is there any way to get around this problem, or a
2009 May 02
1
Unable to install anything
Hi, Using both wine 1.1.19 and 1.1.20 I am unable to install anything using installshield. The installer always throws a error saying 'Error Number: 0x80040706 Descrition: Object reference not set' And wine throws err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\InstallShield\\Professional\\RunTime\\IsProBE.tlb" failed with error 2
2005 Jun 10
1
netbios description
Guys I have a samba server that has joined and existing 2000 domain (used for squid NTLM auth) When using "My network places" on an xp server i see the following Samba 3.0.11 (Squid-server) Now the servers name is Squid-server, and the description seems to be Samba 3.0.11. How do i remove this description ? I have look through the smb.conf man pages and can find where you set
2002 Jan 09
1
value labels from read.spss()?
>From owner-r-help at stat.math.ethz.ch Wed Jan 9 10:08:44 2002 > >Does anyone know how to access/list the value labels stored in a SPSS .sav >file? >At the moment I can read in variables using read.spss() (foreign package), >but have to power up SPSS to check value labels. > >Stuart There may be a solution to this in R, and I would love to hear it, but I was just faced
2010 Jan 19
1
Error compiling R 2.10.1 on AIX
I'm trying to compile R 2.10.1 on AIX 5.3, and am getting the following error: Error in read.dcf(file = descfile) : Line starting 'Package: tools ...' is malformed! Calls: makeLazyLoading ... code2LazyLoadDB -> loadNamespace -> parseNamespaceFile -> read.dcf Execution halted make[3]: *** [all] Error 1 make[3]: Leaving directory
2015 Jul 07
1
[ on call
I'm rather puzzled by this behavior: e export("caption<-", "caption", "label", "label<-", "align<-", "align", "digits<-", "digits", "display<-", "display", "xtable", "print.xtable", "toLatex.xtable") > e[[1L]] e[[1L]] export >
2007 Nov 05
2
namespace crash on S3method("as.ff",function)
Dear all, I have defined a generic as.ff(x, ...) and a method as.ff.function(x, ...) which converts a standard R function x into a chunked version operating on large ff objects. Everything works fine, but when registering S3method("as.ff",function) in NAMESPACE, the installation fails with some kind of parsing error: adding build stamp to DESCRIPTION installing NAMESPACE file