Displaying 20 results from an estimated 4000 matches similar to: "loading data in packages"
2000 Apr 10
2
Increasing memory size in ESS
I am having a problem using ESS with R. In particular I have large
data objects which exceed the 6Mb default heap memory. Outside of
ESS I can run R by specifying large values of --vsize and --nsize
but I can't figure out how to do this in ESS.
Any help would be much appreciated.
--
****************************************************
** Angelo J. Canty **
2000 Jun 02
3
graphical parameters in plot
I'm using plot to make a simple plot but I want to control where
the tick marks go on bot axes. The graphical parameters xaxp and
yaxp seem to be ignored by the plot function so I tried setting them
using
op <- par(no.readonly=T)
par(xaxp=c(-2.4,-2.2,5), yaxp=c(-2500,10000,6))
plot(...)
par(op)
but they are still ignored.
Next I tried to use the axis function as follows
op <-
2000 Nov 01
5
Performance note: Preallocating helps? and two questions
hi-
in r 1.1 on windows 2000
with length(AU) of 35833
AUcap30<-0
for(i in 1:length(AU))AUcap30[i]<-min(30,AU[i])
took over an hour on pentium II 300 mhertz (I esc'ed before it finished)
but
AUcap30<-AU
for(i in 1:length(AU))AUcap30[i]<-min(30,AU[i])
is very quick (a few seconds)
Is this performance difference common in r (ie is linux the same way)?
Are there other tricks
2000 Nov 01
5
Performance note: Preallocating helps? and two questions
hi-
in r 1.1 on windows 2000
with length(AU) of 35833
AUcap30<-0
for(i in 1:length(AU))AUcap30[i]<-min(30,AU[i])
took over an hour on pentium II 300 mhertz (I esc'ed before it finished)
but
AUcap30<-AU
for(i in 1:length(AU))AUcap30[i]<-min(30,AU[i])
is very quick (a few seconds)
Is this performance difference common in r (ie is linux the same way)?
Are there other tricks
2008 Jan 26
1
(no subject)
Hi, The following code, from Angelo Canty article on line "Resampling Methods in R: the boot Package, 2002", works fine for Angelo Canty using R 2.6.0 on Windows XP.
It also works for me using R 1.2.1 and S-PLUS 2000 on Windows XP after installing the S-PLUS bootstrap library, with slight differences in my outputs.
> library(boot)
>
2003 Oct 31
2
Summing elements in a list
Hi,
Suppose that I have a list where each component is a list of two
matrices. I also have a vector of weights. How can I collapse my
list of lists into a single list of two matrices where each matrix
in the result is the weighted sum of the corresponding matrices.
I could use a loop but this is a nested calculation so I was hoping
there is a more efficient way to do this. To help clarify,
2008 Jan 25
2
Help Me to Adjust the R Code
Hi,
The following code, from Angelo Canty article on line "Resampling Methods in R: the boot Package, 2002", works fine for Angelo Canty using R 2.6.0 on Windows XP.
It also works for me using R 1.2.1 and S-PLUS 2000 on Windows XP after installing the S-PLUS bootstrap library, with slight differences in my outputs.
> library(boot)
> library(survival)
>
2003 Oct 15
3
Strange scope problem
Hi,
I have come across the following problem which seems to be a scoping
issue but I'm at a loss to see why this is so or to find a good
workaround.
Suppose I have a function to get a prediction after model selection
using the step function.
step.pred <- function(dat, x0) {
fit.model <- step(lm(y~., data=dat), trace=F)
predict(fit.model, x0, se.fit=T)
}
This function works
2004 Apr 26
1
names attribute of data.frames after rbind
Hi,
If columns of a data.frame have a names attribute and we rbind two
similar data.frames together, the names of the column of the resulting
data.frame only has the correct values for the first component and
has "" in all other positions. Is this a documented "feature" or
a bug? If it is intentional, why? Here is a small example to
show what I mean. The same behaviour
2004 Aug 01
1
Problem with RGui and MASS
Hi,
Using R1.9.1 for Windows with Windows 2000 (also XP), I have come
across the following problem that I have not seen before and am at
a loss to explain. If I create an object using rlm from library(MASS)
and then save the workspace, I cannot reopen it using RGUI by double
clicking on the .RData file as I normally do. If I double click on
the icon, R starts and then gives the following
2003 Jun 23
1
erase.screen bug?
Hi,
I'm using R 1.7.1 on a Windows 2K computer. For some reason erase.screen
does not seem to be working correctly. That is it does not erase the
requested screen. That is the old graphic is still visible and any
subsequent graphics are superimposed over it making them impossible to
read. What is worse is that they print out this way also. The same
behaviour happens with a Windows XP
2012 Nov 22
2
BibTeX entries in CITATION file
Dear List,
While trying to define a customised CITATION file for a package,
following R-exts, I realised that if I use only one 'citEntry' I got
both a text description and a BibTex entry for the package, as for the
'nlme' package:
--------------------------
citation('nlme')
To cite package 'nlme' in publications use:
Jose Pinheiro, Douglas Bates, Saikat
2002 Dec 20
1
R News Volume 2/3
Just in time to provide you with reading material for the holidays we
have published the 2002/3 issue of R News on
http://cran.R-project.org/doc/Rnews
where you can download the newsletter as PDF or Postscript file. It
will propagate to the CRAN mirrors within a day or two.
This issue starts a new regular column, the "R Help Desk" edited by
Uwe Ligges. umn, with an article on
2002 Dec 20
1
R News Volume 2/3
Just in time to provide you with reading material for the holidays we
have published the 2002/3 issue of R News on
http://cran.R-project.org/doc/Rnews
where you can download the newsletter as PDF or Postscript file. It
will propagate to the CRAN mirrors within a day or two.
This issue starts a new regular column, the "R Help Desk" edited by
Uwe Ligges. umn, with an article on
2008 Jan 26
0
Who can tell me how I adjust the R code for bootstrapping the Cox model?
Hi,
The following code, from Angelo Canty article on line "Resampling Methods in R: the boot Package, 2002", works fine for Angelo Canty using R 2.6.0 on Windows XP.
It also works for me using R 1.2.1 and S-PLUS 2000 on Windows XP after installing the S-PLUS bootstrap library, with slight differences in my outputs.
> library(boot)
> library(survival)
>
2008 Jan 25
0
Please help me
Hi, The following code, from Angelo Canty article on line "Resampling Methods in R: the boot Package, 2002", works fine for Angelo Canty using R 2.6.0 on Windows XP.
It also works for me using R 1.2.1 and S-PLUS 2000 on Windows XP after installing the S-PLUS bootstrap library, with slight differences in my outputs.
> library(boot)
> library(survival)
2024 Mar 24
3
'Scripted' machine account renewal?!
Mandi! Kees van Vloten via samba
In chel di` si favelave...
> Solution is easy: upgrading winbind from Debian backports solves the issue !
I've upgraded to latest buster version 4.18.10+dfsg-1~buster, but still does
not work for me...
Now display:
root at vfwacpn1:~# net ads changetrustpw
get_kdc_ip_string: get_kdc_list fail NT_STATUS_NO_LOGON_SERVERS
Changing password for
2004 Jul 26
1
group definition for a bootstrap
Hi,
This is probably really simple, but I am clearly not R-minded, I have read
the help files, and reread them, and I still can't work out what to do...
I have a data frame (d) with 3 columns (age (0-5), quarter (1-4) and x).
I want to estimate the precision of my mean x by age and quarter, so I want
to carry out a bootstrap for each group.
I am trying to do this within a loop, so I don't
2012 Mar 23
2
Help with R package forecast
When I type library() to see what is installed the following list in RED
comes up.
Packages in library '/home/jason/R/i686-pc-linux-gnu-library/2.13':
abind Combine multi-dimensional arrays
aplpack Another Plot PACKage: stem.leaf, bagplot,
faces, spin3R, and some slider functions
biglm bounded memory linear and
2012 Mar 05
2
632 estimator using boot package
Dear All,
Anyone has some idea how to implement 632 estimator and leave-one out bootstraping method by using boot package. I know the bootstrap package has this function, but it sounds not very flexible for my project.
Thanks,
Jim