Re: [Rd] How best to get around shadowing of executables by system()'s prepending of directories to Windows' PATH?

2015-05-19 Thread Roebuck,Paul L
This is the code I use in my 'SuperCurve' R-Forge package: ##- ## Merge output graphs with source tiff file, save it as JPG file .mergeGraphsAndImage <- function(antibody, prefix,

Re: [Rd] [Q] Get formal arguments of my implemented S4 method

2015-01-28 Thread Roebuck,Paul L
thod": c("median", "vs", "tukey"), "calc.medians": TRUE, "sweep.cols": calc.medians, "recalc.after.sweep": sweep.cols, "Š" } not those of the generic: { "object", &

[Rd] [Q] Get formal arguments of my implemented S4 method

2015-01-28 Thread Roebuck,Paul L
Interrogating some (of my own) code in another package. >norm.meth <- getMethod("normalize", "MatrixLike") >message("str(norm.meth)") >str(norm.meth) >message("show(norm.meth@.Data)") >show(norm.meth@.Data) Last show() displays this: function (object, ...) { .local <- function (object, met

[Rd] R CMD check, NOTEs, & S4-dependent packages

2014-02-04 Thread Roebuck,Paul L
As I was running "R CMD check" on one of my older packages (matlab), I was attempting to fix one of the NOTEs which bitches about attempting to change the search path using require(). In my case, I am repeating a package dependency for "methods" package in my .onLoad() function. Can this scenario

Re: [Rd] Suggestion: Specify default of "pch" in the manual

2012-08-24 Thread Roebuck,Paul L
On 8/24/12 4:50 AM, "Benjamin Hofner" wrote: >[SNIP] > And yes, I know that one can obtain the default by inspecting par() but > I think for many users (especially beginneRs) this is not the first > place to look for such information but the manual is. Funny, my occasional reading of R-Help ques

[Rd] PHP escapeshellcmd() equivalent

2012-08-24 Thread Roebuck,Paul L
Not that I recall running across such, but does R natively provide something equivalent to PHP's escapeshellcmd() function to escape shell job control, wildcards, etc? __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Anybody have a WABAC machine?

2012-08-24 Thread Roebuck,Paul L
What version of R did the following functions make their debut? packageStartupMesssage paste0 sprintf Need to update some old packages... __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] bug in R version 2.15.0 (2012-03-30)?

2012-05-22 Thread Roebuck,Paul L
On 5/19/12 12:22 AM, "Wincent" wrote: > [SNIP] > Also, is URI a typo of URL? No. It is not. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [patch] giving library() a 'version' argument

2012-04-12 Thread Roebuck,Paul L
On 4/12/12 1:56 PM, "Ken Williams" wrote: > On April 12, 2012 1:48 PM, Paul Roebuck wrote: > >> Not sure I follow you here. The packageVersion() method is essentially a >> shortcut to packageDescription("MyPackage")$Version. I generally avoid >> doing package upgrades in my scripts so the loaded

[Rd] R-2.15.0 and Exporting Methods Converted To S4 Generic

2012-04-12 Thread Roebuck,Paul L
Late to the show on this release, unfortunately. One of our production packages no longer builds under R-2.15.0 with the following message. ** testing if installed package can be loaded Error: Function found when exporting methods from the namespace 'SuperCurve' which is not S4 generic: 'image'

Re: [Rd] [patch] giving library() a 'version' argument

2012-04-12 Thread Roebuck,Paul L
On 4/12/12 10:11 AM, Ken Williams wrote: >> On 4/12/12 7:22 AM, Duncan Murdoch wrote: > [SNIP] > ... > The main hats targeted here are really people (like me, of course) who are > trying to "productionize" results, not so much people who are doing offline > analysis. In a production system > >>

Re: [Rd] R CMD check returns NOTE about package data set as global variable

2012-04-10 Thread Roebuck,Paul L
On 4/6/12 4:04 PM, "Brian G. Peterson" wrote: > Honestly, this is just another example of a non-helpful 'global variable' > NOTE. I've removed many of these from our packages, often by resorting to > useless workarounds like this one, but I have never once gotten a valid NOTE > out of this messa

Re: [Rd] Canonical package directory name for JAR files?

2012-02-08 Thread Roebuck,Paul L
t; It is source:pkg/java/{src,prebuiltjars,Makevars} -> binary:pkg/jars, > roughly parallel with source:pkg/src -> binary:pkg/libs. > > Bill Dunlap > Spotfire, TIBCO Software > wdunlap tibco.com > >> -Original Message- >> From: Simon Urbanek [mailto:simon.urba.

Re: [Rd] Canonical package directory name for JAR files?

2012-02-08 Thread Roebuck,Paul L
On 2/7/12 5:37 PM, "Simon Urbanek" wrote: > On Feb 7, 2012, at 4:34 PM, Roebuck,Paul L wrote: > >> We have an R package which needs to include a JAR file. >> Is there a canonical directory for it? > > rJava defines "java" for that purpose (see ?.jp

[Rd] Canonical package directory name for JAR files?

2012-02-07 Thread Roebuck,Paul L
We have an R package which needs to include a JAR file. Is there a canonical directory for it? __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] DESCRIPTION Suggests entry help

2011-12-15 Thread Roebuck,Paul L
How should the Suggests entry be written in this case? Have package that supports parallel processing available for multiple R versions. Original package DESCRIPTION Suggests entry only listed 'multicore' and life was good. Since R-2.14+ includes 'parallel' package, thought I could reference that

Re: [Rd] bug in rank(), order(), is.unsorted() on character vector

2011-12-08 Thread Roebuck,Paul L
On 12/8/11 3:57 AM, "Hervé Pagès" wrote: > On 11-12-07 10:29 AM, Roebuck,Paul L wrote: >> Do this first and try again. >> >> R> Sys.setlocale("LC_COLLATE", "C") > > OK I see it now (in ?Sys.setlocale): > >Sys

Re: [Rd] bug in rank(), order(), is.unsorted() on character vector

2011-12-07 Thread Roebuck,Paul L
Do this first and try again. R> Sys.setlocale("LC_COLLATE", "C") On 12/7/11 3:41 AM, "Hervé Pagès" wrote: > Hi, > > This looks OK: > >> x <- c("_1_", "1_9", "2_9") >> rank(x) > [1] 1 2 3 > > But this does not: > >> xa <- paste(x, "a", sep="") >> xa > [1] "_1_a" "1_9a" "2_9a" >> rank(xa) >

Re: [Rd] Error message library()

2011-10-27 Thread Roebuck,Paul L
On 10/26/11 5:49 AM, "Milan Bouchet-Valat" wrote: > Le mercredi 26 octobre 2011 à 09:46 +, ONKELINX, Thierry a écrit : > >> When one tries to load a non-installed package you get the error: >> >> Error in library(xyz) : there is no package called 'xyz' >> >> I noticed on several occasions tha

[Rd] FW: [Q] Package NS Hook Lint NOTE (unanswered)

2011-09-19 Thread Roebuck,Paul L
Still have a question about the following NOTEs appearing on CRAN checks: > .onLoad calls: > require(methods) > > Package startup functions should not change the search path. > See section ŒGood practice¹ in ?.onAttach. For years, I have had the following in my S4-requiring packages. ##---

[Rd] [Q] Package NS Hook Lint NOTE

2011-09-14 Thread Roebuck,Paul L
Have a question about the following NOTEs appearing on CRAN checks: > .onLoad calls: > require(methods) > > Package startup functions should not change the search path. > See section ŒGood practice¹ in ?.onAttach. For years, I have had the following in my S4-requiring packages. ##-

[Rd] Data package questions

2011-06-09 Thread Roebuck,Paul L
In process of creating data package from an existing one. The current package has both raw data files and the associated RData objects created from them. Currently, the data subdirectory is 1.5Mb and the extdata is 5.4Mb. Never having created a data package before, how is this best done? Should th

Re: [Rd] Wish there were a "strict mode" for R interpreter. What

2011-04-11 Thread Roebuck,Paul L
On 4/11/11 11:04 AM, "Spencer Graves" wrote: > On 4/11/2011 8:46 AM, Simon Urbanek wrote: >> On Apr 11, 2011, at 11:28 AM, Davor Cubranic wrote: >> >>> On 2011-04-09, at 2:08 PM, Ted Harding wrote: >>> I think the right thing to so is to introduce the students to the basics of scop

Re: [Rd] Adding a "description" meta-tag to the R homepage

2011-04-01 Thread Roebuck,Paul L
On 4/1/11 1:38 PM, "peter dalgaard" wrote: > On Apr 1, 2011, at 08:49 , Tal Galili wrote: > >> I believe that the R homepage will benefit from including the "description" >> meta tag in it's homepage. >> The reason is that google uses that tag to decide what to show when the R >> homepage shows

[Rd] Access R Help Content From R

2011-01-12 Thread Roebuck,Paul L
Have UI that simplifies running code from another (internal) package, allowing user to set values on fields I basically grabbed from results of calls to formals() for various functions. That works fine for the most part. But it was requested to investigate some type of popup help or something for e

[Rd] FW: documentation for representation() typo

2010-11-30 Thread Roebuck,Paul L
This typo was never corrected. Original post from last month had incorrect file extension on URL, accidentally injured in a drive-by edit... 50c50 < The value of \code{representation} is just the list of arguments,

[Rd] documentation for representation() typo

2010-10-27 Thread Roebuck,Paul L
50c50 < The value of \code{representation} is just the list of arguments --- > The value pf \code{representation} is just the list of arguments, after these have been checked 51c51 < after these have been checked f

[Rd] save() object w/o all of the loaded environment

2010-08-24 Thread Roebuck,Paul L
I have two packages, one that does the actual work (SC) and the other a Tcl/Tk UI (SCUI) that invokes methods within the former. Within the SCUI's invocation method, I save an object returned from SC, the results of a long-running method. Now the object is completely described by the SC package. U

[Rd] Syncing window plot update events during long-running evaluation

2010-04-19 Thread Roebuck,Paul L
I have two source packages, one normal and another a Tcl/Tk UI for controlling the former. However, as all UI arguments are passed to a single (potentially VERY long-running) function in the normal package, all output shows up after the completion of that function. I have a sort-of workaround for u