Re: [Rd] \>

2024-06-29 Thread Spencer Graves
Hi, Duncan: On 6/29/24 17:24, Duncan Murdoch wrote:   Yes. I'm not yet facile with "|>", but I'm learning.   Spencer Graves There's very little to know.  This: x |> f() |> g() is just a different way of writing     g(f(x)) If f() or

Re: [Rd] write.csv problems

2024-06-29 Thread Spencer Graves
Hi, Rui et al.: On 6/29/24 14:24, Rui Barradas wrote: Às 17:02 de 28/06/2024, Spencer Graves escreveu: Hello, All:    I'm getting strange errors with write.csv with some objects of class c('findFn', 'data.frame'). Consider the following: df1 <- dat

[Rd] write.csv problems

2024-06-28 Thread Spencer Graves
ist(Count = c("83", : replacement element 1 has 526 rows, need 5264 I have NOT yet been able to reproduce this error with a smaller example. However, starting 'write.csv' with something like the following should fix all these problems: if(is.data.frame(x)) class(x)

Re: [Rd] head.ts, tail.ts loses time

2024-06-10 Thread Spencer Graves
Hi, Martin et al.: On 6/10/24 9:32 AM, Martin Maechler wrote: Spencer Graves on Mon, 10 Jun 2024 07:50:13 -0500 writes: > Hi, Gabor et al.: Thanks for this. I should change my > current application to use either zoo or xts, as Gabor > suggests. >

Re: [Rd] head.ts, tail.ts loses time

2024-06-10 Thread Spencer Graves
x" both call "[", so "head" cannot return a ts object, because "[" doesn't. Best Wishes, Spencer Graves On 6/9/24 8:40 PM, Gabor Grothendieck wrote: zoo overcomes many of the limitations of ts: library(zoo) as.ts(head(as.zoo(

[Rd] head.ts, tail.ts loses time

2024-06-09 Thread Spencer Graves
find code for 'head.ts' and 'tail.ts' that matches 'window'. Comments? Spencer Graves head.ts <- function(x, n=6L, ...){ tmx <- as.numeric(time(x)) # utils:::checkHT(n, d <- dim(x)) if(is.na(n[1]) || n[1]==0)ts(NULL) # first

Re: [Rd] Recent changes to as.complex(NA_real_)

2023-09-22 Thread Spencer Graves
Perhaps I shouldn't comment without having read the entire thread, but I will: I can envision situations where I might want, e.g., 2 from complex(r=2, i=NA_real_). Spencer Graves On 9/22/23 3:43 PM, Duncan Murdoch wrote: Since the result of is.na(x) is the same on ea

[Rd] scan(..., skip=1e11): infinite loop; cannot interrupt

2023-02-10 Thread Spencer Graves
function in R that allows me to read chunks of a large file like this? Thanks, Spencer Graves writeLines(as.character(1:11), 'tstNums.txt') (Tst2 <- scan('tstNums.txt', n=12, skip=5)) # works: 6 7 8 9 10 11 (Tst13 <- scan('tstNums.txt',

Re: [Rd] Combinations and Permutations

2023-01-13 Thread Spencer Graves
, a particular attention should be brought to the size of x (referred here as n) as the column number in the returned matrix growths as n!.. E.g. 8!=40320. So growths the cpu time too. What about "combinat::permn"? Spencer Graves Hoping it h

Re: [Rd] unlist preserve common class?

2022-12-09 Thread Spencer Graves
ytomorrow, min)) $d0 [1] "2022-12-09" $d1 [1] "2022-12-11" (maximin <- do.call('max', tt4)) [1] "2022-12-11" Conclusion: It would help to document Duncan's solution using "do.call" and avoiding "unlist" and &q

Re: [Rd] unlist preserve common class?

2022-12-08 Thread Spencer Graves
al, self-contained example. That was motivated by a more complicated example, which took me a couple of hours to understand why it wasn't working as I expected ;-) Thanks for your reply. Spencer Graves we could special case (the default method of) unlist so that for x /n

[Rd] unlist preserve common class?

2022-12-08 Thread Spencer Graves
o ask this list if they think that the core R language might benefit from modifying the language so "str(unlist(list(Sys.Date(" was of class 'Date', at least as an option. Comments? Thanks, Spencer Graves > sessionInfo() R version 4.2.2

Re: [Rd] as.Date without "origin"

2022-11-02 Thread Spencer Graves
having the default origin as a default would make very much sense to me here. Of course, for that particular example, it would also help me if ifelse() would properly handle Date vectors. Best Johannes Gesendet: Mittwoch, 02. November 2022 um 14:38 Uhr Von: "Dan Dalthorp via R-devel"

Re: [Rd] as.Date without "origin"

2022-11-02 Thread Spencer Graves
herefore support changing the documentation to match the new behavior. Spencer Graves On 11/2/22 7:30 AM, Dan Dalthorp via R-devel wrote: The new (2022-10-11 r83083 ucrt) as.Date function returns a date rather than an error when called without "origin" specified.

Re: [Rd] R-Forge http link redirection setup busted

2021-07-19 Thread Spencer Graves
roblems with changes not triggering checks and getting messages like, "there is no package called 'Matrix'". There was a discussion on r-package-de...@r-project.org in January and February of this year on how to do that. That thread could probably help anyone interested in

Re: [Rd] URL checks

2021-01-08 Thread Spencer Graves
ass R CMD check ;-) Spencer Graves On 2021-01-07 09:53, Hugo Gruson wrote: I encountered the same issue today with https://astrostatistics.psu.edu/. This is a trust chain issue, as explained here: https://whatsmychaincert.com/?astrostatistics.psu.edu. I've worked for a couple of years on a

Re: [Rd] as.POSIXct.numeric change default of origin argument

2020-12-06 Thread Spencer Graves
The fda package already includes as.POSIXct1970, which also sets tz="GMT" by default. I made the equivalent thing for as.Date available as "Ecfun::as.Date1970". If the Core R team doesn't want to make the change for the existing functions, they might consider adding alternatives l

Re: [Rd] one thing to check

2020-11-10 Thread Spencer Graves
Please excuse: I did NOT intend to send this to R-Devel at this time. I was suggesting to Jim Ramsay a question we MIGHT want to pose to R-Devel. (I've since decided we probably won't need to.) Spencer On 2020-11-10 07:58, Spencer Graves wrote: Hi, Jim:  

Re: [Rd] one thing to check

2020-11-10 Thread Spencer Graves
Hi, Jim: Could you please look at svd2.Rd and see what it says? It may give an example, where it gave a better answer than svd -- i.e., a marginal case, where svd2 honestly gave a better answer than svd. If we find -- either in svd2.Rd or in one of the revdepchecks -- an example whe

Re: [Rd] vignettes present in 2 folders or won't work

2020-11-01 Thread Spencer Graves
ive in only about 5% of articles.[3] Spencer Graves [1] https://cran.r-project.org/web/packages/policies.html [2] https://en.wikiversity.org/wiki/Forecasting_nuclear_proliferation#Appendix._Companion_R_Markdown_vignettes [3] https://en.wikipedia.org/wiki/Reliability_of_Wikipedia#Articles_on_cont

[Rd] tools::package_dependencies problems

2020-10-16 Thread Spencer Graves
quot;, "Imports", "LinkingTo")' is that specifying nothing defaults to "Depends". In this case, it defaults to "Imports". Moreover, I don't see a way to trace "Suggests". ??? Thanks, Spencer Graves __

Re: [Rd] trivial typo in ?Matrix::sparse.model.matrix.Rd

2020-07-21 Thread Spencer Graves
On 2020-07-21 09:00, Martin Maechler wrote: "AS" == Abby Spurdle on Wed, 22 Jul 2020 00:28:12 +1200 writes: >> "No documentation for ‘sparse.model.matrix’ in >> specified packages and libraries", but it's there after >> "library(Ecfun)". I find that interesting, because "

Re: [Rd] trivial typo in ?Matrix::sparse.model.matrix.Rd

2020-07-21 Thread Spencer Graves
d libraries", but it's there after "library(Ecfun)".  I find that interesting, because "Matrix" does not appear in the Ecfun DESCRIPTION file.  AND I don't see 'repr = ("C", "R", "T")' in the "sparse.m

Re: [Rd] "not a valid win32 application" with rtools40-x86_65.exe on Windows 10

2020-04-30 Thread Spencer Graves
Hi, Jeroen et al.: On 2020-04-30 03:15, Jeroen Ooms wrote: On Thu, Apr 30, 2020 at 6:38 AM Spencer Graves wrote: Hello, All: "00install.out" from "R CMD check Ecfun_0.2-4.tar.gz" includes: Error: package or namespace load failed for 'Ecfun': .

[Rd] "not a valid win32 application" with rtools40-x86_65.exe on Windows 10

2020-04-29 Thread Spencer Graves
error:  unable to load shared object 'c:/Program Files/R/R-4.0.0/library/rJava/libs/i386/rJava.dll':   LoadLibrary failure: ^1 is not a valid win32 application   This was after installing R 4.0.0 and "rtools40-x86_64.exe" under Windows 10 Pro 64-bit.   Suggestions?

[Rd] How to find detritis rejected by "R CMD check" on Debian?

2020-04-17 Thread Spencer Graves
ttps://win-builder.r-project.org/incoming_pretest/fda_5.1.3_20200416_225207/Debian/00check.log   Thanks,       Spencer Graves __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

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
is architecture?" 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' .

Re: [Rd] status of Java & rJava?

2020-03-28 Thread Spencer Graves
n to both Simon Urbanek and Prof. Ripley.  Spencer Graves __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [BULK] Re: status of Java & rJava?

2020-03-28 Thread Spencer Graves
ssionInfo()" in each case.   Thanks for your help.   Spencer Graves  update.packages() rJava :  Version 0.9-11 installed in /Library/Frameworks/R.framework/Versions/3.6/Resources/library  Version 0.9-12 available at https://cran.rstudio.com Update? (Yes/no/cancel) y sf :  Versio

[Rd] status of Java & rJava?

2020-03-28 Thread Spencer Graves
ith sessionInfo() to this 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 Ecfu

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

2020-03-16 Thread Spencer Graves
", even though "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&

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 is

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

2020-01-27 Thread Spencer Graves
# NOT as POSIXct fda::matplot(AmRev.ct, Y) # problem 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
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: [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 storage

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

2020-01-19 Thread Spencer Graves
happen for R 4.0.0 this year, 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

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
ne$integer.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:s

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

2020-01-19 Thread Spencer Graves
ic, they could 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 obse

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 that

[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: [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
eed to simulate those as well.  If I combined those with "simulate.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 thi

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

2019-12-09 Thread Spencer Graves
this 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: [Rd] New matrix function

2019-10-11 Thread Spencer Graves
d documentation 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" pack

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

2019-07-15 Thread Spencer Graves
e. 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

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 l

[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   I'm

Re: [Rd] R-Forge > GitHub?

2019-07-14 Thread Spencer Graves
rating them to GitHub.  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.

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

2019-07-14 Thread Spencer Graves
-- especially 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 wil

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

2019-07-14 Thread Spencer Graves
  Or are thesejust 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
st integrate the remote 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-0

Re: [Rd] R-Forge > GitHub?

2019-06-30 Thread Spencer Graves
H key dated two days ago, when I cloned 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 Git

Re: [Rd] R-Forge > GitHub?

2019-06-29 Thread Spencer Graves
estions 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

Re: [Rd] R-Forge > GitHub?

2019-06-29 Thread Spencer Graves
sh keys, upload those to 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: &g

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 the

Re: [Rd] R-Forge > GitHub?

2019-06-27 Thread Spencer Graves
done, in case they want to do anything more with this 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

Re: [Rd] R-Forge > GitHub?

2019-06-27 Thread Spencer Graves
he "+" 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
  I could create a separate 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/r

[Rd] R-Forge > GitHub?

2019-06-26 Thread Spencer Graves
ndly/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 Mes

Re: [Rd] point size in svg

2019-06-23 Thread Spencer Graves
same results.   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 Matri

[Rd] point size in svg

2019-06-19 Thread Spencer Graves
the font size is tiny.  I also tried: 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,    

Re: [Rd] Stability and reliability of R (comment on Re: as.vector() broken on a matrix or array of type "list")

2018-09-26 Thread Spencer Graves
these articles could doubtless be improved by someone more knowledgeable than I.   Many thanks and kudos to Ross Ihaka, Bob Gentleman, Martin Maechler and the rest of the R Core team, who have managed this project so successfully for more than two decades now.   Spencer Graves -Don

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

2018-09-06 Thread Spencer Graves
eave it alone.   If anyone 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

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

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

2018-08-31 Thread Spencer Graves
r, when I 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: [Rd] Spam to R-* list posters

2018-04-19 Thread Spencer Graves
; would be converted to "mai...@example.com". The visitor would then click on the "..." and solve the CAPTCHA in order to obtain the full email address. One can also edit the pop-up code so that none of the address is visible.' (https://en.wikipedia.org/wiki/ReCAPTCHA)  

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 writ

[Rd] Draft proposal for Searching R Packages

2018-02-17 Thread Spencer Graves
ne 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

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

2018-01-29 Thread Spencer Graves
something 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

[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: [Rd] Duncan's retirement: who's taking over Rtools?

2017-09-28 Thread Spencer Graves
Jean 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   Ove

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 Li

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: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/

Re: [Rd] SUGGESTION: R Base Packages

2017-05-18 Thread Spencer Graves
ant information. Anything that moves is a distraction 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 do

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
findFn{sos}, which displays in a web browser. 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-ap

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

2017-04-16 Thread Spencer Graves
61341 6.361341 -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

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

2017-03-09 Thread Spencer Graves
s reasonable to me. 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 ". Spencer Graves p.s. Per your earlier em

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

2017-03-08 Thread Spencer Graves
This looks like a bug to me. I don'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

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

2017-03-08 Thread Spencer Graves
ues of 'indent' and 'width' I have 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? Thank

[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
documentation. I believe I can 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 wa

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 wrote: # Define an object of class 'dum' k <- 1 class(k) <- 'dum' str(k) # as expected # Define print.d

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 wrote: # Define an object of class 'dum' k <- 1 class(k) <- 'dum' str(k) # as expected # Define print.dum print.dum <- function(x, ...) deparse(substit

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

2017-01-09 Thread Spencer Graves
k) <- 'dum' str(k) # as expected # Define print.dum print.dum <- function(x, ...) deparse(substitute(x)) print(k) # Prints "k" as expected # THE FOLLOWING PRINTS NOTHING: k # Why? ### Thanks, ### Spencer Graves sessionInfo() R version 3.3.2 (2016-10-31) Platform:

Re: [Rd] Request: Increasing MAX_NUM_DLLS in Rdynload.c

2016-12-20 Thread Spencer Graves
rogrammer, I am now going to hug my std::vector and quietly retreat. May I humbly request a translation of "std::vector" for people like me who are not familiar with C++? I got the following: > install.packages('std') Warning in install.packages : packa

Re: [Rd] Fwd: Re: RSiteSearch, sos, rdocumentation.org, ...?

2016-12-17 Thread Spencer Graves
Internet protection software that failed and anything you think might reduce the risk of a repeat in the future. Best Wishes, Spencer Graves On 12/17/2016 2:32 PM, Jonathan Baron wrote: Spencer and others. I am going to have to take down the server for RSiteSearch

Re: [Rd] ok to segfault with POSIXlt zone=NULL zone=""?

2016-12-06 Thread Spencer Graves
Start New Session". I got essentially the same result with R 3.3.1. Then I installed 3.3.2 and got the above. Spencer Graves On 12/6/2016 11:27 AM, frede...@ofb.net wrote: Hi all, Here's a more minimal version of my earlier bug report (thanks, Joshua Ulrich): d=as.POS

Re: [Rd] BUG?: On Linux setTimeLimit() fails to propagate timeout error when it occurs (works on Windows)

2016-10-26 Thread Spencer Graves
I was using RStudio 0.99.902. Spencer On 10/26/2016 3:34 PM, peter dalgaard wrote: Spencer also had tools and rsconnect loaded (via a namespace) but it doesn't seem to make a difference for me if I load them. It also doesn't seem to matter for me whether it is CRAN R, locally built R, Termin

Re: [Rd] BUG?: On Linux setTimeLimit() fails to propagate timeout error when it occurs (works on Windows)

2016-10-25 Thread Spencer Graves
On 10/25/2016 9:44 PM, Henrik Bengtsson wrote: setTimeLimit(elapsed=1) causes a timeout error whenever a call takes more than one second. For instance, this is how it works on Windows (R 3.3.1): setTimeLimit(elapsed=1) Sys.sleep(10); message("done") Error in Sys.sleep(10) : reached elapsed

Re: [Rd] optim(?, method=?L-BFGS-B?) stops with an error

2016-10-09 Thread Spencer Graves
On 10/9/2016 9:00 AM, ProfJCNash wrote: I'll not copy all the previous material on this thread to avoid overload. The summary is that all the methods Spencer has tried have some issues. The bad news: This is not uncommon with optimization methods, in part because the problems are "hard", in

Re: [Rd] optim(…, method=‘L-BFGS-B’) stops with an error message while violating the lower bound

2016-10-08 Thread Spencer Graves
h to optimx using all the methods that offers for constrained optimization, including nminb. Best Wishes, Spencer Graves On 10/8/2016 5:00 PM, Mark Leeds wrote: > Hi Spencer: See the link below about L-BFGS-B below because I had > problems > with it a good while back (and I

Re: [Rd] optim(…, method=‘L-BFGS-B’) stops with an error message while violating the lower bound

2016-10-08 Thread Spencer Graves
inimum. 'nmkb' reported the same 'value' as 'nlminb', but the parameter values were at the boundary for nlminb and not for nmkb. When I started optimx with nlminb, the first 5 decided that was the best and the last 3 failed, as before. I've added this to m

[Rd] optim(…, method=‘L-BFGS-B’) stops with an error message while violating the lower bound

2016-10-08 Thread Spencer Graves
ms as well as optim with many other problems. Thanks, Spencer Graves p.s. I've also tested bobyqa{minqa} or nloptr{nloptr}, recommended in a vignette in the lme4 package. These did better than optim in this example but worse in others I tried. _

[Rd] suggested addition to model.matrix

2016-10-03 Thread Spencer Graves
.equal(ab, ab.) Thanks, Spencer Graves __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Fwd: Re: RSiteSearch, sos, rdocumentation.org, ...?

2016-09-08 Thread Spencer Graves
signed to deal with a list of the packages that you actually use. These can be eliminated if you don't use R on the same machine. The last 3 lines are all you need. Note 2: This works on Fedora, but I think that the Fedora maintainers of R have set some defaults that are helpful. Jon On 09/07

Re: [Rd] Fwd: Re: RSiteSearch, sos, rdocumentation.org, ...?

2016-09-08 Thread Spencer Graves
t;-- > html"),repos=biocinstallRepos()) > > Note 1: The first 4 lines are designed to deal with a list of the > packages that you actually use. These can be eliminated if you > don't > use R on the same machine. The last 3 li

[Rd] Fwd: Re: RSiteSearch, sos, rdocumentation.org, ...?

2016-09-07 Thread Spencer Graves
ement of Baron's R Site Search database. He's provided a great service for the R community for many years. I hope we can find a way to keep the system maintained. Failing that, I could use help in adapting the sos package to another database. Thanks, Spencer Gr

Re: [Rd] Milestone: 9000 packages on CRAN

2016-08-22 Thread Spencer Graves
without CRAN and R. We're not just laying brick: We're building a cathedral. Spencer Graves On 8/22/2016 7:33 AM, Bob Rudis wrote: Hear! Hear! +100 for the shout out to the CRAN volunteers. Some of the most unsung heroes of the R universe. On Mon, Aug 22, 2016 at 5:16

  1   2   3   4   >