Re: [Rd] Underscores in package names

2019-08-09 Thread Brian G. Peterson
man/listinfo/r-devel > [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Brian G. Peterson http://braverock.com/brian/ Ph: 773-459-4973 IM: bgpbraverock __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

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

2019-07-15 Thread Brian G. Peterson
t; >??? >Thanks, >Spencer > > > Hth, Dirk > > > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Brian G. Peterson ph: +1.773.459.4973 im: bgpbraverock __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R-Forge > GitHub?

2019-06-28 Thread Brian G. Peterson
ot a fork. AFAIK the only way to >> unfork a repo >> is to ask the Github staff to do it. >> >> So instead of forking, use the "+" button on github.com >> <http://github.com> and select >> "Import a rep

Re: [Rd] Proposed function file.backup

2019-02-14 Thread Brian G. Peterson
Paul, Why not just pull file.backup our of kutils and put it in its own stand alone package? -- Brian On Thu, 2019-02-14 at 13:02 -0600, Paul Johnson wrote: > Dear R Core: > > In the kutils package, I wrote a function that is so handy that I > would like to ask you put it in R itself. > > file

Re: [Rd] memory footprint of readRDS()

2018-09-18 Thread Brian G. Peterson
Your RDS file is likely compressed, and could have compression of 10x or more depending on the composition of the data that is in it and the compression method used. 'gzip' compression is used by default. -- Brian G. Peterson http://braverock.com/brian/ Ph: 773-459-4973 IM: bgpbravero

Re: [Rd] Best practices in developing package: From a single file

2018-01-30 Thread Brian G. Peterson
On Tue, 2018-01-30 at 17:00 +0100, Suzen, Mehmet wrote: > Dear R developers, > > I am wondering what are the best practices for developing an R > package. I am aware of Hadley Wickham's best practice > documentation/book (http://r-pkgs.had.co.nz/).  I recall a couple of > years ago there were some

Re: [Rd] searching co-mentor for gsoc18

2018-01-15 Thread Brian G. Peterson
metry' package and exploring whether that team would be interested in participating, maybe extending the existing package rather than creating a new implementation. Regards, Brian -- Brian G. Peterson http://braverock.com/brian/ Ph: 773-459-4973 IM: bg

Re: [Rd] Renjin?

2017-10-29 Thread Brian G. Peterson
1.3,versicolor\n" + > > "6.2,2.9,4.3,1.3,versicolor\n" + > > "5.1,2.5,3,1.1,versicolor\n" + > > "5.7,2.8,4.1,1.3,versicolor\n" + > > "6.3,3.3,6,2.5,virginica\n" + > > "5.8,2.7,5.1,1.9,virginica\n" + > > "7.1,3,5.

Re: [Rd] Renjin?

2017-10-29 Thread Brian G. Peterson
Please move this to r-help. It is clear that this is not a problem with R itself, but with your ability to search the internet and read the documentation and the code before posting. On Sun, 2017-10-29 at 11:34 -0400, Morkus via R-devel wrote: > Hi All, > > OK, in the "back to the drawing board"

Re: [Rd] establishing a Code of Conduct for R

2017-09-13 Thread Brian G. Peterson
ve part of this community, it has always appeared to me that the community as a whole already conducts itself in a spirit of professionalism and cooperation. So I don't see the point in asking already overworked volunteers to take on and police more formal policies that really seem unne

Re: [Rd] unlicense

2017-01-18 Thread Brian G. Peterson
On Tue, 2017-01-17 at 22:46 -0500, Kevin Ushey wrote: > It appears that Unlicense is considered a free and GPL-compatible > license; however, the page does suggest using CC0 instead (which is > indeed a license approved / recognized by CRAN). CC0 appears to be > the primary license recommended by

Re: [Rd] Running package tests and not stop on first fail

2016-11-04 Thread Brian G. Peterson
On Fri, 2016-11-04 at 16:24 +0100, Martin Maechler wrote: > > Jan Gorecki > > on Fri, 4 Nov 2016 11:20:37 + writes: > > > Martin, I submitted very simple patch on > > https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17176 > > > Herve, While I like your idea, I pref

Re: [Rd] A package requiring cmake

2016-06-28 Thread Brian G. Peterson
wrong list. This belongs on the r-package-devel list. https://stat.ethz.ch/mailman/listinfo/r-package-devel Brian On Tue, 2016-06-28 at 13:38 +0200, Holger Hoefling wrote: > Hi, > > I am currently preparing a package for hdf5 that ships and compiles from > source on windows. The intention here

Re: [Rd] vignette index

2016-03-04 Thread Brian G. Peterson
This probably belongs on r-package-de...@r-project.org as it is not about the development of R itself, but about package development. -- Brian On Fri, 2016-03-04 at 14:44 +, Wang, Zhu wrote: > Dear helpers, > > I have multiple vignette files for a package, and I would like to have the > "

Re: [Rd] Best way to implement optional functions?

2015-10-22 Thread Brian G. Peterson
such functions in the main package, and provide pointers in the documentation and the error message which describe that the other package is required to be available for the function to work. Regards, Brian -- Brian G. Peterson http://braverock.com/brian/ Ph: 773-459-4973 IM: bgpbraverock

Re: [Rd] R-core package cross compilation help

2015-10-08 Thread Brian G. Peterson
: https://cran.r-project.org/web/views/MachineLearning.html questions on the packages in the task view should probably be directed to the package maintainers or e.g. r-help or one of the r-sig-* lists, as appropriate. Regards, Brian -- Brian G. Peterson http://braverock.com/b

Re: [Rd] Support for high DPI 4K screens

2015-09-05 Thread Brian G. Peterson
e pixels. Your use cases, of course, may vary. Which, in part, is why R has so much control over the types of graphic devices you create, and how you choose to control them. Regards, Brian -- Brian G. Peterson http://braverock.com/brian/ Ph: 773-459-4

Re: [Rd] alternate licensing for package data?

2015-04-22 Thread Brian G. Peterson
to apply (the Gnu licenses page suggests not using GPL for data). Whether CRAN or Debian packagers would accept a open but mixed code/data license scheme is not for me to say, but I don't see any impediments from the licenses themselves. -- Brian G. Peterson http://braverock.com/brian/ Ph: 773-459-4973 IM: bgpbraverock __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Submit a package which use doParallel

2015-03-05 Thread Brian G. Peterson
rallel package "before" running any test on windows > seems to remove this note. Is there any way to specify it in the > DESCRIPTION? -- Brian G. Peterson http://braverock.com/brian/ Ph: 773-459-4973 IM: bgpbraverock __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Import data set from another package?

2015-03-02 Thread Brian G. Peterson
quot;ergoStool", package="nlme") ? That is how a user would call it if they wished to use the dataset. Regards, Brian -- Brian G. Peterson http://braverock.com/brian/ Ph: 773-459-4973 IM: bgpbraverock __ R-devel@r-project.org mailing

Re: [Rd] R on the Cydia Store

2014-12-10 Thread Brian G. Peterson
In the event that a lawyer is consulted, I would suggest finding one with real experience in open source law. In my experience, even most intellectual property or software attorneys have little to no experience with open source law, and I've heard the most dreadful and incorrect utterances fro

Re: [Rd] Changing style for the Sweave vignettes

2014-11-13 Thread Brian G. Peterson
user, from within R, or saved out to an editor so you can source it line by line from Rstudio (or vim or emacs or...). That's the whole point. Regards, Brian -- Brian G. Peterson http://braverock.com/brian/ Ph: 773-459-4973 IM: bgpbraverock _

Re: [Rd] timings for examples in R CMD check

2014-09-03 Thread Brian G. Peterson
the newly created pkg-Ex.Rout file and placing it in the correct part of the package and adjusting the name to pkg-Ex.Rout.save? The only time I ever had a problem with this was when I inadvertently used a .Rout file from a check with --as-cran. G On 3 September 2014 13:58, Brian G. Peterson

[Rd] timings for examples in R CMD check

2014-09-03 Thread Brian G. Peterson
timings, and with --as-cran. They produce equivalent check files. on their example checks. This behavior is on R 3.1.0, 3.1.1, and R-devel. I would assume from the documentation that there should be a way to get a clean check, without the timing diffs. Advice appreciated, Brian Ref: [1

Re: [Rd] cat with backspace and newline characters

2013-11-05 Thread Brian G. Peterson
in fact makes use of the/any R binary installed via other processes. It is not 'tweaked'. It *does* include a 'terminal' to display the interactions with the R console. Regards, Brian -- Brian G. Peterson http://braverock.com/

Re: [Rd] ggplot2: Add '+' operator for aes (uneval) objects

2013-11-04 Thread Brian G. Peterson
This seems like a conversation to have with the package's maintainer (Hadley), as suggested by the posting guide: http://www.r-project.org/posting-guide.html "If the question relates to a contributed package , e.g., one downloaded from CRAN, try contacting the package maintainer first." and n

Re: [Rd] How to write R data frame to HDFS using rhdfs?

2013-10-09 Thread Brian G. Peterson
g/posting-guide.html Regards, Brian -- Brian G. Peterson http://braverock.com/brian/ Ph: 773-459-4973 IM: bgpbraverock __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] declaring package dependencies

2013-09-14 Thread Brian G. Peterson
nannounced R-devel checks waste everybody's time, including the time of the CRAN team. Not to mention, most open source projects seem to have concluded that more eyes on pending or proposed changes make everyone's life better in the long term. Regards, Brian -- Brian G. Peterson http:/

Re: [Rd] ASCII art in function documentation?

2013-09-05 Thread Brian G. Peterson
| | +--+--+--+ ` to keep the monospaced font even in html, I decided to use \code{}: Wouldn't it be best to use the relatively new \figure markup with alternate text? http://cran.r-project.org/doc/manuals/R-exts.html#Figures Regards, Brian -- Brian G. Peterson http://braveroc

Re: [Rd] Snippets from other packages/ License

2013-03-14 Thread Brian G. Peterson
ommend that you place this code in a separate .R file in your package, with a separate Copyright and License comment block in that separate file stating the origins and license for this code snippet. That should satisfy both the spirit and the letter of the GPL. Cheers, Brian -- Brian G. Pet

Re: [Rd] Stand alone application using R

2012-12-05 Thread Brian G. Peterson
On 12/05/2012 10:09 AM, Manoj G wrote: I am willing to tolerate more complexity but, i am curious to develop a more sophisticated application where i want to see R outputs in some some other environment without using R console. Doesn't this conversation belong on R-SIG-GUI? -- Brian _

Re: [Rd] PHP escapeshellcmd() equivalent

2012-08-24 Thread Brian G. Peterson
On 08/24/2012 01:23 PM, Roebuck,Paul L wrote: 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? Doesn't this question belong on R-help? It has nothing to do with R's internals

Re: [Rd] Reading many large files causes R to crash - Possible Bug in R 2.15.1 64-bit Ubuntu

2012-07-23 Thread Brian G. Peterson
On 07/23/2012 11:49 AM, David Terk wrote: One quick question regarding a call to as.character.POSIXt. When using scan, since scan reads line by line, would it make sense to have the ability to perform a char -> POSIXct conversion on each line that is read, rather than after all lines have been r

Re: [Rd] large dataset - confused

2012-07-23 Thread Brian G. Peterson
posting guide: http://www.r-project.org/posting-guide.html Follow its advice about reproducibility. Also, this question should have been directed to R-Help, not R-devel Regards, - Brian -- Brian G. Peterson http://braverock.com/brian/ Ph: 773-459-4973 IM: bgpbraverock

Re: [Rd] Use GPU in R with .Call

2012-07-22 Thread Brian G. Peterson
ggest examining their code for working examples. After you've done that, perhaps the R-SIG-HPC list would be a more appropriate place to continue the discussion. Regards, - Brian -- Brian G. Peterson http://braverock.com/brian/ Ph: 773-459-4973 IM: bg

Re: [Rd] installing spam package is failing (spam_0.29-1)

2012-07-18 Thread Brian G. Peterson
On 07/18/2012 08:56 PM, chuckles the clone wrote: As a result, I am upgrading my ENTIRE INSTALLATION of ubuntu. In hopes that that might kick something in the broken apt-get repository and maybe I'll get a new version of R. And then please take this discussion to r-sig-debian. _

Re: [Rd] test suites for packages

2012-05-17 Thread Brian G. Peterson
On Thu, 2012-05-17 at 16:32 +0200, Uwe Ligges wrote: > Yes: R CMD check does the trick. See Writing R Extension and read > about a package's test directory. I prefer frameworks that do not > obfuscate failing test results on the CRAN check farm (as most other > frameworks I have seen). Uwe: I don

Re: [Rd] Proposal: model.data

2012-05-03 Thread Brian G. Peterson
On Thu, 2012-05-03 at 12:09 -0500, Paul Johnson wrote: > Greetings: > > On Thu, May 3, 2012 at 11:36 AM, Brian G. Peterson > wrote: > > On Thu, 2012-05-03 at 10:51 -0500, Paul Johnson wrote: > >> If somebody in R Core would like this and think about putting it, or &

Re: [Rd] Proposal: model.data

2012-05-03 Thread Brian G. Peterson
On Thu, 2012-05-03 at 10:51 -0500, Paul Johnson wrote: > If somebody in R Core would like this and think about putting it, or > something like it, into the base, then many chores involving predicted > values would become much easier. > Why does this need to be in base? Implement it in a package.

Re: [Rd] Sending lists using .C

2012-04-22 Thread Brian G. Peterson
re hand holding. Reference slides here: http://dirk.eddelbuettel.com/bio/presentations.html (see especially the full day workshop from 2010) Regards, - Brian -- Brian G. Peterson http://braverock.com/brian/ Ph: 773-459-4973 IM: bgpbraverock __ R

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

2012-04-06 Thread Brian G. Peterson
provided other examples earlier in a different thread. -- Brian G. Peterson http://braverock.com/brian/ Ph: 773-459-4973 IM: bgpbraverock __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] CRAN policies

2012-03-29 Thread Brian G. Peterson
they should use a (non standard) way of specifying the formula to avoid wasting their time, and the CRAN volunteers time. I'm certain that there are many other examples, but this one was easy to demonstrate. Regards, - Brian -- Brian G. Peterson http://braverock.com/brian/ Ph: 773-459

Re: [Rd] --as-cran and need to ignore.svn directories

2012-03-12 Thread Brian G. Peterson
On Mon, 2012-03-12 at 13:43 -0500, Paul Johnson wrote: > R CMD check rockchalk > R CMD build rockchalk do *build* first, then *check* on the tarball file. -- Brian G. Peterson http://braverock.com/brian/ Ph: 773-459-4973 IM: bgpbraverock __ R

[Rd] tempdir() documentation or real bug ?

2012-02-21 Thread Brian G. Peterson
tenv(TEMP='/home/brian/') > Sys.getenv('TEMP') [1] "/home/brian/" > tempdir() [1] "/tmp/RtmpfERGay" > Sys.setenv(TMP='/home/brian/') > Sys.getenv('TMP') [1] "/home/brian/" > tempdir() [1] "/tmp/RtmpfERGay"

Re: [Rd] HDF5 compound data types and h5r/hdf5 R packages

2011-12-01 Thread Brian G. Peterson
ence. Hopefully one of them will be open to assisting you, advising of your immediate problem, and collaborating on extension of the package. If that doesn't work, perhaps the R Bioconductor list would be a better place for the discussion, since I believe that HDF5 files are mostly used i

Re: [Rd] a^b when a is large and b < 1 (64bit R on windows 7)

2011-11-21 Thread Brian G. Peterson
t; big <- .Machine$double.xmax > big [1] 1.797693e+308 > big^0.5 [1] 1.340781e+154 > sqrt(big) [1] 1.340781e+154 so it does seem to be specific either to your environment. -- Brian G. Peterson http://braverock.com/brian/ Ph: 773-459-4973 IM: bgpbraverock __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Windows binaries: Version and revision strings show "(2006-00-00 r00000)"

2011-11-19 Thread Brian G. Peterson
lt by Duncan Murdoch, who is on the r-devel list. > -- Brian G. Peterson __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] mclust: modelNames("E") vs modelNames=("V")

2011-09-03 Thread Brian G. Peterson
], k = 3) : > none of the selected models could be fitted > > Using variable variance would fit my data better, any idea how to do it? This list is for issues related to the development of the R language itself. Wouldn't the r-help list be a more appropriate place to ask for ass

Re: [Rd] R cmd check and multicore foreach loop

2011-08-17 Thread Brian G. Peterson
e) is a recipe for I/O locks that can seize up your processes. So, if the problem only occurs with physical I/O, the first thing I would try is to move that storage to a storage device on another machine that is tuned for that level of disk I/O. Regards, - Brian -- Brian G. Peterson http://bra

Re: [Rd] Best practices for writing R functions

2011-07-26 Thread Brian G. Peterson
On Tue, 2011-07-26 at 15:19 -0700, Davor Cubranic wrote: > On 2011-07-23, at 5:57 AM, Alireza Mahani wrote: > > > Another trick to reduce verbosity of code (and focus on algorithm logic > > rather than boilerplate code) is to maintain a global copy of variables (in > > the global environment) whic

Re: [Rd] testing a Windows custom installer

2011-07-20 Thread Brian G. Peterson
like this. I spin up the 'clean' image, test what I need to test, and shut down the Windows image without snapshotting it. Regards, - Brian -- Brian G. Peterson http://braverock.com/brian/ Ph: 773-459-4973 IM: bgpbraverock __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Suggestions for R-devel / R-help digest format

2011-07-07 Thread Brian G. Peterson
day or the next day, and can use all my various email clients easily to read/respond. mailman supports a MIME digest format that includes a table of contents with links to each MIME part. mailman does not support a threaded digest, to the best of my knowledge. Regards, - Brian -- Br

Re: [Rd] Ignoring .Rprofile when installing a package

2011-02-16 Thread Brian G. Peterson
On 02/16/2011 10:57 AM, Prof Brian Ripley wrote: The most obvious answer is not to do that. You have not used the standard mechanism to to do that (which should work here as R CMD INSTALL overrides that one). It's all in ?Startup (look for R_DEFAULT_PACKAGES). Note that R CMD INSTALL is not men

Re: [Rd] How to call R from C

2010-11-22 Thread Brian G. Peterson
d way of C code? Dirk indicates that I may have misunderstood your question. Perhaps this will help. http://quantitative-ecology.blogspot.com/2008/11/call-c-from-r-and-r-from-c.html If you need further help, please provide a minimal self-contained example of what you're trying to do.

Re: [Rd] How to call R from C

2010-11-22 Thread Brian G. Peterson
d way of C code? Look at package xts, among many others, for examples (xts is one of the time series classes that makes extensive use of C code). - Brian -- Brian G. Peterson http://braverock.com/brian/ Ph: 773-459-4973 IM: bgpbraverock __ R-deve

Re: [Rd] Performance monitoring tools

2010-11-17 Thread Brian G. Peterson
so on. > > I could build my own but would like to follow established practice, if > there is one. Start with Chapter 3 of the "Writing R Extensions" manual "Tidying and profiling R code" Regards, - Brian -- Brian G. Peterson http://brave

Re: [Rd] strange interaction between rasterImage and Grid graphics

2010-10-03 Thread Brian G. Peterson
On Sat, 2 Oct 2010 22:36:07 -0700, Deepayan Sarkar wrote: >> On Sat, Oct 2, 2010 at 4:35 PM, Paul Murrell >> wrote: >>> The only device I've tried is quartz(), x11() crashed with rasterImage, >> >> That is more serious.  I have heard of a couple of others like this and >> I think the common threa

Re: [Rd] [xts, quantmod] segfault probelm when I work with memcpy function

2010-09-10 Thread Brian G. Peterson
space Selection: 3 I have this problem only if I download new data... Do someone know how can I solve this memcpy problem? memcpy should be much faster in this kind of area... and I want to write some C based extensions for xts package. Best regards, daniel _