Displaying 20 results from an estimated 30000 matches similar to: "Problem with as.data.frame when an extra attribute is present"
2006 Aug 20
1
C compile problem on Ubuntu linux
Under Ubuntu dapper, after installing packages gcc and g77, under
platform i486-pc-linux-gnu
arch i486
os linux-gnu
system i486, linux-gnu
status
major 2
minor 2.1
year 2005
month 12
day 20
svn rev 36812
language R
I get an error when trying to update.packages('Hmisc'):
gcc -I/usr/lib/R/include -fPIC -g -O2 -c ranksort.c -o ranksort.o
In file included
2006 Sep 26
1
Bug in formals<-
I think this is new since a previous version of R:
> h <- function(x, trantab) trantab[x]
> w <- 6:4
> names(w) <- c('cat','dog','giraffe')
> w
cat dog giraffe
6 5 4
>
> formals(h) <- list(x=numeric(0), trantab=w)
> h
function (x = numeric(0), trantab = c(6, 5, 4))
trantab[x]
You can see that the names
2006 Oct 12
3
Bug in lowess
x <- c(0,7,8,14,15,120,242)
y <- c(122,128,130,158,110,110,92)
lowess(x,y)
$x
[1] 0 7 8 14 15 120 242
$y
[1] 122.0000 128.0000 132.2857 158.0000 110.0000 -4930.0000
110.0000
R version 2.2.1, 2005-12-20, i486-pc-linux-gnu
attached base packages:
[1] "methods" "stats" "graphics" "grDevices" "utils"
2006 Aug 01
1
What's a labelled data.frame? And how do I work with it?
I imported an SPSS file with its data labels using
spss.get (Library(Hmisc).
Class = data.frame
I then updated some of the spss labels and added a
label to the object itself.
label (staff.allocation) <- "raw data from the spss
file"
I then save it as an R object. When I load the object
for further work it comes in as Class = "labelled"
"data.frame"
Then I
2007 Apr 25
2
Coercing data types for use in model.frame
In the Hmisc package there is a new data class 'mChoice' for multiple
choice variables. There are format and as.numeric methods (the latter
creates a matrix of dummy variables). mChoice variables are not allowed
by model.frame. Is there a way to specify a conversion function that
model.frame will use automatically? I would use as.factor here.
model.frame does not seem to use
2007 Apr 25
2
Coercing data types for use in model.frame
In the Hmisc package there is a new data class 'mChoice' for multiple
choice variables. There are format and as.numeric methods (the latter
creates a matrix of dummy variables). mChoice variables are not allowed
by model.frame. Is there a way to specify a conversion function that
model.frame will use automatically? I would use as.factor here.
model.frame does not seem to use
2009 Mar 03
0
SAS Macros for R Users Only
I think SAS Macros has capability to call R, and execute it without it
being in the picture anywhere.
So you can use SAS Macros in a file called R.sas
In this you can create a macro called %Describe that can call R , load Hmisc
,run the describe function
Note you will need repeated use of %put in this %describe for the mapping
to take place
Use %INCLUDE to include that file in all SAS
2009 Aug 16
1
Installing quantreg package under Ubuntu
Does any have installation instructions for this? When I run
install.packages('quantreg') I get:
gcc -std=gnu99 -shared -o quantreg.so akj.o boot.o brute.o chlfct.o
cholesky.o combos.o crq.o crqfnb.o dsel05.o etime.o extract.o idmin.o
iswap.o kuantile.o mcmb.o penalty.o powell.o rls.o rq0.o rq1.o rqbr.o
rqfn.o rqfnb.o rqfnc.o sparskit2.o srqfn.o srqfnc.o srtpai.o -llapack
-lblas
2003 Aug 31
1
Problem installing acepack in debian
In
platform i386-pc-linux-gnu
arch i386
os linux-gnu
system i386, linux-gnu
status
major 1
minor 7.1
year 2003
month 06
day 16
language R
using debian testing (latest Knoppix) I get an error when installing acepack:
gcc
2014 Dec 23
0
CRAN and ggplot2 geom and stat extensions
On Tue, Dec 23, 2014 at 10:34 AM, Frank Harrell
<f.harrell at vanderbilt.edu> wrote:
> I am thinking about adding several geom and stat extensions to ggplot2
> in the Hmisc package. To do this requires using non-exported ggplot2
> functions as discussed in
> http://stackoverflow.com/questions/18108406/creating-a-custom-stat-object-in-ggplot2
>
> If I use the needed
2004 Jun 01
1
Problem with .First.lib while running R CMD check
I am having difficulty running R CMD check using the 30May04 version of
R-devel and a new version of the Hmisc package:
* checking S3 generic/method consistency ... WARNING
Error in .tryQuietly({ : Error in library(package, lib.loc = lib.loc,
character.only = TRUE, verbose = FALSE) :
.First.lib failed
Execution halted
See section 'Generic functions and methods' of the
2003 Oct 29
2
/usr/lib/R/library vs /usr/local/lib/R/site-library
I would appreciate getting a clarification of /usr/lib/R/library vs /usr/local/lib/R/site-library. I am running R 1.8 on Debian Linux. On one occasion doing update.packages() resulted in versions of one or more libraries being placed in one of these directories without removing the old version, and the old version took precedence over the new. I'm sorry I did not save the steps I used. I
2002 Sep 03
1
Problem adding a class to a POSIX vector
Under
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 5.1
year 2002
month 06
day 17
language R
I am having the following problem.
d <- Sys.time()
w <- data.frame(d)
2016 Nov 03
0
Massive Update to Hmisc package
Hmisc 4.0-0 is now on CRAN. The package has undergone a massive update.
The most user-visable changes are;
- support for Rmarkdown html notebooks
- advanced html tables using the htmlTable package and summaryM function;
can copy and paste into word processors
- support for plotly interactive graphics, e.g.
options(grType='plotly')
plot(describe(mydata))
- new function
2016 Nov 03
0
Massive Update to Hmisc package
Hmisc 4.0-0 is now on CRAN. The package has undergone a massive update.
The most user-visable changes are;
- support for Rmarkdown html notebooks
- advanced html tables using the htmlTable package and summaryM function;
can copy and paste into word processors
- support for plotly interactive graphics, e.g.
options(grType='plotly')
plot(describe(mydata))
- new function
2014 Dec 23
2
CRAN and ggplot2 geom and stat extensions
I am thinking about adding several geom and stat extensions to ggplot2
in the Hmisc package. To do this requires using non-exported ggplot2
functions as discussed in
http://stackoverflow.com/questions/18108406/creating-a-custom-stat-object-in-ggplot2
If I use the needed ggplot2::: notation the package will no longer pass
CRAN checks. Does anyone know of a solution? I'm assuming that
2004 Jun 04
0
New versions of Hmisc and Design on CRAN
New versions of source packages for Hmisc and Design are available from
CRAN for R 1.9 on Linux/Unix. Knowing Uwe Ligges, a Windows binary is
not far behind. Changelogs are at
http://biostat.mc.vanderbilt.edu/twiki/bin/view/Main/ChangelogHmisc and
http://biostat.mc.vanderbilt.edu/twiki/bin/view/Main/ChangelogDesign .
These versions pass R CMD check for the latest R-devel so I expect they
2004 Jun 04
0
New versions of Hmisc and Design on CRAN
New versions of source packages for Hmisc and Design are available from
CRAN for R 1.9 on Linux/Unix. Knowing Uwe Ligges, a Windows binary is
not far behind. Changelogs are at
http://biostat.mc.vanderbilt.edu/twiki/bin/view/Main/ChangelogHmisc and
http://biostat.mc.vanderbilt.edu/twiki/bin/view/Main/ChangelogDesign .
These versions pass R CMD check for the latest R-devel so I expect they
2005 Sep 12
0
Trying to reach Frank Harrell
Does anyone have a valid email address for Frank Harrell of Hmisc fame? I've
tried getting in touch with him at both fharrell at virginia.edu and
f.harrell at vanderbilt.edu, but messages to either of those addresses get
bounced. Frank, if you're reading this, please email me from an account that
will accept a reply.
Jeff Hallman
2002 Oct 25
0
[., multiple inheritance, and R 1.6
Matt Nelson <MNelson at sequenom.com> reported a problem using the Hmisc library that did not occur with versions of R before 1.6. I am running
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 6.0
year 2002
month 10
day 01
language R
> library(Hmisc)
> g <-