Re: [R] Read In and Output Postscript file

2004-01-29 Thread Philipp Pagel
On Wed, Jan 28, 2004 at 05:31:11PM -0600, Marc Schwartz wrote: On Wed, 2004-01-28 at 14:19, Brad Holmes wrote: Would it be possible to read in a pre-existing postscript file, and output it as is through R? I have five plots, and I am placing them in a layout that is 2 X 3. I was

Re: [R]Running R remotely in Windows Environment?

2004-01-29 Thread Prof Brian Ripley
On Wed, 28 Jan 2004, Jim Porzak wrote: We are considering setting up a fast, RAM loaded machine as an R-server to handle the big problems not suitable for individual desktops and, also, to process ad hoc analysis requests via our portal. We are 99% a Windows shop, so first choice is a

Re: [R] Finding Sweave.sty and other problems

2004-01-29 Thread Prof Brian Ripley
~ is an active character in TeX, so it assumes it is not in a filename. You will need to escape it. It would be better to have \usepackage{Sweave} there and the path in your TEXINPUTS. TeX is not really designed to work with file paths. On Thu, 29 Jan 2004, Murray Jorgensen wrote: Hi,

Re: [R] How to generate a report with graphics and tables?

2004-01-29 Thread Peter Wolf
Liaw, Andy wrote: If you don't mind pdf report generated from LaTeX, Sweave would probably work nicely for you. See the two articles on it in R News, which you can find on the R web site. One other possibility is to use the R2HTML package (and maybe the xtable package, too) to write the `report'

Re: [R] Math Expression and Variable Value in Title

2004-01-29 Thread Martin Maechler
Roger == Roger D Peng [EMAIL PROTECTED] on Wed, 28 Jan 2004 19:35:28 -0500 writes: Roger Use substitute() Yes! Roger n - 20 Roger plot(0, 0, main = substitute(paste(n[i], = , k), list(k = n))) but even better is plot(0, 0, main = substitute(n[i] == k, list(k =

Re: [R] Calculating/understanding variance-covariance matrix of logistic regression (lrm $var)

2004-01-29 Thread Martin Maechler
Karl == Karl Knoblick [EMAIL PROTECTED] on Thu, 29 Jan 2004 02:34:27 +0100 (CET) writes: Karl Hallo! Karl I want to understand / recalculate what is done to get Karl the CI of the logistic regression evaluated with lrm. Karl As far as I came back, my problem is the Karl

Re: [R]Running R remotely in Windows Environment?

2004-01-29 Thread Arne Henningsen
Hi, I also suggest to use a Linux Server. You can work on this machine via ssh (e.g. with PuTTY) and transfer the input and output files with scp or a samba server (which is easy to install and very convenient to use for windows users). Arne On Thursday 29 January 2004 08:53, Prof Brian

Re: [R] Math Expression and Variable Value in Title

2004-01-29 Thread Salvatore Barbaro
An alternative but also higly recommendable way is the use of the psfrag-package in your LaTeX-file. It is furthermore very simple in use. Type plot(1:10, main=test) in your LaTeX-file you insert in your figure-environment the command \psfrag{test}{$n_i=20$} before you call the

[R] Re: conditional assignment

2004-01-29 Thread uaca
Hi all again I could not reply before because I was/am very busy ifthenelse() is what I wanted, I have to read more carefully your explanations to better understand it Thanks everybody Ulisses On Mon, Jan 26, 2004 at 08:15:51PM +0100, [EMAIL PROTECTED] wrote: Hi all

[R] Help in error : SAM function in library siggenes

2004-01-29 Thread Siew Leng TENG
Hi, I had the following situation and I greatly appreciate any advice. SAM gave the following error : Error in var(v) : missing observations in cov/cor when applied on a dataset. The error was traced to a variance computation of a vector containing NA in fudge() [a subroutine called by

RE: [R] How to generate a report with graphics and tables?

2004-01-29 Thread Pfaff, Bernhard
Hello R-Users, I have some data sets which change on a daily bases. So far I have imported these sets into R, done all my evaluations resulting in a couple of plots, charts and tables of numbers which I copypasted via clipboard into Powerpoint. ^^ Hello Olaf,

Re: [R] Finding Sweave.sty and other problems

2004-01-29 Thread Murray Jorgensen
Hmmm, I can certainly remove the path from the \usepackage command. (Now that I come to think of it, I have never seen that in LaTeX before.) I wonder why Sweave put it there in the first place? I thought that I was just running it straight out of the box. Don't tell me though: I will read the

Re: [R] Math Expression and Variable Value in Title

2004-01-29 Thread Prof Brian Ripley
Note that this will circumvent all the careful work in R to align the plotmath text correctly. In your case that includes having space for the subscript. It may not matter for main titles, but it certainly does for ylab or axis annotation or People might be producing PDF or Windows

RE: [R] Math Expression and Variable Value in Title

2004-01-29 Thread Henrik Bengtsson
A quick comment. paste() is not needed here; you can get = using '==' as follows substitute(n[i]==k, list=list(k=n)) Cheers Henrik -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roger D. Peng Sent: den 29 januari 2004 01:35 To: Wolfgang

Re: [R] Help in error : SAM function in library siggenes

2004-01-29 Thread Duncan Murdoch
On Thu, 29 Jan 2004 01:03:56 -0800 (PST), you wrote: Hi, I had the following situation and I greatly appreciate any advice. SAM gave the following error : Error in var(v) : missing observations in cov/cor when applied on a dataset. The error was traced to a variance computation of a vector

RE: [R] How to generate a report with graphics and tables?

2004-01-29 Thread Liaw, Andy
From: Pfaff, Bernhard Hello R-Users, I have some data sets which change on a daily bases. So far I have imported these sets into R, done all my evaluations resulting in a couple of plots, charts and tables of numbers which I copypasted via clipboard into Powerpoint.

Re: [R] Help in error : SAM function in library siggenes

2004-01-29 Thread James MacDonald
siggenes is part of Bioconductor, and the author is Holger Schwender. You should ask Holger first ([EMAIL PROTECTED]), and the BioC list second. Best, Jim James W. MacDonald Affymetrix and cDNA Microarray Core University of Michigan Cancer Center 1500 E. Medical Center Drive 7410 CCGC Ann

RE: [R]Running R remotely in Windows Environment?

2004-01-29 Thread Liaw, Andy
I would also give my votes to Linux. That's essentially the main function of our Linux boxes, and some of the boxes are `RAM loaded'. We just use VNC to connect from the Windoze desktop to the Linux boxes. We can mount the Windows shared drives on the Linux boxes for file sharing. One of my

[R] Doubt about pattern

2004-01-29 Thread Marcelo Luiz de Laia
Hi All, I have a very simple problem. I have several files in a same directory. I would like to send for an object only the files that finish in .sens.. I execute the command below, files - dir(pattern=*.sens) but it includes all of the files that have sens, independent of they be in the end

[R] setMethodReplace.. Help!

2004-01-29 Thread wolski
Hi! Trying to reproduce some examples from Programming with Data page 341. Can not reproduce it neither on R1.8.1. nor R1.9.0devel? library(methods) setClass(track,representation(x=numeric,y=numeric)) setMethod([ ,track ,function(x,...,drop=T){ track([EMAIL

[R] Loglienar models

2004-01-29 Thread Harry Khamis
Hello, I'm planning to start using R. Before getting into it, I'd like to ask a couple of questions. Does R carry out loglinear model analysis? That is, will it provide the chi-squared goodness of fit test statistic for a given hierarchical loglinear model? Maybe even do a model

RE: [R]Running R remotely in Windows Environment?

2004-01-29 Thread Pikounis, Bill
Jim, I would really like to reiterate Professor Ripley's and Arne Henningsen comments. The problem goes for any analytic software or system you might want to use, not just R. My impression is that at least for part of it, you want the individual users to use R as they would on their own desktops.

Re: [R] Doubt about pattern

2004-01-29 Thread Michael Mader
Marcelo Luiz de Laia wrote: [...] only the files that finish in .sens.. I execute the command below, files - dir(pattern=*.sens) files - list.files(./, \.sens$) -- Michael T. Mader Institute for Bioinformatics/MIPS, GSF Ingolstaedter Landstrasse 1 D-85764 Neuherberg 0049-89-3187-3576

Re: [R] Doubt about pattern

2004-01-29 Thread Duncan Murdoch
On Thu, 29 Jan 2004 11:33:25 -0300, Marcelo Luiz de Laia [EMAIL PROTECTED] wrote : Hi All, I have a very simple problem. I have several files in a same directory. I would like to send for an object only the files that finish in .sens.. I execute the command below, files - dir(pattern=*.sens)

Re: [R] Doubt about pattern

2004-01-29 Thread Roger Bivand
On Thu, 29 Jan 2004, Marcelo Luiz de Laia wrote: Hi All, I have a very simple problem. I have several files in a same directory. I would like to send for an object only the files that finish in .sens.. I execute the command below, files - dir(pattern=*.sens) see help(regexp) - period

RE: [R] Doubt about pattern

2004-01-29 Thread Henrik Bengtsson
Hi. 1. A period in a pattern (as you wrote) means that you want to match *any* character. You need to escape the period, i.e. \\., or alternatively use the [set] indicator where set is all the characters you allow at that position, i.e. [.]. (I prefer the latter because in is more readable and

Re: [R] Doubt about pattern

2004-01-29 Thread Paul Lemmens
Hoi Marcelo, --On donderdag 29 januari 2004 11:33 -0300 Marcelo Luiz de Laia [EMAIL PROTECTED] wrote: files - dir(pattern=*.sens) but it includes all of the files that have sens, independent of they be in the end or in the middle of the name of the file. That's because your pattern is a regular

Re: [R] Loglienar models

2004-01-29 Thread John Fox
Dear Harry, There are two ways to fit loglinear models of which I'm aware and probably more that I don't know: The loglin() function fits loglinear models by IPF; there's a convenient front end, loglm(), in the MASS package (one of the recommended packages). As well, you can fit loglinear

Re: [R] Calculating/understanding variance-covariance matrix of logistic regression (lrm $var)

2004-01-29 Thread Frank E Harrell Jr
On Thu, 29 Jan 2004 02:34:27 +0100 (CET) Karl Knoblick [EMAIL PROTECTED] wrote: Hallo! I want to understand / recalculate what is done to get the CI of the logistic regression evaluated with lrm. As far as I came back, my problem is the variance-covariance matrix fit$var of the fit

Re: [R] How to generate a report with graphics and tables?

2004-01-29 Thread Don MacQueen
Depending on how much post-processing you do in Powerpoint, you might try importing the chart using a link. Have R save the chart in a file. Then go into Powerpoint, use the Insert Picture from File menu item, and in the dialog box that comes up select Link to File. -Don At 10:01 PM +0100

[R] Denied post to s-news

2004-01-29 Thread s-news-owner
Your message to the s-news list has been denied for the following reason(s): The address from which you posted is not subscribed to the s-news list. Duplicate Message Checksum (Mon Jan 26 14:49:54 2004) Duplicate Partial Message Checksum (Mon Jan 26 14:49:54 2004) ---BeginMessage--- The message

Re: [R] newbie question on contrasts and aov

2004-01-29 Thread Wolfgang Pauli
In the meantime I figured out that the Difference-contrast is not quite what I was looking for. But I still have two questions 1) Why do I get different results for Helmert contrasts in SPSS and R. I guess the contrast matrixes of Helmert are about the same in SPSS and R. I probably make a

[R] RMySQL for R1.8.1 on Windows

2004-01-29 Thread Hoeven, Maarten van der
Hi all, I'm looking for a way to install the RMySQL-package into my Windows-version of R (1.8.1). I did successfully install this package into my Linux-version of R (RedHat9), but now I want to do this in my Windows-version too. How to? Regards, Maarten

Re: [R] Loglienar models

2004-01-29 Thread Prof Brian Ripley
On Thu, 29 Jan 2004, Harry Khamis wrote: I'm planning to start using R. Before getting into it, I'd like to ask a couple of questions. Does R carry out loglinear model analysis? Yes. (It has several functions to do so, including glm, loglin, loglm and multinom). Putting `loglinear'

[R] please help me!

2004-01-29 Thread mpalmier
hello there, I'm a new user to R and I am having difficulty reading a file into the program. Here's the error I keep getting, I bet there's a simple solution, but I cant find any... Error in file(file, r) : unable to open connection In addition: Warning message: cannot open file

[R] Repeated regressions

2004-01-29 Thread Whit Armstrong
Is anyone aware of a package that allows one to perform a rolling regression? For instance, if I have a 1000 x 10 matrix and I want to loop through the rows of the matrix repeating the regression on a constant sample of 100 rows: x - matrix(rnorm(1000*10),ncol=10) rolling.regression -

[R] Variable substitution in grep pattern

2004-01-29 Thread Alberto Fornasier
Hi everibody. I'm working with a dataframe with many character vector in which each observation is made of one or more unique values. Example: Licenza[56:58] [1] BSD License, GNU Library or Lesser General Public License (LGPL) [2] Qt Public License (QPL) [3] GNU General Public License (GPL) 66

Re: [R] setMethodReplace.. Help!

2004-01-29 Thread John Chambers
The error message says it: in R, the arguments for the generic function [ include i and j; the method definition must include those as well. Do getGeneric([) or ?[ to see the arguments. As has been said on the R mailing lists in the past, R is generally compatible with the published books,

RE: [R] please help me!

2004-01-29 Thread Ko-Kang Kevin Wang
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, January 30, 2004 5:19 AM To: [EMAIL PROTECTED] Subject: [R] please help me! hello there, I'm a new user to R and I am having difficulty reading a file

Re: [R] build fails to build help for nlme

2004-01-29 Thread Prof Brian Ripley
I have once seen this when a disc became full. On Thu, 29 Jan 2004, Seth Falcon wrote: Hi all, I'm trying to build R-1.8.1 from source on Linux and getting the following error when the makefile gets to the step of building the help for 'nlme': snip ranef.lme

Re: file names under Windows [was: [R] please help me!]

2004-01-29 Thread Douglas Bates
If I may make a suggestion, it helps if you use informative subject lines in your email to a high-traffic list like this. [EMAIL PROTECTED] writes: hello there, I'm a new user to R and I am having difficulty reading a file into the program. Here's the error I keep getting, I bet there's

[R] Course***R/Splus Fundamentals and Programming Techniques, February-March 2004 @ 5 locations near you! (Raleigh, New York, Washington DC, Boston, San Francisco)

2004-01-29 Thread sue
XLSolutions Corporation ([1]www.xlsolutions-corp.com) is proud to announce February-March 2004 2-day R/S-plus Fundamentals and Programming Techniques. Boston, MA - February, 19-20 New York, NY --- February, 19,20 San Francisco,

[R] Delivery error report id=::ffff:147.210.181.140+YGpQQ05nP

2004-01-29 Thread I.NET SMTP
Italiano: Mail completata con errori permanenti per alcuni destinatari. English : Job completed with permanent errors for some recipients. Summary delivery report: Mail ID : :::147.210.181.140+YGpQQ05nP From: [EMAIL PROTECTED] Number of recipients : Total : 1

Re: [R] build fails to build help for nlme

2004-01-29 Thread Seth Falcon
On Thu, Jan 29, 2004 at 10:43:22PM +0100, Peter Dalgaard wrote: Prof Brian Ripley [EMAIL PROTECTED] writes: I have once seen this when a disc became full. Flaky RAM chips and overheating might do it too. Also, running the system near memory full condition (a runaway Mozilla or Java

Re: [R] RMySQL for R1.8.1 on Windows

2004-01-29 Thread Prof Brian Ripley
Where is the problem? It installs from the sources under Windows too, and even comes with notes for Windows. Please consult the rw-FAQ for how to install packages. We have provided binary builds in the past (and David James may still do so), but discovered that there was little tolerance for

Re: [R] please help me!

2004-01-29 Thread Seth Falcon
If your working directory contains a file you want to read then the following should work: dat - read.table(filename.txt) If you want to use absolute paths, you have to be careful with the '\' because that is an escape character... so try: dat -

Re: [R] please help me!

2004-01-29 Thread Prof Brian Ripley
See the rw-FAQ Q2.14 R can't find my file, but I know it is there! I'd be interested to know why you didn't find that -- the posting guide does ask you to read the rw-FAQ, so I presume there is connection that is not obvious to you. On Thu, 29 Jan 2004 [EMAIL PROTECTED] wrote: hello there,

[R] Object validation and formal classes

2004-01-29 Thread Torsten Steuernagel
I'm using R 1.8.1 (Win32, Linux) and have some difficulties using validation functions for S4 classes. The problem is if I specify a validation function with setValidity(myclass, validate.myclass) object validation is only performed when I create an instance using new(myclass), or when I

Re: [R] build fails to build help for nlme

2004-01-29 Thread Seth Falcon
Thanks for the response. Disk space was not the issue (over 90G avail). However, today I tried a make clean make and everything went fine. Wish I had an explanation, but I'll settle for the clean build ;-) On Thu, Jan 29, 2004 at 08:18:41PM +, Prof Brian Ripley wrote: I have once seen

Re: [R] RMySQL for R1.8.1 on Windows

2004-01-29 Thread Christian Schulz
Hi, you have to install RMySQL-0.5.3 from source with Rcmd INSTALL RMySQL*.tgz but before this works you have to reimp the lib/opt/libmysql.lib You find reimp in Mingw Installation. hope this helps, regards,christian Am Donnerstag, 29. Januar 2004 17:00 schrieb Hoeven, Maarten van der: Hi

Re: file names under Windows [was: [R] please help me!]

2004-01-29 Thread Duncan Murdoch
On 29 Jan 2004 14:20:26 -0600, you wrote: I always find it tedious to remember how to write file names in Windows (there are rules about '\' and '/' characters) so I use the file.choose() function, which brings up a chooser panel. Although you haven't said what you want to do with the file,

[R] a question regarding leaps

2004-01-29 Thread Rajarshi Guha
Hi, I'm using regsubsets from the leaps package to select subsets of variables. I'm calling the function as lp - regsubsets(x,y,nbest=5,nvmax=9) Then I call plot to see which variables turned up in the models. I use the R^2 scale and see my best model had a R^2 of 0.62. However when I make a

[R] build fails to build help for nlme

2004-01-29 Thread Seth Falcon
Hi all, I'm trying to build from source on Linux and getting the following error when it tries to build the help for 'nlme': snip ranef.lme texthtmllatex example reStruct texthtmllatex example

Re: [R] Running R remotely in Windows Environment? - Xemacs and ssh

2004-01-29 Thread Dirk Eddelbuettel
On Thu, Jan 29, 2004 at 04:17:48PM -0800, Vadim Ogranovich wrote: Hi, While we are on the topic of Running R remotely in Windows Environment maybe someone could help with the following specific problem. I run R on a Linux box from my WindowsXP laptop. I do so via Exceed, which for some

[R] Memory clear problem

2004-01-29 Thread Suzanne E. Blatt
Hello. I think this is a simple problem. I have R running a program which generates variables that it 'remembers'. The trouble is that I've modified the file that it's generating these variables from but doesn't seem to realize that. When I type 'trees' - I get the same data set produced.

[R] memory problem for R

2004-01-29 Thread Yun-Fang Juan
Hi, I try to use lm to fit a linear model with 600k rows and 70 attributes. But I can't even load the data into the R environment. The error message says the vector memory is used up. Is there anyone having experience with large datasets in R? (I bet) Please advise. thanks, Yun-Fang

Re: [R] a question regarding leaps

2004-01-29 Thread John Fox
Dear Rajarshi, At 06:43 PM 1/29/2004 -0500, Rajarshi Guha wrote: Hi, I'm using regsubsets from the leaps package to select subsets of variables. I'm calling the function as lp - regsubsets(x,y,nbest=5,nvmax=9) Then I call plot to see which variables turned up in the models. I use the R^2

Re: [R] Object validation and formal classes

2004-01-29 Thread Robert Gentleman
On Thu, Jan 29, 2004 at 09:30:19PM +0100, Torsten Steuernagel wrote: I'm using R 1.8.1 (Win32, Linux) and have some difficulties using validation functions for S4 classes. The problem is if I specify a validation function with setValidity(myclass, validate.myclass) object validation is only

Re: [R] Variable substitution in grep pattern

2004-01-29 Thread Thomas Lumley
On Thu, 29 Jan 2004, Alberto Fornasier wrote: I've tried to use a for loop as follows: for(i in Licenza.elenco) { + Licenza.elenco.prova[Licenza.elenco==i] - length(grep(.*i.*,as.character(Licenza)))} In which Licenza.elenco is a character vector containing all unique values I need to

RE: [R] memory problem for R

2004-01-29 Thread Liaw, Andy
Have you read the posting guide for R-help? You need to tell us more: What hardware/OS/version of R are you using? A rough calculation on storage needed: 6e5 * 70 * 8 / 1024^2 [1] 320.4346 So you need 320+ MB of RAM just to store the data as a matrix of doubles in R. You need enough RAM to