similar to: R-alpha: Re: .Options$digits do not (always) work

Displaying 20 results from an estimated 10000 matches similar to: "R-alpha: Re: .Options$digits do not (always) work"

1997 Aug 04
3
R-alpha: .Options$digits do not (always) work.
I am sorry that this IS an old topic. Yet another task I think the bug is somewhere in hidden in src/main/options.c .. ##-- The following does not work as it should in R (0.50-a1, but I think also earlier) tst <- function(x=pi, dig =3) {.Options$digits <- as.integer(dig); print(x);x} tst() tst(dig = 12) ##-- This should do the same; it works as expected in R & S : tst2
2015 Oct 13
1
Dovecot - Postfix with HAproxy
Hi Everyone, I wouldlike to set up a postfix-dovecot with HA using HAproxy but im facing issues. I've followed this documentation : http://wiki2.dovecot.org/HAProxy (pour dovecot) http://blog.haproxy.com/2012/06/30/efficient-smtp-relay-infrastructure-with-postfix-and-load-balancers/ (pour postfix) Package's version : dovecot : 2:2.2.19 (>= 2.2.19 pour proxy protocol)
2008 May 02
1
Speedups with Ra and jit
The topic of Ra and jit has come up on this list recently (see http://www.milbo.users.sonic.net/ra/index.html) so I thought people might be interested in this little demo. For it I used my machine, a 3-year old laptop with 2Gb memory running Windows XP, and the good old convolution example, the same one as used on the web page, (though the code on the web page has a slight glitch in it). This
2007 May 24
4
Function to Sort and test AIC for mixed model lme?
Hi List I'm running a series of mixed models using lme, and I wonder if there is a way to sort them by AIC prior to testing using anova (lme1,lme2,lme3,....lme7) other than by hand. My current output looks like this. anova (lme.T97NULL.ml,lme.T97FULL.ml,lme.T97NOINT.ml,lme.T972way.ml,lme.T97fc. ml, lme.T97ns.ml, lme.T97min.ml) Model df AIC BIC logLik
2010 Oct 07
2
Testing for existence of object within a function
I'm trying to test for the existence of an object within a function, but despite searching the help files and R-list, I can't figure out how to do it. Here is some test code: #------------------------- a=1 #now I have a in the global environment tst <- function(a,b=1) { # but a is not in the local function environment print(exists("a", inherits=FALSE)) #This is how I think
2005 Jun 15
1
Kalman Filtering?
1. The function "KalmanLike" seems to change its inputs AND PREVIOUSLY MADE copies of the inputs. Consider the following (using R 2.1.0 patched under Windows XP): > Fig2.1 <- StructTS(x=Nile, type="level") > unlist(Fig2.1$model0[2:3]) a P 1120 286379470 > tst2 <- tst <- Fig2.1$model0 > tst23 <- tst[2:3] > tst23u <-
1997 May 20
0
R-alpha: print 'problems': print(2^30, digits=12); comments at start of function()
Both of these bugs are not a real harm, however, they have been annoying me for too long ... ;-) 1) print(2^30, digits = 12) #- exponential form; unnecessarily! formatC(2^30, digits = 12) #- shows you what you'd want above ## S-plus is okay here; note that the problem also affects ## paste(.) & format(.) : options(digits=10) paste(2^(4*1:8)) S-plus gives [1] "16"
2009 Mar 27
0
read.table on long lines buggy (PR#13626)
Full_Name: Manikandan Narayanan Version: 2.8.1 OS: linux-gnu Submission from: (NULL) (155.91.28.231) Hi R-folks, I have two three-line text files: tst1, tst2 (they are the same except that the second line is longer in tst1; see cat() cmds below). read.table is only able to read the 3rd line in tst1, however reads tst2 correctly as shown below. This happens both in R 2.5.1 (windows) and R
1997 Aug 05
3
R-alpha: Version 0.50-a1 patches
A set of patches for R-0.50-a1 is now available as ftp://stat.auckland.ac.nz/pub/R/R-0.50-a1.patch1.gz The patches mainly fix problems reported since R-0.50-a1 but some older problems are also fixed. Here is the list of changes. Ross o Many subsetting and mutation problems with the new "expression" type have now been fixed. o When ask=T is set in par() the user is instructed
2000 Jul 06
0
Re: [R] R 1.1.0 dev.print() & dev.copy2eps -- bug{let} (PR#596)
>>>>> "StEgl" == Stephen Eglen <stephen@cogsci.ed.ac.uk> writes: StEgl> Hi, I just upgraded to 1.1.0 from 1.0.1 this morning on my OSF/1 StEgl> machine. I now have problems with the following code: StEgl> %E /tmp 43% R --vanilla StEgl> Version 1.1.0 (June 15, 2000) StEgl> ... >> test2 <- function () {
2007 Apr 07
1
R CMD install on R 2.5.0 alpha
Hi, I've just downloaded the latest R v2.5.0 alpha (2007-04-04 r41043) for WinXP. When I try to install a package R tries to install it to a no-name (empty name) directory (causing error downstream): RCMD INSTALL R.oo installing to '' FYI: Package install perfectly on R v2.4.1 patched, and did so also on earlier R v2.5.0 devel/alpha(?) versions. Current directory is: C:\tmp with
2023 Jan 30
1
[p2v PATCH 02/11] Introduce "p2v.output.misc" for passing "-oo" options to virt-v2v
From: Alban Lecorps <alban.lecorps at ubisoft.com> The "-oo" option will be useful primarily for the openstack output mode (currently disabled, from commit b74c126629e3, "Ignore 'openstack' driver", 2020-03-16). Use a ConfigStringList knob for "-oo", and for each OPTION=VALUE element in that list, create a separate "-oo OPTION=VALUE" option.
2009 Apr 28
2
Dropping 'empty' panels from lattice
I have 8 cofactors possibly affecting one and only one variable. I make conditional histograms: <-pdf(file="tst3.pdf",paper="special",width=36,height=36) <-histogram(~Oversized|dat$c1*dat$c2*dat$c5*dat$c6*dat$c7*dat$c8*dat$c9*dat$c10,nint=21,layout=c(32,8),data=dat,type="count") <-dev.off() This works (compliments to R developers!) but it does generate a
2008 Jun 06
2
Why doesn't formatC( x, digits=2, format="g") doesn't always give 2 sig figs?
Hi all I am not a C programmer, but I am trying to understand formatC to get consistent printing of reals to a given number of significant digits. Can someone please explain this to me? These first three give what I expect on reading ?formatC: > formatC(0.0059999, digits=2,format="fg",flag="#") [1] "0.0060" > formatC(0.59999,
2018 Mar 22
0
[PATCH v7 4/6] v2v: Add general mechanism for input and output options (-io/-oo).
Currently we have a bunch of ad hoc options like --vddk* and --vdsm* (and proposed to add --rhv*) to handle extra parameters for input and output modes/transports. This complicates the command line parsing and also the clarity of the command line (becauseit's not very obvious which options apply to which side of the conversion). Replace these with a general mechanism for handling input and
2018 Mar 27
1
Re: [PATCH v7 4/6] v2v: Add general mechanism for input and output options (-io/-oo).
I still have not found time to fully review the series, but I found out that this patch breaks VDDK. See below. On Thu, 22 Mar 2018 15:24:23 +0000 "Richard W.M. Jones" <rjones@redhat.com> wrote: > Currently we have a bunch of ad hoc options like --vddk* and --vdsm* > (and proposed to add --rhv*) to handle extra parameters for input and > output modes/transports. This
1997 Dec 03
1
R-alpha: Two buglets and a difference
I have come across three problems in the past few days, in spell of heavy R ( version R0.50-a4/Sun Solaris2.5.1 ) use. 1. I was using lwd=2 to get thicker lines on plots for printing, but although the 'lwd' parameter works fine with x11(), the thickened lines do not print with print.plot, or by using postscript() directly. 2. Try the following, plot(1:10, -(1:10))
2019 Mar 22
0
prettyNum digits=0 not compatible with scientific notation
>>>>> peter dalgaard >>>>> on Fri, 22 Mar 2019 17:30:19 +0100 writes: > FWIW, it doesn't seem to be happening on Mac OS: >> format(2^30, digits=0) > [1] "1.e+09" >> prettyNum(12345.6, digits=0) > [1] "1.e+04" > A glibc misfeature? It seems (and note we are talking about format.default()
2006 Feb 26
0
Review of Black, Ruby for Rails, Chapter 4
As others have mentioned, Chapter 4 of David A. Black''s book _Ruby for Rails_ is now available for download from the Manning site. The fact that the book is being released one chapter at a time makes it easy to read in small, digestible chunks. I never intended to review every chapter individually here, but now that I''ve done the first three, I feel like I ought to continue.
2018 Mar 23
1
Re: [PATCH v7 4/6] v2v: Add general mechanism for input and output options (-io/-oo).
On Thursday, 22 March 2018 16:24:23 CET Richard W.M. Jones wrote: > + (* Input transport affects whether some input options should or > + * should not be used. > + *) > + let input_transport = > + let is_query = input_options = ["?", ""] in > + let no_options () = > + if is_query then ( > + printf (f_"No -io (input options)