Displaying 20 results from an estimated 3000 matches similar to: "Exporting graphics window"
2003 Jan 24
4
memory problems
Hi
I'm computing a bca interval using bca.ci from the boot package.
When I try to use this I get an error
> library(boot)
> boot(logglm.data,boot.fishpower,2500,coef.vec=coeflm.vec)->blm8901
> bca.ci(blm8901,index=29)
Error: cannot allocate vector of size 456729 Kb
However my machine has 2GB of memory and without R running I only have
112M of memory used.
Is there something
2003 Jan 16
1
bootstraping lm
Hi
I'm doing a bootstrap of a linear model using:
boot.fishpower <- function(data, i){
data <- data[i,]
fplm <- lm(log(U)~Q+S+P+B+D, data=data)
fp <- coef(fplm)
exp(fp)
}
> boot(logglm.data,boot.fishpower,100)
Error in "[<-"(*tmp*, r, , value = statistic(data, i[r, ], ...)) :
number of items to replace is not a multiple of replacement
length
2003 Jul 03
2
unlist
Hi
I have a list with several data.frames, all with the same number of
colunms but different number of rows, and I'd like to transform this
list into a single dataframe. I need to mimic an rbind of all dataframes
...
Transform doesn't seem to work :-(
Thanks
EJ
--
Ernesto Jardim <ernesto at ipimar.pt>
Bi?logo Marinho/Marine Biologist
IPIMAR - Instituto Nacional de Investiga??o
2003 Apr 03
3
How to organize/develop an R function
Hi
Maybe this is not an issue about R. It's probably a programming issue
and I am not a developer at all. Anyway my main developing activities
are in R and that's where I have difficulties.
When I develop a function or group of functions I lose eternities with
the objects attributes and classes. I do a lot of object manipulation
(lists to arrays, factors to numeric vectors, etc, etc) so
2000 Oct 02
2
R function for "interp"
Hi
How can I do the same has interp in s+ with R ? I've looked to
"approxfun" but didn't figured out how to do it.
Thanks
EJ
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body",
2004 Jul 09
3
Problem with bwplot
Try factor(vec2) in your bwplot() call.
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of Ernesto Jardim
Sent: Friday, July 09, 2004 9:41 AM
To: Mailing List R
Subject: [R] Problem with bwplot
Hi,
I'm ploting some box-and-whisker plots with bwplot but I'm not getting
any box-and-whiskers ... just dots.
2003 Jan 09
2
GAM with Thin plate splines
Hello, I'm a student at the University of Klagenfurt / Austria and I
need some help !
I have to predict 24 daily load-values.
Therefor I got a dataset with following colums:
24 past daily load-values
6 past daily temperature-values
My goal is to find a model (GAM with thin plate splines) in R.
I found the function "gam" in the R-library "mgcv", but it just fits
2001 Apr 03
2
Importing from Splus (PR#891)
Full_Name: Ernesto Jardim
Version: 1.2.2
OS: SuSE Linux 6.4
Submission from: (NULL) (193.137.98.92)
I wanted to import an array, dim=c(28,12,17), from splus into R.On splus I did
dump(c("array"),file="dump.out)
I checked and Splus could source it.
Than, in R I tryied to source it with:
source("dump.out")
and got and error message:
> source("dump.out")
2001 Sep 27
1
cuts and breaks
Hi
I'm using the "image" function to produce a plot and I want to define
the breaks using "cut" and the colors using "heat.colors".
>
image(interp(mat2[,2],mat2[,1],mat2[,3]),breaks=cut(mat2[,3],30),col=heat.colors(29))
Error in image.default(interp(mat2[, 2], mat2[, 1], mat2[, 3]), breaks =
cut(mat2[, :
must have one more break than colour
The
2002 Oct 10
1
NEdit Highligth patterns for R
Hi
I've just submitted to the NEdit development team a R highligth patterns
for NEdit (www.nedit.org).
NEdit is a text editor for LINUX which I use to write small R functions.
In my opinion is a very good tool for small scripts, maybe for huge
projects is not the best.
I'm attaching the R-5.1.pats file so you can try it.
As usual contributions and comments are welcome.
Regards
EJ
2003 Sep 09
2
Matrix resampling (bootstraps)
Dear all,
I am trying to generate bootstrap replicate matrixes (rows=samples,
column=species, sampling with replacement) from a matrix dataset, but I do
not know how to do it in R. I have tried boot() and bootstrap(), but they
require an statistic, which in my case is cluster analysis (generating
bootstrap values for a cluster analysis is a topic that has been mentioned
previously in
2003 Jun 05
1
scales in xyplot doesn't seem to work for x axis
Hi
I'm doing a xyplot and I wand to reduce the number of tick marks in the
x axis. My x axis are month and I want to reduce the 12 tick marks to 4.
I used the scales argument but it doesn't seem to work, althougth it
works on y axis if I use scales=list(tick.number=4).
2003 Jan 17
3
kriging in R
Hi, all,
Have anyone used kringing included in R? How is it?
Does it handle anisotropy data well?
How does it compare with Kriging in Arc/Info? or other geostatistics
software customized to do kriging or other geostatistics functions?
I tried Easykriging, a geostatistics tool developed for Matlab. It has
very nice GUI, but it does not provide library which i can call in my programs.
so it is
2003 Apr 14
6
Charts to M$Word - what's the best format
Hi
I'm exporting some graphs from R to M$Word. I used png, jpeg and bmp and
the quality is poor when comparing with the postscript.
What is the best way to export a chart to be included in a M$Word file ?
Thanks
EJ
2003 Sep 08
0
New highlighting for NEdit 5.3
Hi,
I've just put together a new R syntax highlighting file for Nedit 5.3.
I've borrow the "base" functions of Jedit (thanks to Tobias Elze and Zed
A. Shaw) so now NEdit highlights a little more than before :)
You can download the file here:
http://ernesto.freezope.org/cmf/starthere/r/R-5.3.pats
Just import it into NEdit with
> nedit -import R-5.3.pats
and save your
2007 Oct 11
2
R260 cross-compilation
Hi,
I'm trying to cross compile R260 in a ubuntu 6.06 linux. I downloaded
the Makefile for 251 and simply replaced the R version by 260. However
I'm getting an error about mingw.
ernesto at gandalf:~/ipimar/devel/R/ccompile260$ make R
export
2000 Aug 04
3
How to use complicated FUN in apply ?
Hi everyone
I'm trying to use
sigma2.mat<-apply(ri.mat,2,'-n/2*log(sum(ri.mat^2)/n)')
but it's not working.
Is it wrong to use that kind of FUN in apply ? or am I doing something
wrong ?!
Thank's
ernesto
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2004 Oct 19
1
Help with strange vertical line in plot
Hi,
I'm ploting a portuguese map with "plot" but I'm getting a strange
vertical line.
To avoid posting binary files, I've rolled the data file, an R script
and the resulted ps file in this tgz file
http://ernesto.freezope.org/ploterror.tgz.
Can someone give me an help on this ?
Thanks
EJ
2004 Mar 12
5
grep
Hi,
I want to use the first digit of the elements of a vector.
I've tried grep but didn't work.
Any help is welcome.
Thanks
EJ
> grep("^[0-9]",as.character(runif(100,0,2)))
[1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
17 18
[19] 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
35 36
[37] 37 38 39 40 41 42 43 44 45
2001 Apr 06
2
thin plate splines
Hi
Does someone knows if there's a function/package that can make thin
plate splines ? I've looked in mgcv and splines but I haven't found
anything.
Thanks
EJ
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"