similar to: [R] Suppressing scientific notation on plot axis tick labels (PR#14202)

Displaying 20 results from an estimated 2000 matches similar to: "[R] Suppressing scientific notation on plot axis tick labels (PR#14202)"

2010 Feb 02
0
[R] Suppressing scientific notation on plot axis tick labels (PR#14203)
murdoch at stats.uwo.ca wrote: > On 02/02/2010 6:20 AM, Dimitri Shvorob wrote: >> Ruben Roa has kindly suggested using 'scipen' option - cf. >> >>> fixed notation will be preferred unless it is more than =C3=A2=E2=82=AC= =CB=9Cscipen=C3=A2=E2=82=AC=E2=84=A2 digits >>> wider. >> However,=20 >> >> options(scipen =3D 50) >> x =3D
2010 Feb 02
2
Suppressing scientific notation on plot axis tick labels
Is there a better alternative to x = c(1e7, 2e7) x.lb = c(0,1e7,2e7) s.lb = format(x.lb, scientific = FALSE, big.mark = ",") barplot(x, yaxt = "n", ylab = "") axis(side = 2, at = x.lb, labels = s.lb) (I am sure there is a better alternative to line 2 :)). Thank you. -- View this message in context:
2003 May 02
2
Suppressing Scientific Notation
R gurus, Every so often(*) someone asks how to suppress scientific notation in printing, so I thought I'd give it a shot, but I need some help. The formatting decision is made(**) on line 286 of src/main/format.c : if (mF <= *m) { /* IFF it needs less space : "F" (Fixpoint) format */ where mF is the number of characters for "normal" printing and *m is the number
2009 Dec 15
1
Supressing Scientific Notation
I'm trying to display my deciles without scientific notation, but have not found an option that will allow me to do so. According to web searches, the options(scipen=999) should remove scientific notation, but it seems not too. Does this option work with quantcut function? Is there any other option that can be used? I am using verison 2.10.0. library(gtools) library(gdata)
2010 Sep 27
1
scientific vs. fixed notation in xyplot()
Hi I am using xyplot() to plot on the log scale by using scale=list(log=T) argument. For example: xyplot(1:10~1:10, scales=list(log=T)) But the axis labels are printed as scientific notation (10^0.0, etc), instead of fixed notation. How can I change that to fixed notation? options(scipen=4) doesn't work on xyplot() Thanks John
2011 Oct 14
1
is there an option to "turn off" scientific notation in write.csv
Dear Help-Rs,   I'm working with a file that contains large numbers and I need to export them "as is".  for example take:   x <- c(27104010002005,27104020001805,27104090001810,90050013000140,90050013000120) y <- c(1:5) df <- data.frame(cbind(x,y))   When I then try a simple: write.csv(df,file="df.csv")   I get:  x y 1 2.7104E+13 1 2 2.7104E+13 2 3 2.71041E+13 3
2010 Aug 10
1
axis labels defaulting to scientific notation
The labels on the x-axis are defaulting to scientific notation no matter how small cex.axis is. How can I override scientific notation to get the labels to print out as specified? Here is the code (UNIT here is 0.0105): plot(xm,yv,log="xy",ylim=c(0.1,20)/UNIT,xlim=c(0.004,20)*UNIT,xaxt="n",t ype="n") axis(1,
2019 Mar 21
3
prettyNum digits=0 not compatible with scientific notation
R developers, Seems I get a bad result ("%#4.0-1e" in particular) when trying to use prettyNum digits=0 with scientific notation. I tried on both my Linux box and on an online R evaluator and saw the same problem, so it's not limited to my box at least. I see the problem in both R 3.5.3 and R 3.3.2. options(scipen=-100) prettyNum(1, digits=0) [1] "%#4.0-1e" prettyNum(2,
2006 Apr 28
1
displaying numbers not in scientific notation
Sorry for asking such a simple question, but I couldn't find the answer through a search... How can I get R to show me the values of estimates *not* in scientific notation? When I use summary() after using lm() I am getting numbers like 4.485107e-01, when what I want to see is 0.4485.... Thanks, Brian
2007 Sep 26
3
Scientific Notation
Dear List: Below is how I specify an axis: axis(2, at=c(0.00005, 0.0005)) R displays the numbers in scientific notation. What argument/parameter should I use to tell R to display the numbers as specified rather than in scientific notation? > version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major
2005 Sep 21
2
controlling usage of digits & scientific notation in R plots; postscript margins
Dear R users: I assigned students to make some graphs and I'm having trouble answering some questions that they have. We are all working on R 2.1 on Fedora Core Linux 4 systems. 1. In the plot, the axis is not labeled by "numbers", but rather scientific notation like "-2e+08" or such. We realize that means -200,000,000. We want to beautify the plot. We would rather
2019 Mar 25
2
R 3.5.3 having trouble spawning a new process on my Windows 10 machine
Hi all, I am noticing some strange behaviour so I am bringing to this list. In the past when I have submitted bugs to bugzilla, I have come here first for confirmation/advice. Hopefully this is appropriate. Upgrading from R 3.5.2 to R 3.5.3 seems to have elicited some strange behaviour on my Windows machine. R seems to have trouble spawning a new process on my machine. You can noticing with all
2019 Mar 22
2
prettyNum digits=0 not compatible with scientific notation
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? -pd > On 22 Mar 2019, at 10:10 , Martin Maechler <maechler at stat.math.ethz.ch> wrote: > > Thank you, Robert for raising this here ! > >>>>>> Robert McGehee
2018 Oct 08
2
bug with OutDec option and deferred_string altrep object
While implementing R's new 'altrep' functionality in the TERR engine, I discovered a bug in R's 'deferred_string' altrep object: it is not using the correct value of the 'OutDec' option when it expands a deferred_string. See the following example: R 3.5.1: (same results in R 3.6.0 devel engine built 10/5) > options(scipen=0, OutDec=".") >
2011 May 12
2
Change font size in Windows
My day for dumb questions. How do I increase the type size in the Rgui console in Windows? (R-2.13.0, Windows 7) It looked to me that I just needed to change the font spec in Rconsole but that does not seem to be working. The R FAQ for Windows has a reference in Q3.4 to changing fonts, (Q5.2), but I don't see anything relevant there. Rconsole originally was: font = TT Courier New points =
2007 Jun 07
2
character to time problem
I am trying to clean up some dates and I am clearly doing something wrong. I have laid out an example that seems to show what is happening with the "real" data. The coding is lousy but it looks like it should have worked. Can anyone suggest a) why I am getting that NA appearing after the strptime() command and b) why the NA is disappearing in the sort()? It happens with na.rm=TRUE
2010 Jul 15
1
Send code to R from WinEdt55
R Gurus: This sounds not a FAQ. I upgraded WinEdt from 5.4 to 5.5 , following load RWinEdt, R-WinEdt editor appears. There are more menu items and task icons in this version, but I failed to find a pull down menu or task icon to send code to R. What did I miss? > sessionInfo() R version 2.11.0 (2010-04-22) i386-pc-mingw32 locale: [1] LC_COLLATE=English_Canada.1252
2008 Oct 06
1
Bug with message if there is no documentation; R2.8alpha Win32 (PR#13131)
In the latest R 2.8 alpha for Win32, if either of the commands are typed: > help("erfc") .. or .. > ?erfc the result is: No documentation for 'erfc' in specified packages and libraries: you could try '??erfc' This should be: 'help.search("erfc")', as shown in R 2.7.2 Apologies if this has already been submitted/fixed. -Mike --please do not edit
2008 Oct 10
2
Fatal error: unable to restore saved data in .RData
Hello, I am unable to start an R session by double-clicking on an existing .RData file from the Windoze file explorer. A dialogue appears with the message "Fatal error: unable to restore saved data in .RData", and I notice in the R Console the last few lines are: "Loading required package: R2HTML NULL error in function () : unused argument(s) (1:43)" I tried starting
2015 Sep 28
2
Link R with Tcl 8.6 on Windows
Dear all, I am working on an R package intended for CRAN that requires Tcl version 8.6 because of the TclOO tcl extension and the -angle option for canvas text items. R for Windows currently still ships with Tcl 8.5. Does anyone have experience with linking R under Windows to a Tcl interpreter of version 8.6? When I link R 3.2.2 (installed from the binary on Windows 8) to a custom Tcl