Re: [R] (no subject)

2005-02-01 Thread miguel manese
try http://cran.r-project.org/other-docs.html jon On Wed, 2 Feb 2005 16:17:35 +1300, Brett Stansfield <[EMAIL PROTECTED]> wrote: > > can you recommend a good manual for R that starts with a data set and gives > demonstrations on what can be done using R? I downloadedR Langauage > definition and

Re: [R] postscript symbols?

2005-02-01 Thread Marc Schwartz
On Tue, 2005-02-01 at 18:48 -0800, [EMAIL PROTECTED] wrote: > dear R wizards: > > is it possible to use a postscript font symbol as a plot symbol?in > particular, I want to use the four postscript symbols for playing cards > (club, heart, spade, diamond) as points. In LaTeX, these four are

Re: [R] (no subject)

2005-02-01 Thread Marc Schwartz
On Wed, 2005-02-02 at 16:17 +1300, Brett Stansfield wrote: > can you recommend a good manual for R that starts with a data set and gives > demonstrations on what can be done using R? I downloadedR Langauage > definition and An introduction to R but haven't found them overly useful. > I'd really lik

Re: [R] GUI under linux for R

2005-02-01 Thread Marc Schwartz
On Tue, 2005-02-01 at 19:42 -0600, [EMAIL PROTECTED] wrote: > Hi, > I'm wondering whether there is GUI under linux. I checked the website, > it has Emacs(ESS), IDE/Scrip Editors etc. I am looking for one which is > similar to the GUI under windows. I am not sure that it is worthwhile at this p

Re: [R] selecting subsets of data for analysis

2005-02-01 Thread Marc Schwartz
On Wed, 2005-02-02 at 13:54 +1300, Brett Stansfield wrote: > can you tell me how to ask R to analyse a subset of data > > eg. supposing the data set consists of 9 columns and I only want R to > analyse columns 1, 3 and 5 > > how would I command R to conduct eg. boxplots of those variables only?

[R] (no subject)

2005-02-01 Thread Brett Stansfield
can you recommend a good manual for R that starts with a data set and gives demonstrations on what can be done using R? I downloadedR Langauage definition and An introduction to R but haven't found them overly useful. I'd really like to be able to follow some tutorials using a dataset or many data

[R] FW: Document1

2005-02-01 Thread Brett Stansfield
> -Original Message- > From: Brett Stansfield > Sent: Wednesday, 19 January 2005 4:25 p.m. > To: '[EMAIL PROTECTED]' > Subject: Document1 > > <> I was trying to get R to analyse one variable of the file > Chicken Weight. when I ask > > hist(data$weight) > R says "x

[R] FW: Document1

2005-02-01 Thread Brett Stansfield
> -Original Message- > From: Brett Stansfield > Sent: Wednesday, 19 January 2005 4:25 p.m. > To: '[EMAIL PROTECTED]' > Subject: Document1 > > <> I was trying to get R to analyse one variable of the file > Chicken Weight. when I ask > > hist(data$weight) > R says "x

[R] postscript symbols?

2005-02-01 Thread ivo_welch-rstat8303
dear R wizards: is it possible to use a postscript font symbol as a plot symbol?in particular, I want to use the four postscript symbols for playing cards (club, heart, spade, diamond) as points. In LaTeX, these four are \Pisymbol{psy}{"A7} \Pisymbol{psy}{"A8} \Pisymbol{psy}{"A9} \Pisymbol{

RE: [R] aggregation with extra columns

2005-02-01 Thread Mulholland, Tom
I think Gabor gave you the answer, even if you didn't see it x <- rep(c("02/27/92", "02/27/92", "01/14/92", "02/28/92", "02/01/92"),each = 5) z <- data.frame(Date = strptime(x, "%m/%d/%y")) z$Value <- trunc(runif(25) * 5) + 1 z$State <- c("A","B","C","D","E")[z$Value] z <- z[order(z$Date),] z z[ag

[R] R CMD BATCH character limit?

2005-02-01 Thread Hsiu-Khuern Tang
Is there a limit on the number of characters in an invocation like R CMD BATCH --opt1=val1 --opt2=val2 ... --save-to=C:\very\long\string ..\R\script.R ? I am running R 2.0.1 on Windows XP, and when running a long BATCH command (about 400--500 characters) the last option gets mangled, as can be

[R] GUI under linux for R

2005-02-01 Thread msck9
Hi, I'm wondering whether there is GUI under linux. I checked the website, it has Emacs(ESS), IDE/Scrip Editors etc. I am looking for one which is similar to the GUI under windows. Thanks, Ming __ R-help@stat.math.ethz.ch mailing list https://stat

Re: [R] New problem printing °C in plots

2005-02-01 Thread Patrick Connolly
On Tue, 01-Feb-2005 at 11:33PM +, Prof Brian Ripley wrote: |> That this prints as an octal escape was always the intention: it is your |> OS that is telling R that it is not a printable character. What locale |> are you in? For me |> |> 1) In en_GB this works (correct, as that is charset

[R] aggregation with extra columns

2005-02-01 Thread Paul Sorenson
R People, Thanks for your help on my recent questions, Excel is never going to disappear from my office but with graphics from lattice package and some other stuff in R I have been able to add some value. I have a problem I haven't been able to figure out with aggregation, I mentioned it earli

RE: [R] taking data out of a dataframe

2005-02-01 Thread Mulholland, Tom
In general if you are using a package, it helps to identify the package. I assume it is the tree package. Is this what you are after (from the example on the ?tree page) > attr(ir.tr,"ylevels") [1] "setosa" "versicolor" "virginica" Tom > > -Original Message- > From: NICOLAS DEIG [m

[R] selecting subsets of data for analysis

2005-02-01 Thread Brett Stansfield
can you tell me how to ask R to analyse a subset of data eg. supposing the data set consists of 9 columns and I only want R to analyse columns 1, 3 and 5 how would I command R to conduct eg. boxplots of those variables only? thanks brett Brett Stansfield Environmental Scientist - Water Qualit

[R] polynomials REML and ML in nlme

2005-02-01 Thread Alex
Duncan, I think that the problem in your comparison is locatted in the method of estimation of fixed-effects: in REML they are not estimated maximizing a joint likelihood function including fixed-effects and variance- covariance components as ML does. So when it comes down to different fixed-ef

[R] R-Project Plot: Creating browser map tags

2005-02-01 Thread Jon Hurley
Hi, I have started looking into using R for generating graphs displayed in a web browser and it produces really nice graphics. One of the requirements I have is to construct HTML map tags over the graphs so that users can click on elements of the graph (e.g. bars of a histogram) and either see i

Re: [R] Error in load(dataFile, myEnv)

2005-02-01 Thread Zhesi He
Dear Prof Ripley, Thanks for your reply. I couldn't find anything wrong with Load() function. It seems that myEnv is not set, as myEnv <- as.environment(match(fullName, search())) does not return a valid value. Also, when I commented the load(dataFile, myEnv) line, the rest of .First.lib code do

Re: [R] New problem printing °C in plots

2005-02-01 Thread Prof Brian Ripley
That this prints as an octal escape was always the intention: it is your OS that is telling R that it is not a printable character. What locale are you in? For me 1) In en_GB this works (correct, as that is charset ISO-8859-1) 2) In C, I get "25\260C" (correct, as that is not an ASCII char) My

Re: [R] vectorization of a data-aggregation loop

2005-02-01 Thread Marc Schwartz
On Tue, 2005-02-01 at 23:28 +0100, Christoph Lehmann wrote: > Hi > I have a simple question: > > the following data.frame > > id iwv type > 1 1 1a > 2 1 2b > 3 1 11b > 4 1 5a > 5 1 6c > 6 2 4c > 7 2 3c > 8 2 10a > 9 3 6b >

[R] New problem printing °C in plots

2005-02-01 Thread Patrick Connolly
> version _ platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major2 minor0.1 year 2004 month11 day 15 language R > paste("25", "°C", sep = "") [1] "25\302\260C" In ESS, I get "25\201\260C" The °C does end up in the plot alr

RE: [R] Hugh image created from modest data

2005-02-01 Thread Berton Gunter
Simon: ls(all=TRUE) will show you all objects in your workspace. If you have plot history recording turned on,for example,.SavedPlots can get quite large and will be part of your saved image. -- Bert Gunter Genentech Non-Clinical Statistics South San Francisco, CA "The business of the statistic

Re: [R] A "rude" question

2005-02-01 Thread Paul Gilbert
Paul Gilbert wrote: The design of the package system allows package developers to put tests in packages, and these are checked regularly (see ... This link should have been . Paul Gilbert _

[R] vectorization of a data-aggregation loop

2005-02-01 Thread Christoph Lehmann
Hi I have a simple question: the following data.frame id iwv type 1 1 1a 2 1 2b 3 1 11b 4 1 5a 5 1 6c 6 2 4c 7 2 3c 8 2 10a 9 3 6b 10 3 9a 11 3 8b 12 3 7c shall be aggregated into the form: id t.a t.b t.

Re: [R] A "rude" question

2005-02-01 Thread Paul Gilbert
Spencer Graves wrote: Hi, Paul: How can I access "the package tests directory" you mentioned? Only one of the 52 subdirectories of "library" in my current installation of R 2.0.1 has a "test" folder. The tests directory seems to get stripped when you install a package. If you get a sourc

Re: [R] GRASS - R

2005-02-01 Thread Romain Francois
Hello, I never used it but there is a package on CRAN that interfaces R with GRASS, see : http://finzi.psych.upenn.edu/R/library/GRASS/html/00Index.html I had 152 hits on searching GRASS on http://www-r.project.org --> Search --> RsiteSearch. Maybe you'll find answers there. Romain. Le 01.02.20

[R] Hugh image created from modest data

2005-02-01 Thread Simon Gatehouse
Dear R users, I am running R2.1 on windows XP SP2. I have a problem that I fear I am providing insufficient information to resolve. But if anyone can suggest directions to understand the problem I would be most grateful. I import modest datasets which create a list of data frames (primary

Re: [R] A "rude" question

2005-02-01 Thread Paulo Justiniano Ribeiro Jr
One problem with distributing packages with the test sub-directory is that this can overload the daily tests in the CRAN machines My workaround for that is: For the geoR package I run the tests in my machine but remove the tests directory when submitting to CRAN. Also I mantain a package web-page

Re: [R] A "rude" question

2005-02-01 Thread Spencer Graves
Hi, Paul: How can I access "the package tests directory" you mentioned? Only one of the 52 subdirectories of "library" in my current installation of R 2.0.1 has a "test" folder. Thanks, Spencer Graves Paul Gilbert wrote: One point that did not get mentioned in this discus

Re: [R] A "rude" question

2005-02-01 Thread Paul Gilbert
One point that did not get mentioned in this discussion, and I believe deserves much more publicity, is the impact of packages tests. The design of the package system allows package developers to put tests in packages, and these are checked regularly (see

RE: [R] polynomials REML and ML in nlme

2005-02-01 Thread Berton Gunter
Duncan: Bates and Pinheiro do show explicitly and in detail that the restricted log likelihood depends on the parameterization: "An important difference between the likelihood function and the restricted likelihood is that the former is invariant to one-to-one reparametrizations of the fixed effec

Re: [R] RODBC - connect is failing

2005-02-01 Thread Prof Brian Ripley
The message is from the MySQL ODBC driver, as it indicates. You'll have to debug your setup, as this is not an R nor RODBC issue: the latter has done its job and connected to the driver. On Tue, 1 Feb 2005, Donna-n-Doug Finner wrote: I get the following errors when attempting an ODBC connection t

[R] New R/Splus Course***"Interactive and Dynamic Graphics for Data Analysis Using XGobi/GGobi" in San Francisco

2005-02-01 Thread sue
XLSolutions Corporation (www.xlsolutions-corp.com) is proud to announce our new 2-day course: "R/Splus Course***"Interactive and Dynamic Graphics for Data Analysis Using XGobi/GGobi" in San Francisco: www.xlsolutions-corp.com/training.htm San Francisco, CA Febr

[R] RODBC - connect is failing

2005-02-01 Thread Donna-n-Doug Finner
I get the following errors when attempting an ODBC connection to a MySQL db. 1: [RODBC] ERROR: state HY000, Code 0, message [MySQL] [ODBC 3.51 Driver] Could not determine the driver name so could not lookup setup library. 2: ODBCConnection failed in: odbcDriverConnect(st, case=case, believeNRows=b

Re: [R] GRASS - R

2005-02-01 Thread Roger Bivand
On Tue, 1 Feb 2005, Depire Alexandre wrote: > Hello, > I would like to know if someone uses R with GRASS ( SIG software) . Yes, please see http://grass.itc.it/statsgrass/index.html, and consider asking again on the mailing list referenced there, perhaps with more details of what you want to use

[R] taking data out of a dataframe

2005-02-01 Thread NICOLAS DEIG
hello, I have a problem with using the results of a certain function. This function is the "tree" function. If I use it to produce a tree say with the data "iris" from the help page, I can see the "attributes" of my result. Now I need to use a column of the attributes of my tree ir.tr, is there an

[R] polynomials REML and ML in nlme

2005-02-01 Thread dgoliche
Hello everyone, I hope this is a fair enough question, but I don’t have access to a copy of Bates and Pinheiro. It is probably quite obvious but the answer might be of general interest. If I fit a fixed effect with an added quadratic term and then do it as an orthogonal polynomial using maximum l

Re: [R] Rcmdr doesn't seem to work

2005-02-01 Thread Vittorio
Alle 15:33, martedì 1 febbraio 2005, Prof Brian Ripley ha scritto: > On Tue, 1 Feb 2005 [EMAIL PROTECTED] wrote: > > Got it and now it all worksBUT I'm puzzled by the fact that I > > systematically update all the packages in R 2.0.1 using > > 'update.packages()'. Why in this case R was unable t

Re: [R] Matrix langage

2005-02-01 Thread Spencer Graves
Matrix manipulations are a strength of R. If A and B are matrices, (A+B) adds them and (A %*% B) is the usual matrix multiplication; A*B is elementwise multiplication. qr(A) = the Q-R decomposition; svd(A) = singular value decomposition. eigen(A) = eigenvalue-eigenvector decomposition

[R] GRASS - R

2005-02-01 Thread Depire Alexandre
Hello, I would like to know if someone uses R with GRASS ( SIG software) . Alexandre DEPIRE INRETS / GARIG __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://ww

RE: [R] Matrix langage

2005-02-01 Thread Doran, Harold
All of this is possible, and very easy, in R. See the Intro to R book. Doug Bates also has an article in the recent edition of R News showing how to perform matrix operations for least squares. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierre-Olivi

[R] Convergence problems with survreg()

2005-02-01 Thread Stefano Conti
Dear R mailing list, I'm trying to fit a censored regression model to a large (dimension of the design matrix is 2e5 by 7) right truncated data by means of the survreg(Surv()) function, as suggested by Paul Johnson on his "R Tips" web page. Possibly due to the sensitivity to the initial values

[R] Matrix langage

2005-02-01 Thread Pierre-Olivier Chasset
Hello, I would like to use R in a laboratory. They use actually IML of the SAS-Society. With this IMLangage, you can enter a mathematical formula with sum from i to n, transpose matrix, sum of a colonne and all this stuff. After that, the software can translate it in a program. I am not currentl

[R] glmmPQL

2005-02-01 Thread Mariana Rodrigues
Does someone know what is the integration method of the random effect in glmmPQL function?? Please advise. Tnks, Mariana. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www

Re: [R] RE: aggregating dates

2005-02-01 Thread Gabor Grothendieck
Gabor Grothendieck myway.com> writes: : : The issue is just that you need to add POSIXt to the class vector to : be absolutely correct. : :class(x) <- c("POSIXt", "POSIXct") : : is the same as : :structure(x, class = c("POSIXt", "POSIXct")) : : The only reason the table used the latt

Re: [R] How to write a new "top-level" Trellis/lattice function?

2005-02-01 Thread Sundar Dorai-Raj
I agree with Deepayan regarding writing your own (pre)panel functions to override xyplot defaults rather than calling trellis.skeleton. However, if this is truly what you need, Dimitris' answer can be improved by using the `:::' operator which will extract internal functions such as trellis.ske

RE: [R] Split-split plot ANOVA

2005-02-01 Thread Jesus Frias
Hi Mike, *An example of the use of aov() for a split-plot is in MASS library(MASS) example(Oats) The book also gives a detailed explanation *pp 45-52 of the Pinheiro and Bates book gives you an example of the use of lme() on a split-plot. If you have a non balanced desig

Re: [R] Error in load(dataFile, myEnv)

2005-02-01 Thread Prof Brian Ripley
Looks like you have your own version of a load() function around. Try ?conflicts to see what you may have masked. On Tue, 1 Feb 2005, Zhesi He wrote: Dear all, I just found that some of the packages are not able to load any more, after I installed R2.0.1 in my Mac, it even affects my old R1.8 inst

Re: [R] How to write a new "top-level" Trellis/lattice function?

2005-02-01 Thread Deepayan Sarkar
On Tuesday 01 February 2005 07:53, Marc Paterno wrote: > Hello, > > I am trying to write a new "top level" Trellis/lattice function. > By "top-level", I mean a function like 'xyplot', 'histogram', > 'bwplot', etc. > These functions all call 'trellis.skeleton', which I am unable to > call; > an atte

Re: [R] Rcmdr doesn't seem to work

2005-02-01 Thread Prof Brian Ripley
On Tue, 1 Feb 2005 [EMAIL PROTECTED] wrote: Got it and now it all worksBUT I'm puzzled by the fact that I systematically update all the packages in R 2.0.1 using 'update.packages()'. Why in this case R was unable to find the obsolete versions of Rcmdr and rgl and substitued the with new ones? W

[R] sgeostat

2005-02-01 Thread Mahdi Osman
Hi, list, I am using 'sgeostat' package by Albrecht Gebhardt and I am trying to put a correlation coefficient of some kind on the lagplots. Is there a possiblity to do so? Thanks Mahdi -- --- Mahdi Osman (PhD) E-mail: [EMAIL PROTECTED] ---

[R] RV: problems checking a package

2005-02-01 Thread Gonzalez Ruiz, Juan Ramon
Dear R-listers, I have a very strange problem. I made a package (under Windows and Linux). The package passed the R CMD Check without problem. Then, I installed the package and executed a function which calls to a 'dll' mod<-frailtyPenal(Surv(time,status)~sex+age+cluster(id), +

Re: [R] package installation problem

2005-02-01 Thread Uwe Ligges
I guess either R has not been installed properly, or you have two (or more) versions of R lying around... Uwe Ligges MJK wrote: Hi, I'm running R-1.9.1 and I'm unable to succesfully install packages using either 'R CMD INSTALL xxx.tar.gz' or 'install.packages("xxx"). For example, if I try to inst

Re: [R] How to write a new "top-level" Trellis/lattice function?

2005-02-01 Thread Dimitris Rizopoulos
you can see the trellis.skeleton function using the following: library(lattice) getAnywhere(trellis.skeleton) f <- getAnywhere(trellis.skeleton)[[2]][[1]] I hope it helps. Best, Dimitris Dimitris Rizopoulos Ph.D. Student Biostatistical Centre School of Public Health Catholic University of Leuv

Re: [R] assign connections automatically

2005-02-01 Thread Tim Howard
Thank you for the help! Both, env=.GlobalEnv and pos=1 do the trick. I'm embarrassed I didn't glean this from the assign help pages earlier. ?assign suggests that "env" is there for back compatibility so I'm going with pos. Tim Howard > James Holtman >> try: > inConnect <- function()

[R] Split-split plot ANOVA

2005-02-01 Thread Mike Saunders
Does someone out there have an example of R-code for a split-split plot ANOVA using aov or another function? The design is not balanced. I never set up one in R before and it would be nice to see an example before I tackle a very complex design I have to model. Thanks, Mike Mike Saunders Res

Re: [R] Rcmdr doesn't seem to work

2005-02-01 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: :-- Messaggio originale -- :Date: Tue, 01 Feb 2005 12:52:14 +0100 :From: Uwe Ligges <[EMAIL PROTECTED]> :To: [EMAIL PROTECTED] :Cc: r-help :Subject: Re: [R] Rcmdr doesn't seem to work : : :[EMAIL PROTECTED] wrote: : :> Context: Windows XP - R 2.0.1 with the latest updated

[R] Split RPMS for Fedora Core 3

2005-02-01 Thread Martyn Plummer
I have split up the R RPMS for Fedora Core 3 into two subpackages - "R" and "R-devel". Following the usual RPM naming convention, the basic "R" package is now for users, and "R-devel" package is for people wishing to do program development with R. This includes installing R packages from sou

[R] How to write a new "top-level" Trellis/lattice function?

2005-02-01 Thread Marc Paterno
Hello, I am trying to write a new "top level" Trellis/lattice function. By "top-level", I mean a function like 'xyplot', 'histogram', 'bwplot', etc. These functions all call 'trellis.skeleton', which I am unable to call; an attempt to invoke the function that does so yields the error message: ---

Re: [R] Rcmdr doesn't seem to work

2005-02-01 Thread v . demartino2
:-- Messaggio originale -- :Date: Tue, 01 Feb 2005 12:52:14 +0100 :From: Uwe Ligges <[EMAIL PROTECTED]> :To: [EMAIL PROTECTED] :Cc: r-help :Subject: Re: [R] Rcmdr doesn't seem to work : : :[EMAIL PROTECTED] wrote: : :> Context: Windows XP - R 2.0.1 with the latest updated packages (including :> R

Re: [R] RE: aggregating dates

2005-02-01 Thread Gabor Grothendieck
The issue is just that you need to add POSIXt to the class vector to be absolutely correct. class(x) <- c("POSIXt", "POSIXct") is the same as structure(x, class = c("POSIXt", "POSIXct")) The only reason the table used the latter was to put it in functional form rather than lvalue form.

[R] Error in load(dataFile, myEnv)

2005-02-01 Thread Zhesi He
Dear all, I just found that some of the packages are not able to load any more, after I installed R2.0.1 in my Mac, it even affects my old R1.8 installs. It gives me errors when I load packages that contains "myEnv" settings. such as: RMySQL, DBI, Rggobi, etc. But others that does not require

[R] package installation problem

2005-02-01 Thread MJK
Hi, I'm running R-1.9.1 and I'm unable to succesfully install packages using either 'R CMD INSTALL xxx.tar.gz' or 'install.packages("xxx"). For example, if I try to install the msm package I get: R CMD INSTALL msm_0.4.1.tar.gz * Installing *source* package 'msm' ... ERROR: R_HOME ('/root/R-1.9.1

Re: [R] assign connections automatically

2005-02-01 Thread Prof Brian Ripley
You are assigning in the frame of the function, not in the user workspace. See ?assign and try pos=1 (if that is what you intended) but it might well be better to return a list of objects. On Tue, 1 Feb 2005, Tim Howard wrote: Hi all, I am trying to create a function that will open connections

[R] assign connections automatically

2005-02-01 Thread Tim Howard
Hi all, I am trying to create a function that will open connections to all files of one type within the working directory. I've got the function to open the connections, but I am having a bugger of a time trying to get these connections named as objects in the workspace. I am at the point

[R] persp plots axis tick-labels

2005-02-01 Thread Sam Ferguson
Hi R-listers, I am having trouble with persp plotting and I hope some knowledgeable person can help me. I have searched the help files to no avail. I am sure there is a way of achieving this simple task. I thought in par maybe but that seems not to work for 3d plots. Maybe I have missed somet

[R] Process to both write to and read from (pipe/fork)?

2005-02-01 Thread Jan T. Kim
Dear all, I would like to start a process from an R program in such a way that I can both feed input into the process and read the process's output. It seems that in R, I can have a pipe for writing into another process's input or a pipe for reading from another process's output, but not both. Do

Re: [R] Rcmdr doesn't seem to work

2005-02-01 Thread Prof Brian Ripley
The problem is rather that your installation of rgl is out-of-date or corrupt, as the error message says. I do not believe you do have the current rgl, and you need to get it. On Tue, 1 Feb 2005 [EMAIL PROTECTED] wrote: Context: Windows XP - R 2.0.1 with the latest updated packages (including Rcm

Re: [R] How to get a table of MySQL database as a matrix variable in R

2005-02-01 Thread Prof Brian Ripley
On Tue, 1 Feb 2005, Willie Y. CHEN wrote: It seems that the dbReadTable() method provided by RMySQL could not get rid of the headers, neither the index column... So 1. Can I use read.table() method to get a table of MySQL database? From the help document the argument of 'file' of read.table() metho

[R] RData loading weirdness

2005-02-01 Thread Barry Rowlingson
I've just had an interesting thing happen to one of our students. He's using R 1.9.1 on Linux, and so I dont expect bugfixes, I'm just reporting this out of interest in case anyone else has had this happen. Starting R caused a seg fault shortly after "[Previously saved workspace restored]". R

Re: [R] Rcmdr doesn't seem to work

2005-02-01 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: Context: Windows XP - R 2.0.1 with the latest updated packages (including Rcmdr) I'm trying to load Rcmdr to use the 3d plots (e.g. scatter3d) but here it is what happens: library(Rcmdr) Loading required package: zoo Loading required package: strucchange Loading requir

Re: [R] How to get a table of MySQL database as a matrix variable in R

2005-02-01 Thread Sean Davis
On Feb 1, 2005, at 5:57 AM, Willie Y. CHEN wrote: It seems that the dbReadTable() method provided by RMySQL could not get rid of the headers, neither the index column... So You can use dbSendQuery and fetch to get your results without the index column. If you have a table with columns called col1

[R] Rcmdr doesn't seem to work

2005-02-01 Thread v . demartino2
Context: Windows XP - R 2.0.1 with the latest updated packages (including Rcmdr) I'm trying to load Rcmdr to use the 3d plots (e.g. scatter3d) but here it is what happens: > library(Rcmdr) Loading required package: zoo Loading required package: strucchange Loading required package: sandwich L

Re: [R] installing R on Mac OS X

2005-02-01 Thread Sean Davis
Silvia Are you talking of specific packages? Installing R from the Disk Image does not preclude building individual packages from source. As for your original error, I'm not sure what the problem is, but you are probably correct in assuming it may be a setup problem, but I can't tell for sure

[R] How to get a table of MySQL database as a matrix variable in R

2005-02-01 Thread Willie Y. CHEN
It seems that the dbReadTable() method provided by RMySQL could not get rid of the headers, neither the index column... So 1. Can I use read.table() method to get a table of MySQL database? >From the help document the argument of 'file' of read.table() method could be a connection... 2. How can I

Re: [R] RE: aggregating dates

2005-02-01 Thread Prof Brian Ripley
On Tue, 1 Feb 2005, Paul Sorenson wrote: The solution I came up with myself was simply to coerce the integer back to POSIXct: class(ev$date) = "POSIXct" Can't say it is the right way to do it but it seem to work. It will work partially. The correct class is c("POSIXt", "POSIXct"). As I b

RE: [R] RE: aggregating dates

2005-02-01 Thread Mulholland, Tom
I am probably just displaying my ignorance, but I have obviously managed to miss exactly what you are referring to. Firstly I have to thank you for making me look closer at the article. I had done so but I had obviously skipped over the Comparison table, which I would have found useful in the p

[R] GARCH, installing tserise package

2005-02-01 Thread knulp
Hi, there, First of all, I am not familar with the GARCH concept as well as R interface. I have three questions regarding GARCH (1,1). First, I got tseries package from CRAN. Where exactly am I supposed to install it? In my case, I copies it to C:\Program Files\R\rw2001\library. What do I need

Re: [R] Help about time series

2005-02-01 Thread Gabor Grothendieck
Ferrari Nicolas insee.fr> writes: : : Hello, : : When I create a ts object, I would like to get a particular value of this : time serie according to the date and not the rank. : However, it seems necessary to use the rank as if it were a simple vector. Try this: oneval <- function(series, d