Re: [R-pkg-devel] GitHub problems

2020-04-03 Thread Spencer Graves
ommit" and "git push".   However, this has my GitHub password in a plain text ".git" file on my hard drive.  I think the hard drive on my computer is encrypted, so maybe that's not a problem.   Am I not allowed to use SSH with a GitHub repository that's not m

Re: [Rd] status of Java & rJava?

2020-03-30 Thread Spencer Graves
  Tomas Kalibera kindly suggested I might have both 32- and 64-bit Java installed, and it might be accessing the 32-bit.  He further suggested:    R CMD check Ecfun_0.2-4.tar.gz --no-multiarch   That worked.  Thanks, Thomas.   Spencer On 2020-03-29 08:03, Spencer Graves

Re: [Rd] status of Java & rJava?

2020-03-29 Thread Spencer Graves
e?" under Windows 10.  "00install.out" and "Sys.getenv('PATH')" follow.  "library(rJava)" seemed to work, and "help(pac='rJava') displays 0.9-12.  Suggestions?  Thanks, Spencer Graves * installing *source* package 'Ecfun' ... ** using staged installation ** R ** inst

Re: [Rd] status of Java & rJava?

2020-03-29 Thread Spencer Graves
of. Ripley.  Spencer Graves __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] status of Java & rJava?

2020-03-28 Thread Spencer Graves
list or to Stack Exchange or Stack Overflow?   Since I'm getting so many problems with rJava on under both macOS and Windows 10, that suggests to me that potential users could have similar problems, and I should try to remove rJava from Ecfun.   What do you think?

[Rd] ":::" operator doesn't work with data object Ecdat:::Crime

2020-03-16 Thread Spencer Graves
t;library(plm); data(Crime); Crime" works.  I would naively think a user should be able to compare "Crime" objects documented in different packages using the "::" and ":::" operators, even if a package maintainer chooses not to "export" data objects.   

[R-pkg-devel] Warning in dir.create(vd2 <- "vign_test"): 'vign_test' already exists

2020-03-15 Thread Spencer Graves
cOS 10.15.3 it finishes fine.   "grep 'vign_test'" failed to find anything.   ???   Thanks,   Spencer Graves p.s.  Running R 3.6.3 on both machines with "update.packates()" clean. __ R-package-devel@r-project.org mail

Re: [R-pkg-devel] GitHub problems

2020-03-14 Thread Spencer Graves
s associated with git. > > > > On Sat, 14 Mar 2020 at 2:14 pm, Spencer Graves > <mailto:spencer.gra...@effectivedefense.org>> wrote: > > Hello, All: > > >    What do you suggest Jim Ramsay and I do to migrate the fda > package to GitH

[R-pkg-devel] GitHub problems

2020-03-13 Thread Spencer Graves
me: SpenceravessMBP:fda sbgraves$ git push remote: Permission to JamesRamsay5/fda.git denied to sbgraves237. fatal: unable to access 'https://892da70262d9a4faa857b8602145414d6b210...@github.com/JamesRamsay5/fda/': The requested URL returned error: 403   Suggest

[R-pkg-devel] Internet security software?

2020-02-24 Thread Spencer Graves
nder tech support answers the phone but fails to fix these problems.   Thanks,   Spencer Graves __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

[R-pkg-devel] MiKTex v. TeX Live?

2020-02-24 Thread Spencer Graves
default identify as part of the operating system.   Suggestions?   Thanks,   Spencer Graves p.s.  This is using R 2.6.2 immediately after running "update.packages()". __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

[R-pkg-devel] Error: Symbol \textasciigrave not provided by (textcomp)

2020-02-16 Thread Spencer Graves
.Rd".  Those functions were written to fix parsing errors with names like "Raúl" that had been mangled by different software before I could get it into R.   After a day's work failed to produce a work around, I decided to ask this group.   What do you suggest?  

[R-pkg-devel] revdepcheck::revdep_check interpretation problem

2020-02-10 Thread Spencer Graves
ing classroom organizations 2: tscheypidi/magclass  Tools for managing classroom organizations 3: rundel/ghclass   Tools for managing classroom organizations   ** None of that sounds like "gamclass".       What do you suggest?   I should probably ignore this?   Thanks,    

[R-pkg-devel] finding "logo.jpg" [was: "try" malfunctions on Ubuntu Linux 16.04 LTS, R-release, GCC]

2020-02-03 Thread Spencer Graves
t the current Ecfun package to CRAN. Then I might modify this test sequence to force an error, so I can see more what is happening.   Suggestions?   Thanks,   Spencer On 2020-02-03 03:06, Iñaki Ucar wrote: On Mon, 3 Feb 2020 at 03:16, Spencer Graves wrote: Hello, All: devtoo

Re: [R-pkg-devel] "try" malfunctions on Ubuntu Linux 16.04 LTS, R-release, GCC

2020-02-02 Thread Spencer Graves
Hi, Dirk:   The short answer is that's part of what's on "rhub".   When I run devtools::check_rhub, I get emails with test results from three platforms:  (1) Windows Server 2008 R2 SP1, R-devel, 32/64 bit.  (2) Ubuntu Linux 16.04 LTS, R-release, GCC. And (3) Fedora Linux, R-devel,

[R-pkg-devel] "try" malfunctions on Ubuntu Linux 16.04 LTS, R-release, GCC

2020-02-02 Thread Spencer Graves
ersion of Ecfun, which I want to submit to CRAN as soon as I can do so without offending the sensibilities of the overworked CRAN maintainers.   Suggestions?   Thanks,   Spencer Graves Forwarded Message Subject:Ecfun 0.2-2: ERROR Date: Sun, 02 Feb 2020

Re: [Rd] matplot.Date & matplot.POSIXct

2020-01-28 Thread Spencer Graves
On 2020-01-28 05:13, Martin Maechler wrote: Spencer Graves on Mon, 27 Jan 2020 23:02:28 -0600 writes: Still, as Abby mentioned, turning a simple function into the default method of an S3 generic is easy to do, but comes with a bit of cost, not just S3 dispatch which typically

Re: [Rd] matplot.Date & matplot.POSIXct

2020-01-27 Thread Spencer Graves
m fixed.   Comments?       Thanks again for the reply.   Spencer Graves B. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] matplot.Date & matplot.POSIXct

2020-01-24 Thread Spencer Graves
t;, and Jim asked me if we needed to to have "matplot" masking "graphics::matplot".  Rather than answer that question, I thought I would ask a larger question of this group.   Thanks,   Spencer Graves __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [R-pkg-devel] CRAN rules re. web scraping?

2020-01-23 Thread Spencer Graves
https://github.com/sbgraves237/Ecfun".  The package still needs more work, but I will make Prof. Ripley's Feb. 4 deadline.   Thanks again,       Spencer Graves On 2020-01-23 01:55, Iñaki Ucar wrote: On Thu, 23 Jan 2020 at 02:49, Spencer Graves wrote: Hello, All: GOOD NEWS AN

[R-pkg-devel] CRAN rules re. web scraping?

2020-01-22 Thread Spencer Graves
sts not to run on CRAN, e.g., with (!fda::CRAN()).   However, I suspect I should be able to do better than that.       Suggestions?   Thanks,   Spencer Graves p.s.  The development version of this package is available at "https://github.com/sbgraves237/Ecf

Re: [Rd] [External] Re: rpois(9, 1e10)

2020-01-22 Thread Spencer Graves
On 2020-01-22 02:54, Martin Maechler wrote: Martin Maechler on Tue, 21 Jan 2020 09:25:19 +0100 writes: Ben Bolker on Mon, 20 Jan 2020 12:54:52 -0500 writes: >> Ugh, sounds like competing priorities. > indeed. >> * maintain type consistency >> * minimize

Re: [Rd] [External] Re: rpois(9, 1e10)

2020-01-19 Thread Spencer Graves
ear, but 2021 may be possible. I few notes inline below: On Sun, 19 Jan 2020, Spencer Graves wrote: On my Mac: str(.Machine) ... $ integer.max  : int 2147483647  $ sizeof.long  : int 8  $ sizeof.longlong  : int 8  $ sizeof.longdouble    : int 16  $ sizeof.pointer

Re: [Rd] rpois(9, 1e10)

2020-01-19 Thread Spencer Graves
Adler wrote: > Floor (maybe round) of non-negative numerics, though. Poisson should > never have anything after decimal. > > Still think it’s worth allowing long long for R64 bit, just for purity > sake. > > Avi > > On Sun, Jan 19, 2020 at 4:38 PM Spencer G

Re: [Rd] rpois(9, 1e10)

2020-01-19 Thread Spencer Graves
teger.max = 2147483647 = 2^31 > 1e9.  That still means that a Poisson distributed pseudo-random number just under that would have to be over 23000 standard deviations above the mean to exceed .Machine$integer.max. > > On Sun, Jan 19, 2020 at 1:58 PM Spencer Graves > mailto:spence

Re: [Rd] rpois(9, 1e10)

2020-01-19 Thread Spencer Graves
ould write their own version of this function with "arbitraryPrecision" as an optional value for the "bigOutput" argument.   Comments?   Thanks,   Spencer Graves On 2020-01-19 10:28, Avraham Adler wrote: > Technically, lambda can always be numeric. It is the observations >

Re: [Rd] rpois(9, 1e10)

2020-01-19 Thread Spencer Graves
On 2020-01-19 09:34, Benjamin Tyner wrote: Hello, All:     Consider: Browse[2]> set.seed(1) Browse[2]> rpois(9, 1e10) NAs produced[1] NA NA NA NA NA NA NA NA NA     Should this happen?     I think

[Rd] rpois(9, 1e10)

2020-01-19 Thread Spencer Graves
rnorm(sum(big), lambda[big], sqrt(lambda[big]))   out[!big] <- rpois(sum(!big), lambda[!big])   out   }   Comments?   Thanks,   Spencer Graves __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [R-pkg-devel] How to create a new project on GitHub?

2020-01-15 Thread Spencer Graves
ot; Gabor   Thanks.  I now have "https://github.com/sbgraves237/fda;. Then I did "git push --set-upstream origin master", and it seemed to work.   Thanks again.   Spencer On Wed, Jan 15, 2020 at 11:15 PM Spencer Graves wrote: Hello, All: How can I creat

[R-pkg-devel] How to create a new project on GitHub?

2020-01-15 Thread Spencer Graves
tal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.   *** What do I need to do to fix the mess I seem to have created and get what I want?   *** Thanks, Spencer Graves p.s.  If you know the fda package, you know

Re: [Rd] "simulate" does not include variability in parameter estimation

2019-12-27 Thread Spencer Graves
On 2019-12-27 04:34, Duncan Murdoch wrote: On 26/12/2019 11:14 p.m., Spencer Graves wrote: Hello, All:     The default "simulate" method for lm and glm seems to ignore the sampling variance of the parameter estimates;  see the trivial lm and glm examples below.  Both thes

[Rd] "simulate" does not include variability in parameter estimation

2019-12-26 Thread Spencer Graves
imulate.glm", what would I call them?  I can't use the word "response", because that's already used with a different meaning. Might "observations" be the appropriate term?   What do you think?   Thanks,   Spencer Graves > x0 <- c(-1, 1) > var(x0

[R-pkg-devel] default col.names from data.frame not the same as as.data.frame

2019-12-10 Thread Spencer Graves
quot; but "as.data.frame(matrix(1:2, 1))" defaults to "V1", "V2".         * I want to use a toy example like this in the documentation for "BMA:::bic.glm.matrix" and "BMA:::bic.glm.data.frame", and since "base" R is inco

[Rd] default col.names from data.frame not the same as as.data.frame

2019-12-09 Thread Spencer Graves
group what names you all prefer for examples like these.   Thanks,   Spencer Graves __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [R-pkg-devel] compression of vignettes

2019-11-24 Thread Spencer Graves
" included the following: * checking installed package size ... NOTE   installed size is  7.2Mb   sub-directories of 1Mb or more:     doc   6.6Mb   Suggestions?   Thanks,   Spencer Graves On 2019-11-21 11:43, Dirk Eddelbuettel wrote: On 21 November 2019 at 16:43, Joris Meys wrot

[R-pkg-devel] devtools::build_win()?

2019-10-31 Thread Spencer Graves
ot;devtools::revdep_check()" seems only to identify the reverse dependencies without testing them.   That do you suggest?   Thanks,   Spencer Graves __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [Rd] New matrix function

2019-10-11 Thread Spencer Graves
with good examples that tend to ensure quality.  Some maintainers reject my suggestions;  other have accepted them.   Spencer Graves [1] https://en.wikiversity.org/wiki/Searching_R_Packages [2] Caveat:  I wrote both that Wikiversity article and the "sos" package, so I'm bia

[R-pkg-devel] How to submit to CRAN from GitHub?

2019-09-22 Thread Spencer Graves
rstand how to change. NOTE:  "R CMD build Ecdat --resave-data" followed by "R CMD check Ecdat_0.3.3-tar.gz" completed with no errors, warnings or notes under macOS 10.14.6 and Windows 7 and 10.   Thanks,   Spencer Graves Forwarded Message Su

[R-pkg-devel] incomplete final line found on 'growth_model.log'

2019-09-20 Thread Spencer Graves
  "R CMD build bssm" on a Windows 10 machine ends by complaining, "  incomplete final line found on 'growth_model.log'". This problem was not fixed by adding a couple of blank lines to 'growth_model.Rmd'.   Suggestions?   Thanks,   Spencer Graves p.

Re: [R-pkg-devel] Warning in system2(..., stdout = FALSE, stderr = FALSE) :, '"pdflatex"' not found

2019-09-19 Thread Spencer Graves
On 2019-09-19 12:19, Tomas Kalibera wrote: On 9/19/19 6:29 AM, Spencer Graves wrote: Update: A web search for 'installing pdflatex for "R CMD" on Windows 10?' suggested I install MiKTeX.  I did that from miktex.org, and it got me past that error.  Spencer Please note th

Re: [R-pkg-devel] Warning in system2(..., stdout = FALSE, stderr = FALSE) :, '"pdflatex"' not found

2019-09-19 Thread Spencer Graves
Update:  A web search for 'installing pdflatex for "R CMD" on Windows 10?' suggested I install MiKTeX.  I did that from miktex.org, and it got me past that error.  Spencer On 2019-09-19 01:50, Spencer Graves wrote: Hello, All:   What's the recommended way to get pdflatex

Re: [R-pkg-devel] unable to run 'make clean' in 'src'

2019-09-19 Thread Spencer Graves
;) library("installr") install.Rtools()   I uninstalled Rtools, then installed them using this, and that problem disappeared.  Now I'm dealing with '"pdflatex" not found". I'll discuss that in a new thread.   Thanks,   Spencer Graves On 2019-09-18 06:3

[R-pkg-devel] unable to run 'make clean' in 'src'

2019-09-18 Thread Spencer Graves
  This is trying to build a local clone of "https://github.com/sbgraves237/bssm;, which is only slightly different from "helske/bssm".   What do you suggest?   Thanks,   Spencer Graves p.s. "https://stackoverflow.com/questions/28723882/problems-installi

Re: [R-pkg-devel] URL of a frame (or a vignette)?

2019-09-01 Thread Spencer Graves
15:57 To: Spencer Graves; Jeff Newmiller; r-package-devel@r-project.org Subject: Re: [R-pkg-devel] URL of a frame (or a vignette)? It may be better to use the canonical url, https://cran.r-project.org/package=bssm, as in: https://cran.r-project.org/package=bssm/bssm.pdf By the way

Re: [Rd] GitHub passwords in .git/config?

2019-07-15 Thread Spencer Graves
Best, Marcel On 7/15/19 1:48 PM, Spencer Graves wrote: I'm diverging: Now I get: git pull ssh: Could not resolve hostname github.com:sbgraves237: nodename nor servname provided, or not known fatal: Could not read from remote repository. Please make sure you have the correct access rights and

Re: [Rd] GitHub passwords in .git/config?

2019-07-15 Thread Spencer Graves
them fresh from GitHub?   Spencer On 2019-07-15 12:01, Brian G. Peterson wrote: it would be: ssh://g...@github.com:sbgraves237/Ecdat.git On Mon, 2019-07-15 at 11:41 -0500, Spencer Graves wrote: On 2019-07-15 10:56, Dirk Eddelbuettel wrote: Don't write passwords down like this.

[Rd] GitHub passwords in .git/config?

2019-07-15 Thread Spencer Graves
On 2019-07-15 10:56, Dirk Eddelbuettel wrote: Don't write passwords down like this. Your error is likely in expecting _ssh_ authentication over _https_ -- when it works only over ssh. Use the alternate form for a remote e.g. one that looks like g...@github.com:emacs-ess/ESS.git  

Re: [Rd] R-Forge > GitHub?

2019-07-14 Thread Spencer Graves
b.  I deleted them in a Terminal with "git rm -r inst/doc".  After "git commit" and "git push", I found they had been deleted from the GitHub repository but not my local computer, so I deleted them locally -- without any apparent side effects.   Thanks again,

Re: [Rd] .travis.yml ... most likely included in error

2019-07-14 Thread Spencer Graves
lly on how to find "warnings, treating as errors".   Thanks again,   Spencer Graves On 2019-07-14 10:08, Danny Smith wrote: > Hi Spencer, > > To get rid of the .travis.yml note add a .Rbuildignore file with this > line: > ^\.travis\.yml$ > This will exclude

[Rd] .travis.yml ... most likely included in error

2019-07-14 Thread Spencer Graves
st Travis-CI problems?  If yes, what would you suggest they do?   Thanks,   Spencer Graves __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R-Forge > GitHub?

2019-07-03 Thread Spencer Graves
ote changes hint: (e.g., 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. SpenceravessMBP:Ecdat sbgraves$   Suggestions?   Thanks again,   Spencer Graves On 2019-07-01 01:05, Ott Toomet wrote: > Apparently you cre

Re: [Rd] R-Forge > GitHub?

2019-06-30 Thread Spencer Graves
Ecdat from within RStudio.  And in "~.ssh" I see files id_rsa and id_rsa.pub, both created two days ago.   What do you suggest I try to get past this?   Thanks again for all your help.   Spencer Graves cd Ecdat ### rename my GitHub repo remote from 'origin' to 'tmp' g

Re: [Rd] R-Forge > GitHub?

2019-06-29 Thread Spencer Graves
ns on how to do this -- or at least on how to find documentation on how to do this.   Thanks,       Spencer On 2019-06-29 14:09, Henrik Bengtsson wrote: On Sat, Jun 29, 2019 at 9:43 AM Spencer Graves wrote: Hi, Ott et al.: What's the best way to get "Travis CI" to build and

Re: [Rd] R-Forge > GitHub?

2019-06-29 Thread Spencer Graves
GH, and use ssh > authorization instead of https. > > Cheers, > Ott > > On Fri, Jun 28, 2019 at 8:18 PM Spencer Graves > mailto:spencer.gra...@prodsyse.com>> wrote: > > Thanks to Duncan, Henrik and Henrik, Brian, and Gábor: > > >    I

Re: [Rd] R-Forge > GitHub?

2019-06-28 Thread Spencer Graves
Thanks to Duncan, Henrik and Henrik, Brian, and Gábor:   I created a local copy of the new GitHub version using the following: git clone https://sbgraves237:mypassw...@github.com/sbgraves237/Ecdat.git   That worked in the sense that I got a local copy.  However, after I rolled

Re: [Rd] R-Forge > GitHub?

2019-06-27 Thread Spencer Graves
in the future.   I believe I know how to do 1, 2, and 4, and I can probably figure out 3.  However, before I start on this, I felt a need to thank everyone who contributed to this thread and invite comments, especially if someone thinks I might be better off doing something different.

Re: [Rd] R-Forge > GitHub?

2019-06-27 Thread Spencer Graves
t; button on github.com <http://github.com>�and select > "Import a repository". > 2. Pass the URL of your SVN repo. > > Lionel > >> On 26 Jun 2019, at 18:58, Spencer Graves > <mailto:spencer.gra...@prodsyse.com>> wrote: >> >>

Re: [Rd] R-Forge > GitHub?

2019-06-27 Thread Spencer Graves
e version of this package on GitHub, but all the history would be lost.   Thanks again,   Spencer Graves On 2019-06-26 10:35, Lionel Henry wrote: On 26 Jun 2019, at 17:25, Duncan Murdoch wrote: R-Forge is mirrored on Github; see https://github.com/rforge/ecdat, for example. Th

[Rd] R-Forge > GitHub?

2019-06-26 Thread Spencer Graves
riendly/7269490".  This says it was "Last active 2 years ago" but seems to be the most current advice I can find on this right now.  That looks complicated, but I assume it preserves the edit history on R-Forge. ???       Thanks,       Spencer Graves Forwarded Message

Re: [Rd] point size in svg

2019-06-23 Thread Spencer Graves
  I will repost this to r-sig-mac R .   Thanks again to Peter and David.   Spencer Graves #  From the Windows system: sessionInfo() R version 3.5.2 (2018-12-20) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7601) Service Pack 1 Matrix products: default loca

[Rd] point size in svg

2019-06-19 Thread Spencer Graves
ied: svg('cex-svg.svg', width=15, height=15, pointsize=24) cex. <- 5 plot(1:2, cex.axis=cex.) text(1:2, 1:2, c('as', 'DF'),   cex=cex.) dev.off()   What do I do to control the font size in svg?   Thanks,   Spencer Graves sessionInfo() R version 3.6.0 (2019-04-26) Pl

[R-pkg-devel] clang: error: unsupported option '-fopenmp'

2019-05-03 Thread Spencer Graves
Hello, All:   I'm getting "clang: error: unsupported option '-fopenmp'" when trying to build "https://github.com/helske/bssm; under macOS 10.14.14 with R 3.6.0;  see below.   What do you suggest?   Thanks,   Spencer Graves p.s.  I assume I have to ins

[R-pkg-devel] DLL 'Matrix' not found: maybe not installed for this architecture?

2019-02-25 Thread Spencer Graves
��� Thanks, ����� Spencer Graves Forwarded Message Subject:winbuilder: Package Ecfun_0.2-0.tar.gz has been checked and built Date: Mon, 25 Feb 2019 04:08:22 +0100 From: lig...@statistik.tu-dortmund.de To: spencer.gra...@effectivedefense.org CC: lig...@statistik.tu-d

Re: [R-pkg-devel] Package Etiquette

2018-09-09 Thread Spencer Graves
existing package author worry about maintaining what s/he has already written and maintained.  I can worry about other things.   Hope this helps.   Spencer Graves I sense that by actually asking the question (good move!) you already have an inkling about the answer. So indeed, _ex a

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-08 Thread Spencer Graves
On 2018-09-08 14:02, Joshua Ulrich wrote: Hi Rainer, On Wed, Sep 5, 2018 at 2:28 AM, Rainer Krug wrote: Hi I have a package at GitHub (https://github.com/rkrug/ROriginStamp) which I am pre[paring for CRAN. It creates a trusted timestamp using the API fro OriginStamp

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-07 Thread Spencer Graves
key:  That's optional.   Spencer Graves Duncan Murdoch Cheers, Rainer Duncan Murdoch __ R-package-devel@r-project.org <mailto:R-package-devel@r-project.org>mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel --

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-07 Thread Spencer Graves
that function "CRAN()"! Since then, I've had other occasions to use it.       Spencer Graves -- Sent from Gmail Mobile [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/

Re: [Rd] svg ignores cex.axis in R3.5.1 on macOS

2018-09-06 Thread Spencer Graves
one wants me to try something further to add to this record, I will.  Otherwise, I'll wait:  If the problem recurs, I'll try reinstalling XQuartz again, as Professors Dalgaard and Ripley suggested.  And if I have another problem with svg and need further help, I will consider R-sig-Mac.   Th

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-05 Thread Spencer Graves
On 2018-09-05 12:52, Gábor Csárdi wrote: On Wed, Sep 5, 2018 at 6:34 PM Spencer Graves wrote: The fda package disables some tests on CRAN using: if(!fda::CRAN()){ test you don't want run on CRAN } Seemingly this just checks for a couple of (5 by default) environment variables

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-05 Thread Spencer Graves
The fda package disables some tests on CRAN using: if(!fda::CRAN()){     test you don't want run on CRAN }   I've used this in other contexts with tests that are too long to run on CRAN but that I want to run otherwise during "R CMD check".       Spencer Graves On 2018-0

Re: [Rd] svg ignores cex.axis in R3.5.1 on macOS

2018-08-31 Thread Spencer Graves
On 2018-08-31 14:21, Spencer Graves wrote: Plots produced using svg in R 3.5.1 under macOS 10.13.6 ignores cex.axis=2.  Consider the following: > plot(1:2, cex.axis=2) > svg('svg_ignores_cex.axis.svg') > plot(1:2, cex.axis=2) > dev.off() > sessionInfo() R version 3.

[Rd] svg ignores cex.axis in R3.5.1 on macOS

2018-08-31 Thread Spencer Graves
wrote that to an svg file and opened it in other applications (GIMP and Safari), the cex.axis request was ignored.  This also occurred inside RStudio on my Mac. It worked properly using R 3.2.1 under Windows 7.       Thanks,   Spencer Graves ___

Re: [R-pkg-devel] How to write example results to a tempdir()?

2018-04-26 Thread Spencer Graves
ot; later in the code, which could be a problem if I have multiple exit points.  I don't know how it would work in a vignette or the examples section of a *.Rd file.  tryCatch(..., finally = setwd(savedir)) condenses this into one line ... and is too terse for me in many cases.   Spen

Re: [R-pkg-devel] some notes

2018-04-24 Thread Spencer Graves
On 2018-04-24 12:23, Uwe Ligges wrote: > > > On 24.04.2018 19:15, Spencer Graves wrote: >> >> >> On 2018-04-24 12:01, Duncan Murdoch wrote: >>> On 24/04/2018 12:48 PM, Uwe Ligges wrote: >>>> >>>> >>>> On 24

Re: [R-pkg-devel] some notes

2018-04-24 Thread Spencer Graves
On 2018-04-24 12:01, Duncan Murdoch wrote: On 24/04/2018 12:48 PM, Uwe Ligges wrote: On 24.04.2018 18:45, Spencer Graves wrote: [... deleting irrelevant stuff...]     If it becomes infeasible to find smaller datasets, etc., you can cut out certain tests with a construct like

Re: [R-pkg-devel] some notes

2018-04-24 Thread Spencer Graves
ve been told that this is a suboptimal solution and should be avoided.  I agree.   Hope this helps.       Spencer Graves You don't have a lot of control of elapsed time because it will depend on what else is happening on the test machine, but if the other times are short, usually elapsed time will a

Re: [Rd] Spam to R-* list posters

2018-04-19 Thread Spencer Graves
address is visible.' (https://en.wikipedia.org/wiki/ReCAPTCHA)   Of course, this is easier for me to suggest, because I'm not in a position to actually implement it ;-)   Spencer Graves p.s.  I wish again to express my deep appreciation to Martin and the other members of the R Core tea

Re: [Rd] R Bug: write.table for matrix of more than 2, 147, 483, 648 elements

2018-04-18 Thread Spencer Graves
On 2018-04-18 17:38, Steven McKinney wrote: Hi Colton, You could divide your write task into chunks that do not violate the 2^31-1 limit. write.table has an append argument (default FALSE). Figure out a row chunk size nri < nr such that nri * nc is under 2^31-1 and use write.table() to

Re: [R-pkg-devel] Avoid reprocessing Rmd vignette

2018-03-20 Thread Spencer Graves
On 2018-03-20 06:17, Johannes Ranke wrote: ... The idea exposed by Dirk is the same: requireNamespace will find the package on CRAN and will set eval=TRUE. What you want though is to avoid running a chunk on CRAN, even if the package is available. So you need to set eval=FALSE

Re: [R-pkg-devel] library dlstats -> cran_stats()

2018-03-16 Thread Spencer Graves
, for example.   That's what it says in the DESCRIPTION file of the "dlstats" package, available at "http://finzi.psych.upenn.edu/R/library/dlstats/DESCRIPTION;.   Spencer Graves -Mark Op vr 16 mrt. 2018 om 12:30 schreef Knut Krueger <rh...@krueger-family.de&g

[Rd] Draft proposal for Searching R Packages

2018-02-17 Thread Spencer Graves
deadline is April 1.  This sounds like lots of time, except that the key thing that is missing in this draft proposal is principal investigator(s).  Without PI(s), it won't fly.   Thanks,   Spencer Graves, PhD   Founder   EffectivedDefense.org   7300 W. 107th St. # 506   Ove

[Rd] help(pac=xxx) get data from CRAN?

2018-01-29 Thread Spencer Graves
g like, "Local newer than CRAN."   This occurred to me, because someone suggested I update the "sos" package to use CRAN to get package information for packages not already installed.  It's a great idea, but I'm not ready to do that ju

[Rd] Searching R Packages

2018-01-27 Thread Spencer Graves
might be interested. Thanks for your contributions to improving the lot of humanity through better statistical software.   Best Wishes,   Spencer Graves, PhD   Founder   EffectiveDefense.org   7300 W. 107th St. # 506   Overland Park, KS 66212

Re: [R-pkg-devel] Producing ß in help files.

2018-01-05 Thread Spencer Graves
On 2018-01-05 21:41, Rolf Turner wrote: On 06/01/18 16:19, Spencer Graves wrote: On 2018-01-05 20:52, Rolf Turner wrote: In a help file that I am writing I wish to cite an item by a bloke whose surname is Weiß.    Write it "Weiss".    See "https://en.wikiped

Re: [R-pkg-devel] Producing ß in help files.

2018-01-05 Thread Spencer Graves
ish latin alphabet.  These include "ß" = "ss", "ä" = "ae", "ö" = "oe" and "ü" = "ue".   Spencer Graves In LaTeX I would use the macro \ss, but Rd files don't accept that. Is there any way that I can create

Re: [Rd] Duncan's retirement: who's taking over Rtools?

2017-09-28 Thread Spencer Graves
Tirole won the 2014 Nobel Memorial Prize in Economics for establishing that, especially regarding telecommunications.[1]  It is unwise to permit too much power to be held too tightly.   Spencer Graves, PhD   Founder   EffectiveDefense.org   7300 W. 107th St. # 506   Overland

Re: [Rd] Are you considering the possibility of partnership?

2017-07-03 Thread Spencer Graves
On 2017-07-03 2:02 PM, Uwe Ligges wrote: Plese stop this. People who reply to spammers only invite more spam. The only way I know to defeat them is to get software to block them. The anti-spam software I have is not great but is better than nothing. Spencer Best, Uwe

Re: [R-pkg-devel] CRAN and cmake

2017-05-23 Thread Spencer Graves
find what they want. See "https://user2017.brussels/news/2017/navigating-the-r-package-universe;.) Spencer Graves Hth, Dirk __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [Rd] Bug: floating point bug in nclass.FD can cause hist() to crash

2017-05-18 Thread Spencer Graves
I just got the same error message with > sessionInfo() R version 3.4.0 (2017-04-21) Platform: x86_64-apple-darwin15.6.0 (64-bit) Running under: macOS Sierra 10.12.4 Matrix products: default BLAS:

Re: [Rd] SUGGESTION: R Base Packages

2017-05-18 Thread Spencer Graves
istraction and makes it harder for me to find what I want. Spencer Graves I like R's command line interface. It completes on symbols and files and I can easily use it with my favorite editor and run it in the terminal of my choice. I don't think that more effort should be put into dev

Re: [Rd] deparse(substitute(x)) fails in implied call to an S3 print method

2017-05-07 Thread Spencer Graves
On 2017-05-07 3:46 PM, Duncan Murdoch wrote: On 07/05/2017 3:56 PM, Spencer Graves wrote: In an implied call to an S3 print method, deparse(substitute(x)) returns "x", regardless of the name of object in .GlobalEnv, as indicated in the following: > Xnamed <- 1 > class

[Rd] deparse(substitute(x)) fails in implied call to an S3 print method

2017-05-07 Thread Spencer Graves
owser. If the results of multiple searches are "printed", the name of the object in .GlobalEnv could help the user keep track of what was done. Thanks, Spencer Graves > sessionInfo() R version 3.4.0 (2017-04-21) Platform: x86_64-apple-darwin15.6.0 (64-bit) Running under:

Re: [Rd] Getting high precision values from qnorm in the tail

2017-04-16 Thread Spencer Graves
1341 -1.270663e-08 0 hope this helps. Spencer Graves On 2017-04-16 6:30 AM, Sheldon Maze wrote: Hello All I am looking for high precision values for the normal distribution in the tail,(1e-10 and 1 - 1e-10) as the R package that I am using sets any number which is out of this range

Re: [R-pkg-devel] Referring to data in R/sysdata.rda

2017-04-15 Thread Spencer Graves
x) { junk <- yrPkg:::myDF[index] return(junk) } This will turn of similar messages is slightly different contexts. I don't know if it will work here (and I don't have time to try it myself now). Spencer Graves RStudio will warn that myDF is out of scope. My question is if

Re: [Rd] Error in formatDL(nm, txt, indent = max(nchar(nm, "w")) + 3)

2017-03-09 Thread Spencer Graves
Thanks. That sounds like a useful patch to me. Per "www.r-project.org/bugs.html", I will forward this thread with your suggested patch to the maintainer for formatDL{base} = "R Core Team <r-c...@r-project.org>". Spencer Graves p.s. Per your

Re: [Rd] Error in formatDL(nm, txt, indent = max(nchar(nm, "w")) + 3)

2017-03-08 Thread Spencer Graves
t know if it's new since R 3.2.1 or it works fine under Windows 7 but not a Mac. Thanks, Spencer Graves *** NOTES: 1. When I tried "Q" to exit debug mode, I got, "Error retrieving help: R code execution error." This suggests a bug in "debug",

[Rd] Error in formatDL(nm, txt, indent = max(nchar(nm, "w")) + 3)

2017-03-08 Thread Spencer Graves
e this wrapped inside "try" in PackageSum2{sos}, so it doesn't die, but it also doesn't give me the additional information I want from help(..., help_type='text') Is this a bug? Thanks, Spencer Graves Using RStudio 1.0.136 with > sessionInfo() R version 3.

[Rd] What would make R easier to use for you (and sos version 1.4-1 and useR!2017)

2017-02-08 Thread Spencer Graves
easily add a URL to that display; I plan to do so in the next month. I could envision including a companion book or references if the package DESCRIPTION file specifications were modified to invite package developers to specify such in a standard way. What do you think?

Re: [Rd] problem with print.generic(x)deparse(substitute(x))

2017-01-09 Thread Spencer Graves
On 2017-01-09 8:19 AM, Spencer Graves wrote: Hi, Peter et al.: On 2017-01-09 4:24 AM, peter dalgaard wrote: On 09 Jan 2017, at 10:53 , Spencer Graves <spencer.gra...@prodsyse.com> wrote: # Define an object of class 'dum' k <- 1 class(k) <- 'dum' str(k) # as expected # Defi

Re: [Rd] problem with print.generic(x)deparse(substitute(x))

2017-01-09 Thread Spencer Graves
Hi, Peter et al.: On 2017-01-09 4:24 AM, peter dalgaard wrote: On 09 Jan 2017, at 10:53 , Spencer Graves <spencer.gra...@prodsyse.com> wrote: # Define an object of class 'dum' k <- 1 class(k) <- 'dum' str(k) # as expected # Define print.dum print.dum <- function(x, ...) dep

<    1   2   3   4   5   >