Displaying 20 results from an estimated 1000 matches similar to: "install.packages"
2004 Mar 23
0
New R package
Zelig: Everyone's Statistical Software
Kosuke Imai, Gary King and Olivia Lau
Version 1.0
(Available at http://gking.harvard.edu/zelig)
A growing proportion of statisticians and methodologists from many
disciplines are converging on R, a powerful statistics package and
programming language. As an open source project, R is freely
2005 Jan 21
6
dim vs length for vectors
Hi all,
I'm not sure if this is a feature or a bug (and I did read the
FAQ and the posting guide, but am still not sure). Some of my
students have been complaining and I thought I just might ask:
Let K be a vector of length k. If one types dim(K), you get
NULL rather than [1] k. Is this logical?
Here's the way I explain it (and maybe someone can provide a
more accurate
2003 Sep 23
4
searching R-help within a function
Hi,
I am working on a package which requires separate documentation
(tutorial documentation, really, with a lot of beautifully
latexed equations), and does not use R-help. I am trying to
make it so that my help function will automatically search
R-help if the help topic isn't found in my documentation.
The function looks something like this:
help.pkg <- function(topic) { #
2003 Sep 23
4
searching R-help within a function
Hi,
I am working on a package which requires separate documentation
(tutorial documentation, really, with a lot of beautifully
latexed equations), and does not use R-help. I am trying to
make it so that my help function will automatically search
R-help if the help topic isn't found in my documentation.
The function looks something like this:
help.pkg <- function(topic) { #
2003 Oct 26
1
commenting demos
Hi,
Is there a way to make demo() print comments along with the code
and output?
For example, if I use something like readline("..."), demo
prints both readline("...") and ...; as far as I can tell, this
is also true of print() and cat(). I just want students to stop
and think about every command in my demo scripts.
Thanks,
Olivia.
2009 May 28
0
R-help Digest, Vol 75, Issue 28
> >> From: Jeff Newmiller <jdnewmil at dcn.davis.ca.us>
> >> To: "R Heberto Ghezzo, Dr" <heberto.ghezzo at mcgill.ca>
> >> Date: Wed, 27 May 2009 09:00:44 -0700
> >> Subject: Re: [R] R in Ubunto
> >> R Heberto Ghezzo, Dr wrote:
> >>
> >> ? ?Hello , I do not know anything abount Ubunto, but I found a Portable
2011 Apr 26
2
Wish R Core had a standard format (or generic function) for "newdata" objects
Is anybody working on a way to standardize the creation of "newdata"
objects for predict methods?
When using predict, I find it difficult/tedious to create newdata data
frames when there are many variables. It is necessary to set all
variables at the mean/mode/median, and then for some variables of
interest, one has to insert values for which predictions are desired.
I was at a
1998 Dec 07
0
R for WINDOWS (was R-0.63.1 is released)
> To: "Heberto Ghezzo" <heberto at MEAKINS.Lan.McGill.CA>
> Subject: Re: [R] R-0.63.1 is released
> From: Peter Dalgaard BSA <p.dalgaard at biostat.ku.dk>
>
> "Heberto Ghezzo" <heberto at MEAKINS.Lan.McGill.CA> writes:
>
> > Sorry for a silly question but. . .
> > why the new version is 'bdr0631' ? what is the
1998 Dec 07
0
HDF or netCDF
Hi,
I saw some ref to R on HDF site and found some e-mails regarding them on
Feb.
Has there ben any developement on either of these software (HDF or netCDF)?
I am primary interested in NT side, but Unix side will help to some
degree.
Thanks much in advance,
**************************************************************
S. Hoon Yoon (Quant) Merrill Lynch
2000 Sep 13
2
minimization
Hi, I got a code from S that uses 'nlminb' to minimize a function
with constraints. Is there a similar function in R?
Thanks.
R. Heberto Ghezzo Ph.D.
Meakins-Christie Labs
McGill University
Montreal - Canada
heberto at meakins.lan.mcgill.ca
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
1999 Nov 09
2
Problems with read.table
Hi I am using R65.1 in Windows 95
I have a CSV file from Excell
>
a<-read.table("c:/heberto/mgc/tst.csv",header=T,sep=",")
> attach(a)
> a
manolo fvcpp fevpp fvvcpp tlcpp rvpp rvtlpp plmaxpp
1 1 99.28 97.67 98.38 91.14 102.9 111.25 117.64
2 1 86.97 68.56 78.89 94.60 112.34 118.53 159.20
3 1 81.12 71.76 88.37 89.16
2000 Jul 25
1
library dll's dont load
Hi R experts, Can somebody suggest what can be wrong?
PIII with 128 Mb RAM Using R 1.1 in Win98, the latest version
downloaded yesterday. I run update.packages so 'survival', ' mass',
and 'nlme' are the latest versions in CRAN
> library(survival)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
2004 Jun 25
2
R 1.9.1 package installation problems
Hello,
I am writing as an administrator, not as an R user, so forgive me if I
am not completely knowledgeable about R.
I have a user who is creating an R package for windows from a Linux
environment using the crossbuild environment by Jun Yan and A.J.
Rossini. The packages she generated worked fine until she tried to
install in R 1.9.1 for Windows. Now when she installs with
2012 Jul 31
2
help with a regression
Hello, I have a data frame with the following variables:
ID, X1,X2,X3,X4,X5,Y1,Y2,Y3,Y4,Y5 and some other that do not matter, some of the X and Y can be missing (NA). I want to compute the slope of the linear regression Y ~ X for each subject, so using
apply(DF,1,FUN,ra.rm=TRUE) now How do I define FUN? The X are different for each subject.
Thanks for any help
R.Heberto Ghezzo Ph.D.
Montreal -
2010 Mar 12
2
unknown compression
Hello, I am trying to modify some functions in an existing package. I can get a function by just typing the name in the console, but how can I get all the functions in a package? the ./R/ subdirectory has files xx.rdb and xx.rdx which I can not decompress with 7-zip or with unzip, unrar etc. The help files are compressed with gzip in the ./man/ folder and can be unzipped easily.
Thanks for your
2001 Dec 12
1
again evaluations
Hello, I wrote the following function to compute multiple comparisons in
a one way anova and randomized blocks anova.
aov1 <- function(y,g,s=NULL,comp="mca",meth="Sidak") {
#
fun <- function(x)
c(mean(x,na.rm=T),sd(x,na.rm=T),length(x[!is.na(x)]))
#
li <- length(unique(g))
cat(" Analysis of Variance with Multiple comparisons\n\n")
cat("
2003 Jan 29
3
na.rm in sd()
Hello, I think this qualify as a bug
> x<-c(1,2,3,4,NA,6,7)
> mean(x)
[1] NA
> mean(x,na.rm=T)
[1] 3.833333
> sd(x)
Error in var(as.vector(x)) : missing observations in cov/cor
> sd(x,na.rm=T)
Error in sd(x, na.rm = T) : unused argument(s) (na.rm ...)
> var(x)
Error in var(x) : missing observations in cov/cor
> var(x,na.rm=T)
[1] 5.366667
>
why sd() does not
2001 Mar 14
2
scan
Hello, I have a problem. I have to read a HUGE file which has to be
line processed, so I would like to use scan like
p <- scan(pfile,what=c(0,0,0,"",0,""),nlines=1)
but it continues to read the first line, so I have to add a skip and
increment the skip after each read.
It takes forever to read a test file of 1 Mb, the real one is in 60's Mb
Is there a way to read line
2001 Apr 19
2
extraction
Hello everybody
I am trying to extract some observations from a data frame, ie the
subjects that belong to a given group, and although t-test etc work
if I try to obtain the number of subjects in the subgroup i get some
funny numbers. All the subjects with NA for group are included in
the subgroups 'group==1' etc.
Is this a bug?
for example in Windoze
R : Copyright 2001, The R
2011 Apr 20
1
Sweave
Hello,
I never used Sweave before but now I try and got:
>
> rnwfile <- system.file("Sweave", "example-1.Rnw", package = "utils")
> Sweave(rnwfile)
Writing to file example-1.tex
Processing code chunks with options ...
1 : echo term verbatim
2 : term verbatim pdf
You can now run (pdf)latex on 'example-1.tex'
>