similar to: options("digits") and print.default()

Displaying 20 results from an estimated 5000 matches similar to: "options("digits") and print.default()"

2013 Apr 03
1
R-3.0.0 reg-tests-3.R / survival
"make check" is failing on reg-test3.R with a message that survival was built with an older version of R. (On my Ubuntu 32 bit and Ubuntu 64 bit machines). Why would "make check" be looking anywhere that it would find something built with an older version of R? ~/RoboAdmin/R-3.0.0/tests$ tail reg-tests-3.Rout.fail > print(1.001, digits=16) [1] 1.001 > ## 2.4.1 gave
2007 Feb 28
1
Removing directory?
Hi, I'm trying to remove/delete a directory usingR. I've tried the following with no success: % Rterm --vanilla > getwd() [1] "C:/Documents and Settings/hb/braju.com.R/aroma.affymetrix/test" > dir.create("foo") > file.info("foo") size isdir mode mtime ctime atime foo 0 TRUE 777 2007-02-28 14:52:10
2010 Nov 28
5
unexpected behavior using round to 2 digits on randomly generated numbers
Hello! I stumbled upon something odd that took a while to track down, and I wanted to run it by here to see if I should submit a bug report. For randomly generated numbers (from a variety of distributions) rounding them to specifically 2 digits and then multiplying them by 100 produces strange results on about 8% of cases. The problematic numbers display as I would have expected, but do not
2013 Sep 13
2
xtable use plus minus
I am using a similar dataset to the following: a= c("Fruits", "Adam","errorA", "steve", "errorS", "apples", 17.1,2.22, 3.2,1.1, "oranges", 3.1,2.55, 18.1,3.2 ) a_table=data.matrix(t(matrix(a,nrow=5))) I would like to plus minus every second column starting from errorA (using xtable/ hmisc) example output (ignoring
2010 Nov 22
1
Problem setting the number of digits in xtable
DEar list members, I am currently using Sweave with LaTeX which is great. I can use xtable for formatting outp of tables but I have a problem setting the number of decimals in xtables when used with dataframe. I have found an example on the net ith matrix and it works. For example this works : > > tmp <- matrix(rnorm(9), 3, 3) > > xtmp <- xtable(tmp) > > digits(xtmp)
2006 Sep 26
0
Infinite Loop when installing a package from source (PR#9258)
Full_Name: Charles Dupont Version: Version 2.3.1 OS: linux Submission from: (NULL) (160.129.129.136) I think that this is infinite. I let it run for 30 minutes. During which it consumed 98% of my memory (1Gb) and steadily helled 90-99% of CPU. Steps to reproduce problem 1. get a source package e.g. Hmisc. 2. $ echo "library(Hmisc)" > Hmisc/R/test.R 3. $ R CMD INSTALL -d -l
2010 Oct 22
1
trouble with \textless in Hmisc latex() on a drop1 object
Yes, it's homework . . . delete now if desired . . . but I think it is an interesting problem. Running R 2.11.1, LaTeX on WinXP, via Sweave. A drop1() object from a glm() produces, as part of its output, a string that looks like this: <none> The trouble I run into is that running latex() on a drop1() object from glm() produces a string that looks like this in the generated .tex
2006 Dec 11
3
Problem with sas.get function in Hmisc
Thomas, As F Harrel in a preceding message told me that you are the maintainer of Hmisc package, I write directly to you, with copy to the Rhelp list in case someone encountered the same problem and find some benefit in the response. I used quite often the function sas.get in Hmisc library which I is very, very useful. But, as trying to reuse it today it seems not to function anymore. I tried
2008 Oct 26
2
Upgrade
I recentlry tried to upgrade to 2.8.0. I ended up uninstalling 2.7.2 and installing 2.8.0 becuase the line in the FAQ states: That's a matter of taste. For most people the best thing to do is to uninstall R (see the previous Q), install the new version, copy any installed packages to the library folder in the new installation, run update.packages(checkBuilt=TRUE, ask=FALSE) in the new R and
2006 Nov 06
1
Hmisc, latex cdec not as expected - again
Hello all. Sorry for reposting this message, but I accedently sent it in HTML-format the first time. I have encountered at problem when using the Hmisc package to generate latex-tabels. I can't seem to control the number of digits in the latex-file. I have used the Design and Hmisc packages for a while without this problem, but after upgrading to R-2.4.0 the problem has occured. I
2007 Apr 27
0
Hmisc Version 3.3-2 is now in CRAN repository
Hmisc Version 3.3-2 has been posted to the CRAN repository. Change Log 3.3-2 4/26/2007 Fixed bug with combine<- function not handling NULL values. 3.3-1 3/29/2007 Created functions trunc.POSIXt, ceil.POSIXt, round.POSIXt to do those ops on POSIXt objects. Removed chron versions of these functions. Placed Hmisc in a namespace Factored out category
2007 Apr 27
0
Hmisc Version 3.3-2 is now in CRAN repository
Hmisc Version 3.3-2 has been posted to the CRAN repository. Change Log 3.3-2 4/26/2007 Fixed bug with combine<- function not handling NULL values. 3.3-1 3/29/2007 Created functions trunc.POSIXt, ceil.POSIXt, round.POSIXt to do those ops on POSIXt objects. Removed chron versions of these functions. Placed Hmisc in a namespace Factored out category
2006 Oct 18
0
R issue with quantile using its package
Frank, Thanks for the reply so what I did in the interim was unistalled Hmisc and chron and used version 3.0-2 of Hmisc which doesn't have the dependency on chron, and reinstalled its version 1.1.4 However I still heave the issue, when I try to run the quantile command on the given dataset. Thanks, ~Lloyd Gilroy, Lloyd (GTI) wrote: > I currently have an instance of R running on
2007 Jan 29
0
Hmisc Version 3.1-2 uploaded to CRAN repository
Hmisc 3.1-2 has been uploaded to the CRAN incoming directory. Change log 3.2-1 1/25/2007: Hmisc function 'ecdf' has been renamed 'Ecdf' to deconflict it with the existing 'ecdf' function in base. Fixed Bug in format.df that would create numbers with many trailing zeros. Added arguments 'math.row.names' and
2007 Jan 29
0
Hmisc Version 3.1-2 uploaded to CRAN repository
Hmisc 3.1-2 has been uploaded to the CRAN incoming directory. Change log 3.2-1 1/25/2007: Hmisc function 'ecdf' has been renamed 'Ecdf' to deconflict it with the existing 'ecdf' function in base. Fixed Bug in format.df that would create numbers with many trailing zeros. Added arguments 'math.row.names' and
2008 Sep 29
1
describe function in package Hmisc and function format.dates in chron (PR#13087)
Full_Name: Kem Phillips Version: 2.7.1 (2008-06-23) OS: Windows Xp professional Submission from: (NULL) (98.221.200.108) The Hmisc function describe fails, giving the error message: Error in formatDateTime(dd, atx, !timeUsed) : could not find function "format.dates" Loading the chron package, where function dates apparently resides, does not fix the problem. Note
2018 Jan 26
1
How to run mixed model with related independent variables
I've data that look like: Outcome V1_AA V1_EU V1_NA V2_AA V2_EU V2_NA 0 0.046 1.001 0.954 0.045 1.001 0.954 0 0.007 1 0.993 0.007 1 0.993 1 1.774 0.217 0.009 1.774 0.217 0.009 1 0.004 1.996 0 0.004 1.996 0 1
2008 Sep 03
1
problem with Hmisc
Dear All, I'm reading Frank Harrell's wonderful Regression Modeling Strategies book and ran into a problem following the example in Chapter 8. I'm working on platform: Ubuntu 8.04 (i486-pc-linux-gnu) R version: 2.7.2 (2008-08-25) and my command sequence was: library(chron) library(Hmisc) load("prostate.sav") describe(prostate) The last command returned the error
2011 Oct 05
2
A question about R image function
Dear folks, I have a question about the image() function in R. I found the following link talking about this but the replies didn't help with my situations. http://r.789695.n4.nabble.com/question-on-image-function-td839275.html#a839276 To be simple, I will keep using the example in the above link. Suppose the data are like x y mcpvalue 0.4603578
2007 Nov 08
2
question on image() function?
Dear friends, My dataset is like the following: x y mcpvalue 0.4603578 0.6247629 1.001 0.4603715 0.6247788 1.001 0.4603852 0.6247948 1.001 0.4110561 0.5664841 0.995 The x and y variables are unsorted. I use the function image(x,y,mcpvalue) to generate a plot, but the error is that "increasing 'x' and