Displaying 20 results from an estimated 1100 matches similar to: "memory"
2001 Jul 12
1
Sys.getenv
I am running R-1.3.0 on Solaris 8:
Under Solaris I do
setenv dendro_us hoffmann
echo $dendro_us gives back:
hoffmann
which is correct.
When in R I do:
Sys.getenv("dendro_us") I get
dendro_us
""
which is NOT correct:
Inverse effect (taken from help of Sys.getenv)
Under R:
print(Sys.putenv("R_TEST"="testit", ABC=123))
[1] TRUE TRUE
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
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
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
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
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
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
1998 Oct 22
1
crosstab means
I would like to obtain a crosstabulation of means(var, quantiles...)
i.e. I have a data frame with Var-i, Var-j, Var-k, Var-X, var-Y
I like to have the mean of Var-X for each combination of Var-i,Var-j.
One solution would be:
by(var-i,Var-j,mean(Var-x))
but I would like it better formatted and with mean,S.Dev,n for each
cell?
Does anybody have some function to do this or some ideas how to go
2000 Jul 26
4
differential equations
Hi, Does somebody knows of the existence of a library of functions
for solving differential equations, I need a solver for a system of non
linear first order differential equations. I think there was something
in IMSL but that was a long time ago and probably there are some
new algorithms in the new now.
Thanks for any pointers.
.
R. Heberto Ghezzo Ph.D.
Meakins-Christie Labs
McGill
1998 Oct 14
1
Re: R vrs S
Hi, I am relatively new to R programming. I have Guido's version on a
Win95 Pentium with 32 Mb RAM.
I tried to compile the Package MIXREG of Rolf Turner in S to R
almost everything works OK but he has a function po = partial outer
product as follows:
po <- function(a,b) {
array(apply(b,2,"*",a),dim=c(dim(a),dim(b)[2]))) }
in S-Plus given
x = ( 1 1
1 2
1 3
1 4
2000 Apr 25
1
loops
Hi R friends,
I havent asked a silly question in a long time so here it is:
Reading the last issue of Stat Can J. there is an article in a single
degree of freedom test for non aditivity of interactions in anova
tables with 1 obs per cell. The authors claim it is more powerfull than
Tukey but for the case of multiplicative interaction, which is the
alternative studied by Tukey. I tried to
2001 Mar 29
1
reading big arrays from C
hello.
I am trying to read a big file with different sections each with a
different format, actually it is a map in format *.e00 of MapView.
I can read the whole file with no problems from R using scan()
but it takes too long, some files are 50 meg and have to be read line
by line to catch the section codes.
So if I do the reading from C would it be faster?
if it is, how do I manage with the
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
1999 Apr 07
1
library
I also have several packages in my RW0633 in Windoze
and I would like to keep them in one place when I update the R
system.
Brian say to modify Rprofile to
..lib.loc <- c("c:/MyR/library",.Library)
now Rprofile has a line like
.lib.loc <- unique(c(unlist(strsplit(getenv("RLIBS"),":")),.Library)
Sorry to be dense but where should I put the
1997 Jul 29
0
R-beta: cran
Hi, the contributed section of CRAN has source code in C, etc. I am
using RApril in Win95, How should one compile these programs?
- with Watcom C10?
- is 'lcc' the free 32 bit compiler usable?
- Is 'load.dll' available?
- If load.dll works, does it works with 16 bit dll's or it needs 32
bit dll's?
Thanks.
R. Heberto Ghezzo Ph.D.
Meakins-Christie Labs
McGill University
2001 Feb 05
0
Read.table
After reading the comments on my problem of floats turned into
factors i went back to my original file in Excell, save as csv, then
reopen with a 'different' text editor to delete all spaces and now the
files are read OK.
I assume that when I stripped all the spaces from the file a funny
character, non printable, crept in.
Thanks to B.D.Ripley,M.Maechler,P.Dalgaard and T.Lumley for
2003 Jan 29
2
problems with by()
Hello, another problem.
> x<-rep(1,10)
> y<-rep(c(1,2),c(5,5))
> z<-seq(1:10)
> ab<-data.frame(x,y,z)
#
now I want to do some work by the value of 'y'
> by(ab,y,mean)
y: 1
x y z
1 1 3
------------------------------------------------------------
y: 2
x y z
1 2 8
#
I do not want all the means, only the mean of 'z'
> by(ab,y,function(x)
2002 Jun 04
1
compiling packages
Hello, Using R 1051 in win98
When I try to build a library Addreg with DESCRIPTION, Index and Title
in R and subdirectories Man and R. From a Command window I do:
c:\> c:\rw1051\bin\Rcmd INSTALL c:\r_src\src\library\addreg
--library=c:\r\src\library
make: Entering directory '/cygdrive/c/rw1051/src/gnuwin32'
make DLLNM= \
-C c:/r_src/src/library/addreg PKG=addreg RHOME=c:/rw1051