Re: [Rd] Unexpected failure when calling new() with unnamed arg and

2015-10-08 Thread Joshua Wiley
Hi Martin, Thanks and apologies for not seeing that. I had checked NEWS but not tried it in R devel. Thanks again. Josh On Thu, Oct 8, 2015 at 10:03 PM, Martin Maechler wrote: > >>>>> Joshua Wiley > >>>>> on Thu, 8 Oct 2015 12:19:16 +1100 writes: &g

Re: [Rd] Unexpected failure when calling new() with unnamed arg and

2015-10-07 Thread Joshua Wiley
Hi, I realize this is an old thread, but just wondering whether a conclusion was ever reached on this issue? I'm using formula(NULL) but it would be nice if default initialization worked for formula classes as well. Cheers, Josh On Thu, May 14, 2015 at 8:13 AM, Hervé Pagès wrote: > Thanks M

Re: [Rd] no visible binding for global variable for data sets in a package

2014-08-27 Thread Joshua Wiley
I have had similar notes, but in cases where the dataset was created internally by a function: * checking R code for possible problems ... NOTE vm_diagnostics: no visible binding for global variable 'Median' vm_diagnostics: no visible binding for global variable 'Index' vm_diagnostics: no visible

Re: [Rd] How to (appropropriately) use require in a package?

2014-08-08 Thread Joshua Wiley
xports have been visible as it was > imported by PkgA and hence in the environment tree for functions in PkgA. > Then namespace scoping will ensure that PkgB's namespace is loaded on the > cluster workers. > > > > On 08/08/2014 00:58, Joshua Wiley wrote: > >> S

Re: [Rd] How to (appropropriately) use require in a package?

2014-08-07 Thread Joshua Wiley
r started by PkgA will automatically have PkgB loaded and functions available. Thanks! On Fri, Aug 8, 2014 at 9:35 AM, Joshua Wiley wrote: > Dear All, > > What is the preferred way for Package A, to initialize a cluster, and load > Package B on all nodes? > > I am writing

[Rd] How to (appropropriately) use require in a package?

2014-08-07 Thread Joshua Wiley
Dear All, What is the preferred way for Package A, to initialize a cluster, and load Package B on all nodes? I am writing a package that parallelizes some functions through the use of a cluster if useRs are on a Windows machine (using parLapply and family). I also make use of another package in

Re: [Rd] summary of lme4.0 model in package

2014-04-03 Thread Joshua Wiley
reasonable answer can be extracted from a given body of data. > ~ John Tukey > > > * * * * * * * * * * * * * D I S C L A I M E R * * * * * * * * * * * * * > Dit bericht en eventuele bijlagen geven enkel de visie van de schrijver > weer en binden het INBO onder geen enkel beding

Re: [Rd] ifelse can't return a list? Please explain (R-2.15.3)

2013-03-24 Thread Joshua Wiley
se list(x, y, z) >> myvar > [[1]] > [1] 4 > > [[2]] > [1] 5 > > [[3]] > [1] 6 > > > -- > Paul E. Johnson > Professor, Political Science Assoc. Director > 1541 Lilac Lane, Room 504 Center for Research Methods > University of Kansas

Re: [Rd] Found explanation for R-2.15.2 slowdown in one case; caution for any users of La_chol

2012-12-15 Thread Joshua Wiley
s more tests and checks than are done during a simple install. Rcmd check really does catch a lot (there's even been some noise on this list that it catches *too much*) so if you're having trouble with a package, it is probably a reasonable place to start with the most rigorous set of packag

Re: [Rd] Quiz: How to get a "named column" from a data frame

2012-08-18 Thread Joshua Wiley
; >> R-devel readers... OTOH, people like Bill Dunlap will not take > >> long to provide it or a better one. > >> > >> (*) In my solution, the above '...' consists of 17 letters. > >> I'll post it later today (CEST time) ...

Re: [Rd] columnames changes behaviour of formula

2012-05-24 Thread Joshua Wiley
function, such as lm.fit or fastLmPure from the RcppEigen package. On Thu, May 24, 2012 at 9:46 PM, Joshua Wiley wrote: > Hi Robin, > > Seems like the intended behavior to me.  From the docs: > "There are two special interpretations of '.' in a formula.  The usual &

Re: [Rd] columnames changes behaviour of formula

2012-05-24 Thread Joshua Wiley
=x)) >       nd > 0.2962963 > > > > I am not sure if this is consistent with the special meaning of '.' > described under ?formula. > > Is this the intended behaviour? > > > -- > Robin Hankin > Uncertainty Analyst > hankin.ro...@gmail.com > >  

Re: [Rd] R package dependency issues when namespace is not attached

2012-05-13 Thread Joshua Wiley
tallation order, check order etc. So should package authors both list a package in the depends of DESCRIPTION and explicitly import what is needed so if someone else uses their code without loading the package, everything needed is available? > > Best, > Uwe > > > > > >> Duncan Murdoch >> >> __ >> R-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-devel > > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] file 2 is not in sorted order error building unsuffered consequences

2012-05-10 Thread Joshua Wiley
On Tue, May 8, 2012 at 9:35 AM, Duncan Murdoch wrote: > This time it was a similar error on a different file.  Now fixed. Works wonderfully now, thank you so much, Duncan! > > Duncan Murdoch > > > On 08/05/2012 11:20 AM, Joshua Wiley wrote: >> >> On Tue, May 8, 2

Re: [Rd] file 2 is not in sorted order error building unsuffered consequences

2012-05-08 Thread Joshua Wiley
On Tue, May 8, 2012 at 3:48 AM, Duncan Murdoch wrote: > On 12-05-08 1:46 AM, Joshua Wiley wrote: >> >> Hi All, >> >> I just downloaded the source tar ball (Revision: 59324 Last Changed >> Date: 2012-05-07) and tried to compile on a Win x64 system.  I am >>

[Rd] file 2 is not in sorted order error building unsuffered consequences

2012-05-07 Thread Joshua Wiley
all] Error 2 I did not note any other errors or warnings earlier on, though I may have missed some. I can provide the full log if requested. Any ideas? Thanks, Josh -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California,

Re: [Rd] CRAN policies

2012-03-30 Thread Joshua Wiley
        "function"      "Gamma" >> >  [22] "gaussian"      "if"            "library" >> >  [25] "local"         "poisson"       "quasi" >> >  [28] "quasibinomial" "quasipoi

Re: [Rd] R 2.14.1 memory management under Windows

2012-03-21 Thread Joshua Wiley
t; > >      Best Wishes, >      Spencer > > > -- > Spencer Graves, PE, PhD > President and Chief Technology Officer > Structure Inspection and Monitoring, Inc. > 751 Emerson Ct. > San José, CA 95126 > ph:  408-655-4567 > web:  www.structuremonitoring.com >

Re: [Rd] Jazzing up the Task Views index page

2012-02-22 Thread Joshua Wiley
es, etc? > > Barry > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of Califor

Re: [Rd] How to modify the start-up message

2012-01-16 Thread Joshua Wiley
art-up functionalities of that package? >> >> >> You should always modify packages by applying the changes to the source >> package and reinstall that.  Hence ask those who provided the binary >> package for a source version. >> >> Uwe Ligges >> &g

Re: [Rd] Subsetting a data frame vs. subsetting the columns

2011-12-28 Thread Joshua Wiley
y Junior Chair >> Department of Statistics / Rice University >> http://had.co.nz/ >> >> __ >> R-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-devel >> >> > > ___

Re: [Rd] NAMESPACES for data only packages

2011-11-08 Thread Joshua Wiley
reet    Web:   http://www.datavis.ca > Toronto, ONT  M3J 1P3 CANADA > > >        [[alternative HTML version deleted]] > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Joshua Wiley Ph.D. Student, Heal

Re: [Rd] How do I use the new 'ByteCompile' field in R-2.14?

2011-11-02 Thread Joshua Wiley
vel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, ATS Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] cygwing warming when creating a package in windows

2011-10-20 Thread Joshua Wiley
That. Cygwin warning is expected on Windows. You can still build the package and it should be fine, although it looks like the documentation may need a bit of tweaking to pass R CMD check. 2.13.2 is the latest version of R, and I would recommend using it over 2.12.2. Both for the improvements

Re: [Rd] readRDS and saveRDS

2011-10-18 Thread Joshua Wiley
; __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, ATS Statistical Consulting Group University of California, Los Angeles https://jos

Re: [Rd] Error in gzfile(file, mode) when checking a package with rcmd check

2011-10-16 Thread Joshua Wiley
>>> 'U:\DOCUME~1\Admin\LOCALS~1\Temp\RtmpwWcmem/libloc_U%3a%2fDocuments%20and%20Settings%2fpgiraudo%2fMes%20documents%2fR%2fpgir_arch%2fpgirmess_arch%2fOn%20work%2fpgirmess.RcheckVersion,Priority,Depends,Imports,LinkingTo,Suggests,Enhances,OS_type,License,Archs,Built.rds', >>> proba

Re: [Rd] trace an Rd conversion error in R cmd check

2011-10-12 Thread Joshua Wiley
2pdf pkg-name' >> (which should give the same error, as that is what R CMD check calls), >> then run that R code directly (there are comments in the code in >> R-devel about how to do so). >> >> On Wed, 12 Oct 2011, Joshua Wiley wrote: >> >>> Hi All,

Re: [Rd] trace an Rd conversion error in R cmd check

2011-10-12 Thread Joshua Wiley
how to do so). > > On Wed, 12 Oct 2011, Joshua Wiley wrote: > >> Hi All, >> >> Apologies if this is a very naive question.  Is there a way to see the >> particular Rd file being processed right before a warning/error >> occurs?  As far as I can tell, all my

[Rd] trace an Rd conversion error in R cmd check

2011-10-12 Thread Joshua Wiley
kTeX 2.9 Any suggestions or pointers to manuals/documentation would be greatly appreciated. Thanks, Josh -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, ATS Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/

Re: [Rd] Increase transparency: suggestion on how to avoid namespaces and/or unnecessary overwrites of existing functions

2011-10-01 Thread Joshua Wiley
ot; can introduce a significant performance >> penalty. (This has been discussed in another thread.) > > That's good advice too. > > Duncan Murdoch Is this performance hit the sort of thing that byte compiling would help with, or am I misunderstanding its use? -- Joshua Wil

Re: [Rd] Overwriting imported function in another package

2011-08-08 Thread Joshua Wiley
> [Jeroen Ooms wrote:] >> > I am running into a limitation of the grid::grid.newpage function, for >> > which I would like to overwrite this function >> > with a slightly modified one. Hopefully this is a temporary working >> > solution until the package gets updated. I found a >> > way to overwr

Re: [Rd] dotchart {graphics} 2.11.1 vs. 2.12.1 [followed up from Rhelp]

2011-02-19 Thread Joshua Wiley
On Fri, Feb 18, 2011 at 5:44 AM, Prof Brian Ripley wrote: > On Tue, 1 Feb 2011, Joshua Wiley wrote: > >> Dear List, >> >> With the R 2.12.0 addition of table methods for points(), dotchart() >> struggles with tables. > > Which of course it is not documented

[Rd] dotchart {graphics} 2.11.1 vs. 2.12.1 [followed up from Rhelp]

2011-02-01 Thread Joshua Wiley
uot;) } plot(x = c(0, 150), y = c(0, 5), type = "n") points(x, y, type = "p") # -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R 2.12.0 doesn't install properly under Windows Vista

2010-10-16 Thread Joshua Wiley
but so far the GUI, Rterm, and R CMD BATCH all worked great. Thanks for spending your Saturday making this available, Duncan! Josh > > Duncan Murdoch > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/