similar to: (no subject)

Displaying 20 results from an estimated 1000 matches similar to: "(no subject)"

2003 Nov 13
3
Program Saving
Hi, I have a very simple question. If a want to save a whole program (say more than 5 command lines), how can I proceed without each time using the command history (that allow me to recall previously saved command, but which is to long if you want to recall more than 5 command lines), or without saving to a text file and use copy/paste when I open a new R session (but in fact this doesn't
2003 Aug 01
1
(no subject)
> Hello, > My question is very simple. I have installed R from the internet and I want to use it to analyse my data set. It seems that R is not able to make the > connection when I use the read.table () function since it probably doesn't know where is the required file. Where am I suppose to save my file ? > Thanks > > Marc-Antoine Vaillant > Actuarial Analyst > Les
2006 Jan 29
2
Questions about Sortable javascript
Hi, I''ve been playing with sortable, the demos on script.aculo.us and reading the javascript. I hope I''m not just missing the documentation somewhere but I can''t find it. I want to do something like Sortable for the admin side of an open source ecommerce project I''m working on [1]. I''m relatively new to DHTML but understand the basic ideas. If someone
2002 Jul 23
3
Aggregate: assembling the "by" part on the fly
Dear R users, I'm having trouble using aggregate() and would greatly appreciate your advice. I am using R 1.5.1 on Windows 2000. I want to call my function in the following way extract.data(x=dat[, "Age", "Year"]) where extract.data() uses aggregate() to count the number of cases for each combination of "Age" and "Year". I've defined
2003 Sep 04
2
laplace transform
Dear users, is anybody of you aware of a R command to perform laplace transform or even its inversion? Thank you very much. Luca
2003 Jul 22
3
R and C++ compared with only C++
My computer is a pentium 4 running at 2.4 GHz. My R is 1.7.1 I have written a program in R that calls C++. The program spends most of the time in C++ ( > 90% ). R basically deals with output and input. How slower can this be compared with the program I would get from rewriting everything in C++? Thank you.
2003 Aug 21
5
graphic widow overwrite
Hi, I am running a loop to plot multiple plots. In s-plus, it shows multiple pages in the graphic window to allow checking on each plot. but in R, the next plot always overwrite the previous one, so i can only have the last plot produced, is there a way to have multiple pages in the graphic window just like S-plus does? Thanks
2003 Jul 30
6
reverse array indexing
Hi, Suppose I have a multidimensional array: tmp <- array(1:8, c(2,2,2)) is there a function out there that, given a one-dimensional array index, will return the separate indices for each array dimension? for instance, tmp[8] is equivalent to tmp[2,2,2]. I'd like to derive the vector (2,2,2) from the index 8. thanks, Brad Buchsbaum
2003 Apr 24
5
Fast R implementation of Gini mean difference
I have written the following function to calculate the weighted mean difference for univariate data (see http://www.xycoon.com/gini_mean_difference.htm for a related formula). Unsurprisingly, the function is slow (compared to sd or mad) for long vectors. I wonder if there's a way to make the function faster, short of creating an external C function. Thanks very much for your advice. gmd
2006 May 07
2
Category and subcategories in database
I have a project I''m trying to decide if I want to use rails for. I''m new to rails, so I''m not sure how easy it would be to implement something like this using ActiveRecord. Here''s the situation: Category > subcategory > subcategory > product Category > subcategory > product Some categories will have many subcategories, others few. I want
2003 Sep 03
1
Call R function from C code
I am participating in a project in the university, and appeared a doubt: if can I call one function from R as "solve" from C code. The intention of the research is to create a DLL. Is it possible and where can I find an example? Sorry for bad english! ___________________________________________________________________________________ Acesse nosso portal www.click21.com.br Porque
2003 Jul 31
2
history for graphics
I've seen that there's an history for graphics. How can I save it manually? Can I save more than 4 plots? I'm using R1.6.2 under win98 [[alternative HTML version deleted]]
2003 Jan 31
1
Help on Scatte Plot Matrix
Hey, All Now I have a data set which is n-dimensional. And want to plot the Scatter Plot Matrix which is n by n. Does R have such function to achieve this? Thanks for your point. Fred
2002 Oct 21
1
Script
I am brand new to R and would like to know if there is a way to be able to create, save and retrieve a program in R like a script object in S-Plus. I am just not sure how to do this. I'm sure there are many ways to do this ranging from simple to complex, but the simplest way would be best for me. Thanks, in advance... __________________________________________________ Y! Web Hosting - Let
2002 Nov 21
1
Pearson's correlation coefficient?
How do I get non-squared correlation coefficient in some more sensible way than sqrt(summary(lm(y~x))$r.squared)? Thanks Matej -- Matej Cepl, matej at ceplovi.cz, Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 The difference between death and taxes is death doesn't get worse every time Congress meets -- Will
2003 Jan 31
1
Question about trellis graphs
Dear List Members I'm using R to create a trellis plot using the library of Pinheiro & Bates (trellis graph for grouped data). Here is my question: How can I change the format of the axis (x or y) in terms of the number decimal points that should appear on the plot? In other words, I have that for a set of plots in the y-axis the values appear as 0.2,0.3, etc and for another set they
2003 Feb 07
1
a question regarding s-plus libraries and R
Hi! I am a relatively new user of R and I use it to prepare my dissertation. I have come to some very usefull and specific libraries written for S-PLUS 4 and would like to use them in R. Is that possible? I just found out that one of these libraries has already been transfered to R, while 3 others have not. For the matter of beeing more exact I''m interested in the dealing with missing
2003 Feb 22
3
question
Iam a novice R-user and I have a few questions: 1) How can R import an Excell data file? 2) I have a file.s file which it seems I can open but I can not load it i.e. when I write the file name in the command line, for e.g. >file.s it gives me an error message thank you for your consideration, Theo Nicoleris
2003 Feb 28
1
axis annotation
Hi, Is there a way to specify a vector of colors for the tick annotation in a call to axis(), to achieve the x-axis here? <<Rplot003.png>> Thanks, Mark Wilkinson Informatics Analyst St. Jude Children's Research Hospital Department of Pharmaceutical Sciences The opinions expressed here are my own and do not necessarily represent those of St. Jude Children's Research
2003 Jul 07
1
'postscript' command within a function
hello all, I am trying to print a ps file as part of a function as in: func <- function (..., filename="temp.ps") { # some stuff [...] # plot eval( cat("postscript(\"",filename,"\")\n", sep="") ) plot(...) abline(...) dev.off() # more stuff [...] } but it does not work. Nor it does with 'paste' instead