Re: [Rd] Runnable R packages

2019-02-08 Thread Rainer M Krug
> However, I don't think that it would add much value. >>>> But feel free to correct me if you think that I'm wrong. >>>> >>>> [[alternative HTML version deleted]] >>>> >>>> __ >>>> R-devel@r-project.org mail

Re: [Rd] Warn on partial matches in R CMD check

2016-01-21 Thread Rainer M Krug
etimes the warnings come from other packages), but it would be > really convenient to have as a switch. and also possibly to enable this for normal running of code outside of packages. Cheers, Rainer > > Hadley -- Rainer M. Krug email: Rainerkrugsde

Re: [Rd] R CMD BATCH vs R CMD batch

2015-10-29 Thread Rainer M Krug
peter dalgaard writes: > On 29 Oct 2015, at 10:44 , Rainer M Krug wrote: > >> Out of interest: What is the magic ~R CMD~ is doing? Is it documented >> anywhere? > > > R is open source (and shell scripts are considered self-documenting by > some) True - sho

Re: [Rd] R CMD BATCH vs R CMD batch

2015-10-29 Thread Rainer M Krug
Deepayan Sarkar writes: > On Thu, Oct 29, 2015 at 2:09 PM, Rainer M Krug wrote: >> Dirk Eddelbuettel writes: >> >>> On 28 October 2015 at 21:39, Marius Hofert wrote: >>> | Out of laziness I just used "R CMD batch" instead of "R CMD BATCH".

Re: [Rd] R CMD BATCH vs R CMD batch

2015-10-29 Thread Rainer M Krug
configuration information about R | javareconf Update the Java configuration variables | rtags Create Emacs-style tag files from C, R, and Rd files ` Unless I miss something, is this is an inconsistency in R? Rainer > > Dirk -- Rainer M. Krug, PhD (Con

Re: [Rd] MetaCran website v1.0.0-alpha

2015-05-24 Thread Rainer M Krug
> Please tell me what you think. > > Best, > Gabor > > [[alternative HTML version deleted]] > -- Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 signature.asc Description: PGP signature __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] update.packages with ask = FALSE will sometimes ask about updates

2015-02-11 Thread Rainer M Krug
he settings asked for, these are, the newest versions are installed - but be warned that there are newer versions from source. Thinking about it now, option 4 with warning should be the way to go. Cheers, Rainer > -- Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 signature.asc Descripti

Re: [Rd] Access variable in attached but removed object

2014-05-09 Thread Rainer M Krug
Duncan Murdoch writes: > On 09/05/2014, 6:54 AM, Rainer M Krug wrote: >> >> How can I access an object in an attached but deleted environment, when >> the object also exists in the .GolbalEnv? > > Attaching a variable to the search list generally makes a copy of it,

[Rd] Access variable in attached but removed object

2014-05-09 Thread Rainer M Krug
;) tmp$test = 13 rm(tmp) test # > 13 test <- 24 test # > 24 ls(all=TRUE) # > character(0) # # how can I access the variable test in the object org:variables in the # search path? # rm(test) test # > 13 --8<---cut here---end--->8--- Any sug

[Rd] SOLVED: creating namespaces outside packages

2014-03-28 Thread Rainer M Krug
Duncan Murdoch writes: > On 28/03/2014, 7:01 AM, Rainer M Krug wrote: >> Hi >> >> I would like to use namespaces outside packages, but I could not find >> any references on how to do it (only a thread [1] which says "use a >> package"). Using a package

[Rd] creating namespaces outside packages

2014-03-28 Thread Rainer M Krug
s I can do with an environment? Thanks, Rainer Footnotes: [1] http://r.789695.n4.nabble.com/create-namespace-without-creating-a-package-td3485968.html -- Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 pgpSpia44kJmE.pgp Description: PGP signature __

Re: [Rd] Docker versus Vagrant for reproducability - was: The case for freezing CRAN

2014-03-24 Thread Rainer M Krug
Forgot: My Dockerfiloe is on github: https://github.com/rkrug/R-docker Rainer M Krug writes: > Thanks everybody for their input - interesting suggestions and useful > information - thanks. > > But I am still struggling to use this information. What I got so far: > > 1) I h

Re: [Rd] Docker versus Vagrant for reproducability - was: The case for freezing CRAN

2014-03-24 Thread Rainer M Krug
vive a disconnect: > http://krlmlr.github.io/integrating-xpra-with-screen/ . > > > -Kirill > Footnotes: [1] https://www.docker.io [2] http://docs.docker.io/en/latest/examples/running_ssh_service/ -- Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 pgpECO52k0Gfp.pgp Description: PGP signature __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Docker versus Vagrant for reproducability - was: The case for freezing CRAN

2014-03-21 Thread Rainer M Krug
) ) ) ) ) >> ( ( ( ( (Numerical Ecology of Aquatic Systems >> ) ) ) ) ) Mons University, Belgium >> ( ( ( ( ( >> .. >> >> On 21 Mar 2014, at 10:59, Rainer M Krug wrote: >> >> > Dirk Edd

Re: [Rd] [RFC] A case for freezing CRAN

2014-03-21 Thread Rainer M Krug
Jari Oksanen writes: > On 21/03/2014, at 10:40 AM, Rainer M Krug wrote: > >> >> >> This is a long and (mainly) interesting discussion, which is fanning out >> in many different directions, and I think many are not that relevant to >> the OP's suggestio

[Rd] Docker versus Vagrant for reproducability - was: The case for freezing CRAN

2014-03-21 Thread Rainer M Krug
run? Please note: I see these questions in the light of this discussion of reproducability and not in regards to deployment of applications what the discussions on the web are. Any comments, thoughts, remarks? Rainer Footnotes: [1] http://docs.docker.io/en/latest/installation/mac/ -- Rainer M

Re: [Rd] [RFC] A case for freezing CRAN

2014-03-21 Thread Rainer M Krug
nk about this so it does not matter. > > The development branch of my package is in R-Forge, and only bug fixes > and (hopefully) non-breaking enhancements (isolated so that they do > not influence other functions, safe so that API does not change or > format of the output does not

Re: [Rd] [RFC] A case for freezing CRAN

2014-03-21 Thread Rainer M Krug
or a local archiving to make it possible to re-run the simulation with the same tools at a later stage - although guarantees would not be possible. Cheers, Rainer -- Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 __ R-devel@r-project.org mailing

Re: [Rd] [RFC] A case for freezing CRAN

2014-03-20 Thread Rainer M Krug
s them in a parsable human readable format so that all packages (with the specified version) required can be installed with one command, and I think the problem would be much closer to be solved. Rainer > > Hadley -- Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52

Re: [Rd] [RFC] A case for freezing CRAN

2014-03-20 Thread Rainer M Krug
of workload, storage space, ... commands should be incorporated in a package (preferably which becomes part of the core packages) to store snapshots of installed package and R version information as a human readable text file, but which can be parsed by a second command to re-create this setup.

Re: [Rd] Question re: NA, NaNs in R

2014-02-10 Thread Rainer M Krug
? Similarly for NaN value(s) and R_NaN? >> >> >> >> My guess is that it is possible some functions used internally by R >> >> might encode NaN values differently; ie, setting the lower word to a >> >> value different than 1954 (hence being NaN, but poten

Re: [Rd] Creating Namespace and locking it during runtime?

2014-01-23 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks - looks very promising. Rainer On 01/23/14, 09:23 , Prof Brian Ripley wrote: > See ?lockEnvironment, which ??lock shows as ?bindenv . > > On 22/01/2014 20:52, Rainer M Krug wrote: Hi > > I would like to create a Namespace

[Rd] Creating Namespace and locking it during runtime?

2014-01-22 Thread Rainer M Krug
ot be in a package, but will be source()ed. Next step: pass variables from org mode / emacs to R and to protect these variables from accidental change / removal. Any suggestions on how to do this? Cheers, Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT),

[Rd] SOLVED: search for variable in package in .GlobalEnv first

2013-10-07 Thread Rainer M Krug
Duncan Murdoch writes: > On 07/10/2013 10:29 AM, Rainer M Krug wrote: >> Hi >> >> First, sorry if I get the terminology wrong, I am still quite new to the >> concept of using environments and workspaces. >> >> Say I have a statement in a package SIM

[Rd] search for variable in package in .GlobalEnv first

2013-10-07 Thread Rainer M Krug
d then in SIM:: for the variable TYPE. How can do this? Thanks, Rainer -- Rainer M. Krug email: RMKruggmailcom pgpFvdLZpRyLG.pgp Description: PGP signature __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] SOLVED: check warning with .onLoad() and setClass()

2013-10-07 Thread Rainer M Krug
h thing as setLoadFunction, as far as the standard code in R. > > While you haven't defined "didn't work", an off-the-top-of-the-head > idea would be something like: > > setLoadActions(function(ns) {setClass(., where = ns)}) > > > On Oct 4, 2013, at 7:0

Re: [Rd] check warning with .onLoad() and setClass()

2013-10-04 Thread Rainer M Krug
Dirk Eddelbuettel writes: > On 4 October 2013 at 14:15, Rainer M Krug wrote: > | Hm. loadModule is Rcpp function, but I am only interested in using the > | setClass() function, which has nothing to do with Rcpp. I don't even use > | Rcpp in the package, only in one which is im

Re: [Rd] check warning with .onLoad() and setClass()

2013-10-04 Thread Rainer M Krug
Dirk Eddelbuettel writes: > On 4 October 2013 at 12:59, Rainer M Krug wrote: > | Thanks John > | > | that is likely the solution to my problem, but I don't understand > | how I > | can use it and I can't find the example in the Rcpp package (I did > | grep &g

Re: [Rd] check warning with .onLoad() and setClass()

2013-10-04 Thread Rainer M Krug
example, see the Rcpp package, which uses this to set up load-time C++ > linkages. > > John Chambers > > On Oct 3, 2013, at 3:22 AM, Rainer M Krug wrote: > >> Hi >> >> I am writing a package in which I define a new class in the .onLoad() >> hook: >

[Rd] check warning with .onLoad() and setClass()

2013-10-03 Thread Rainer M Krug
contains = "simObj" | ) | } ` The class "simObj" is defined in the package, which is in the depends section in the DESCRIPTION file: , | Package: InDrak | Type: Package | Title: Alien spread management simulation model for the Drakensberg | Version: 0.1-0 | Date: 2013-10-03_

Re: [Rd] ASCII art in function documentation?

2013-09-05 Thread Rainer M Krug
"Brian G. Peterson" writes: > On 09/05/2013 09:10 AM, Rainer M Krug wrote: >> want to include ascii art in a function documentation which should >> look as follow: >> >> , >> | +--+--+--+ >> | | 1/16 | 1/16 | 1/16 | >

Re: [Rd] ASCII art in function documentation?

2013-09-05 Thread Rainer M Krug
Sarah Goslee writes: > Untested, but did you try wrapping the whole thing in a single code block: Nope - also in one line. Rainer > > \code{ > all > the > things > } > > Sarah > > On Thu, Sep 5, 2013 at 10:10 AM, Rainer M Krug wrote: >> Hi >>

Re: [Rd] ASCII art in function documentation?

2013-09-05 Thread Rainer M Krug
y work for you. > > Sarah > > > On Thu, Sep 5, 2013 at 11:10 AM, Rainer M Krug wrote: >> Sarah Goslee writes: >> >>> Untested, but did you try wrapping the whole thing in a single code block: >> >> Nope - also in one line. >> >> Rainer >> &

[Rd] ASCII art in function documentation?

2013-09-05 Thread Rainer M Krug
+--+' | | '| 1/16 | 1/16 | 1/16 |' | | '+--+--+--+' ` and when no empty lines were included obviously put everything behind each other. My question: Is there a way that I can achieve the ASCII art as shown above? Is there a way of having a \linebreak which do

Re: [Rd] ASCII art in function documentation - difference html and text output?

2013-09-05 Thread Rainer M Krug
hanks, Rainer Rainer M Krug writes: > Sarah Goslee writes: > >> Untested, but did you try wrapping the whole thing in a single code block: > > Nope - also in one line. > > Rainer > >> >> \code{ >> all >> the >> things >> } >> &g

[Rd] Perplexed with environment

2013-06-25 Thread Rainer M Krug
ibrary(logger) | > ls(envir=logger:::.logData, all.names=TRUE) | [1] ".logHeader" ".logHeaderClock" ".logHeaderLevel" ` I assume I am doing something really basic wrong? A copy of the package is available at: https://www.dropbox.com/s/hv6abepccz

Re: [Rd] ess completion

2013-03-22 Thread Rainer M Krug
is '(ess-roxy-tag-completion >> ess-filename-completion >> ess-object-completion t) >> >> Peter > > __ R-devel@r-project.org mailing > list > https://stat.ethz.ch/mailman/listinfo/r-devel - -- Rainer M. Krug,

Re: [Rd] Deprecating partial matching in $.data.frame

2013-03-21 Thread Rainer M Krug
was bitten at least once by a bug, which cost me quite some time to figure out, caused by partial completion and would very much like to see it go (or at least have the option to show warnings if it occurs). Cheers, Rainer > > Hadley > - -- Rainer M. Krug, PhD (Conservation Ecolog

Re: [Rd] requesting a new SIG mailing list

2012-02-14 Thread Rainer M Krug
f I am wrong - I am not an expert in hydrology) is mainly spatial. A fragmentation of the lists would need to duplicate effort by members. Cheers, Rainer > > > Thanks in advance, > > Mauricio Zambrano-Bigiarini > - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Con

Re: [Rd] [R] Version control (git, mercurial) for R packages

2012-02-13 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/02/12 22:05, Davor Cubranic wrote: > On February 10, 2012 09:11:35 AM Rainer M Krug wrote: >> But what I was thinking about (in my other post as well) is to >> include github (or any other git repo provider) into r-forge for &

Re: [Rd] [R] Version control (git, mercurial) for R packages

2012-02-10 Thread Rainer M Krug
ent but thanks to > the hard work of Simon Urbanek, Duncan Murdoch, Brian Ripley and > others, this is a one-install process on all major platforms. True - no problem for developers. Cheers, Rainer > > Hadley > > - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc

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

2011-12-07 Thread Rainer M Krug
gt; LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] >> LC_MEASUREMENT=en_CA.UTF-8 LC_IDENTIFICATION=C >> >> attached base packages: [1] stats graphics grDevices utils >> datasets methods base >> >> loaded via a namespace (and not attached): [1] tools_2.14.0 >

Re: [Rd] Case: package removed from CRAN, but not orphaned

2011-11-25 Thread Rainer M Krug
t;> * >> Confidentiality Note: The information contained in this ...{{dropped:10}} >> >> ______**____ >> R-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/**list

Re: [Rd] Error in documentation of "merge"

2011-11-04 Thread Rainer M Krug
On Fri, Nov 4, 2011 at 1:20 PM, peter dalgaard wrote: > > On Nov 4, 2011, at 13:11 , Rainer M Krug wrote: > > > Hi > > > > there seems to be an error in the documentation of the "merge" function: > > > > Arguments: > > > >x, y: da

[Rd] Error in documentation of "merge"

2011-11-04 Thread Rainer M Krug
and ‘all.y = L’. The "L" should be a T or a TRUE. Cheers, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 2

Re: [Rd] RFC: 'igraph' package update and backward compatibility

2011-10-20 Thread Rainer M Krug
Sorry - not iplot, but igraph. On Thu, Oct 20, 2011 at 9:21 AM, Rainer M Krug wrote: > > > On Wed, Oct 19, 2011 at 8:05 PM, Gábor Csárdi wrote: > >> Dear R developers, >> >> I am seeking advice on some $subject matter. >> >> My package will have an up

Re: [Rd] RFC: 'igraph' package update and backward compatibility

2011-10-20 Thread Rainer M Krug
__________ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbo

Re: [Rd] Finding inter-function dependencies within a package

2011-09-29 Thread Rainer M Krug
Jewell > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Inv

[Rd] Usage of options() for user defined options

2011-08-05 Thread Rainer M Krug
Hi I want to use options() to store session wide options - is that a reasonable approach, or should options() be reserved for core options? Thanks Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for

Re: [Rd] Rf_errorcall - translate to Pascal

2006-02-16 Thread Rainer M Krug
to use them in the analysis of simulations from Delphi. Rainer -- -- Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation Biology (UCT) Department of Conservation Ecology University of Stellenbosch Matieland 7602 South Africa email:[EMA

[Rd] How to uninstall R when installed with "make install"

2005-10-25 Thread Rainer M. Krug
Hi How can I uninstall R when I installed it with "make install"? Thanks, Rainer -- NEW TELEPHONE NUMBER Tel:+27 - (0)72 808 2975 (w) Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation Biology (UCT) Department of Conservation Ecology University of Stellenbosch

Re: [Rd] Socks under R

2005-10-20 Thread Rainer M. Krug
That's brilliant! Thanks a lot for your help, Rainer Simon Urbanek wrote: > Rainer, > > On Oct 19, 2005, at 3:29 PM, Rainer M. Krug wrote: > >> when I use >> >> con1 <- socketConnection(...) >> >> in R and want to send text from another applic

[Rd] Socks under R

2005-10-19 Thread Rainer M. Krug
t(rnorm(100))", con1) just sending the text in "plot(rnorm(100))" to the socket or is it doing more (R specific protocoll for socks comminication)? Thanks, Rainer -- NEW TELEPHONE NUMBER Tel:+27 - (0)72 808 2975 (w) Rainer M. Krug, Dipl. Phys. (Germany), MSc

[Rd] Control R from another program (written in Delphi)

2005-10-17 Thread Rainer M. Krug
Cluster, thits is not an option any more. What is the easiest way of copntrolluing R over the network? I thought about sockets, but I am a little bit stuck. Any tips welcome, Rainer -- NEW TELEPHONE NUMBER Tel:+27 - (0)72 808 2975 (w) Rainer M. Krug, Dipl. Phys. (Germany), MSc

Re: [Rd] Compilation of R-2.2.0 under SUSE 10

2005-10-14 Thread Rainer M Krug
e. I don`t know about the retail > box. > > Still looking for an easy way to build an rpm package for 10.0 using some > additional yast sources. > > Hope that helps > Detlef > > On Fri, 14 Oct 2005 14:48:26 +0200 > > Rainer M Krug <[EMAIL PROTECTED]> wrote:

Re: [Rd] Compilation of R-2.2.0 under SUSE 10

2005-10-14 Thread Rainer M Krug
tran) and it worked. Thanks a lot for your help Peter Rainer On Friday 14 October 2005 15:30, Peter Dalgaard wrote: > Rainer M Krug <[EMAIL PROTECTED]> writes: > > Could you give me a hint what I should look for? I am quite new to Linux. > > > > Rainer > > As lo

Re: [Rd] Compilation of R-2.2.0 under SUSE 10

2005-10-14 Thread Rainer M Krug
Could you give me a hint what I should look for? I am quite new to Linux. Rainer On Friday 14 October 2005 14:19, Peter Dalgaard wrote: > Rainer M Krug <[EMAIL PROTECTED]> writes: > > Hi > > > > I hope this is the right list for the question. > > I want to in

[Rd] Compilation of R-2.2.0 under SUSE 10

2005-10-14 Thread Rainer M Krug
Hi I hope this is the right list for the question. I want to install R from source under SUSE 10. When executing ./Configure, I get the following error message: checking for xmkmf... /usr/X11R6/bin/xmkmf configure: WARNING: I could not determine FPICFLAGS. configure: error: See the file INSTALL