Re: [R] A. Mani : Avoiding loops

2005-08-19 Thread Sean O'Riordain
Hi, I'm not sure what you actually want from your email (following the posting guide is a good way of helping you explain things to the rest of us in a way we understand - it might even answer your question! I'm only a beginner at R so no doubt one of our expert colleagues will help me... fred

Re: [R] Console

2005-08-19 Thread Sean O'Riordain
Hi Daniela, Which platform are you working on? If you're working within a console on windows-98, then the answer is entirely different to working under linux or RGui on windows. This is why the Posting Guide says to give platform details :-) cheers! Sean On 18/08/05, Daniela Salvini [EMAIL

Re: [R] 0/0, R segfaults

2005-08-19 Thread Prof Brian Ripley
To expand on Dirk's answer, R relies on fairly close compliance to IEC60559 (aka IEEE754) arithmetic in which 0/0 = NaN. As R is C/Fortran program, this is a function of your C/Fortran compilers (it is most likely an FPU setting controlled by the compiler than libc). Problems in this area

Re: [R] axis label justified

2005-08-19 Thread Uwe Ligges
Mulholland, Tom wrote: I note that the axis help seems to refer to padj. After playing around it is obvious that I don't know what is meant by this argument, so maybe I'm doing something wrong. My practical soultion is padj means perpendicular adjustment, that means bottom/top adjustment

Re: [R] R equivalent to `estimate' in SAS proc mixed

2005-08-19 Thread Dieter Menne
Randy Johnson rjohnson at ncifcrf.gov writes: model - lmer(response ~ time * trt * bio + (time|id), data = dat) .. and I would like to obtain an estimate (with standard error) of the change in response over time for individuals in the treatment group with the biological factor. Greg

Re: [R] axis label justified

2005-08-19 Thread Prof Brian Ripley
On Fri, 19 Aug 2005, Mulholland, Tom wrote: I note that the axis help seems to refer to padj. After playing around it is obvious that I don't know what is meant by this argument, so maybe I'm doing something wrong. My practical soultion is It moves in the other direction: for the standard

[R] Using lm coefficients in polyroot()

2005-08-19 Thread Lukasz Komsta
Dear useRs, I need to compute zero of polynomial function fitted by lm. For example if I fit cubic equation by fit=lm(y~x+I(x^2)+i(x^3)) I can do it simply by polyroot(fit$coefficients). But, if I fit polynomial of higher order and optimize it by stepAIC, I get of course some coefficients

Re: [R] A. Mani : Avoiding loops

2005-08-19 Thread Petr Pikal
Hi Or maybe table mat-matrix(sample(LETTERS[1:4], 200, replace=T),40,5) df-data.frame(mat) table(df$X4) A B C D 8 12 11 9 is what is wanted HTH Petr On 19 Aug 2005 at 7:24, Sean O'Riordain wrote: Hi, I'm not sure what you actually want from your email (following the posting

[R] Handling of tables in R

2005-08-19 Thread Fredrik Thuring
Hi! I have a few questions concerning reading of tables from R to other programs. My main question is if it’s even possible to read a table created in R (with the functions data.frame and save) to Excel (or maybe SAS) and if so how does one do this? If I just mark the

Re: [R] Handling of tables in R

2005-08-19 Thread Petr Pikal
__ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] Handling of tables in R

2005-08-19 Thread Anne
Save your table in a text file ( see ?write.table ) with the separator set to \t ; you can then import it into excel for the nb of digits use options(digits=3) see ?options Anne 2005/8/19, Fredrik Thuring [EMAIL PROTECTED]: Hi! I have a few questions concerning reading

Re: [R] Handling of tables in R

2005-08-19 Thread Romain Francois
Le 19.08.2005 11:22, Anne a écrit : Save your table in a text file ( see ?write.table ) with the separator set to \t ; you can then import it into excel for the nb of digits use options(digits=3) see ?options Hello, And if you run R on windows (just a guess because you didn't

Re: [R] Using lm coefficients in polyroot()

2005-08-19 Thread Dieter Menne
Lukasz Komsta luke at novum.am.lublin.pl writes: I need to compute zero of polynomial function fitted by lm. For example if I fit cubic equation by fit=lm(y~x+I(x^2)+i(x^3)) I can do it simply by polyroot(fit$coefficients). But, if I fit polynomial of higher order and optimize it by

Re: [R] Handling of tables in R

2005-08-19 Thread Prof Brian Ripley
On Fri, 19 Aug 2005, Romain Francois wrote: Le 19.08.2005 11:22, Anne a écrit : Save your table in a text file ( see ?write.table ) with the separator set to \t ; you can then import it into excel for the nb of digits use options(digits=3) Only for printing in R: see below for other

Re: [R] How to assess significance of random effect in lme4

2005-08-19 Thread Spencer Graves
I don't have Pinheiro and Bates handy, but as I recall, it's somthing like chapter 3. See simulate.lme in package nlme; with luck, it will also be in the index to Pinheiro and Bates. If not, it's still not hard to find. Their chapter on this includes some marvelous figures

Re: [R] power of a matrix

2005-08-19 Thread Peter Dalgaard
Gabor Grothendieck [EMAIL PROTECTED] writes: Its expm. Doh. I had even looked up its help page... On 8/17/05, Spencer Graves [EMAIL PROTECTED] wrote: Hi, Peter: I couldn't find mexp in the Matrix package, but I did find it in fMultivar and in Lindsey's rmutil. These are

[R] plot and legend

2005-08-19 Thread svenknueppel
Hello, I would like make a plot with a legend. How can I take the legend outside of the plot frame? Greetings, Sven Knüppel (Berlin, Germany) __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

[R] Compiling R to run natively on Windows x64

2005-08-19 Thread Alastair Cooper
Hi I am looking at getting a PC preinstalled with Windows XP x64. What I want to know is, has anyone successfully compiled a version of R for 64-bit Windows (Amd64 - not Itanium), and if so did they find any performance boost? Thanks __

[R] Summary: Unexpected result of read.dbf

2005-08-19 Thread Susumu Tanimura
Hi there, This is summary and patch for a bug in read.dbf, demonstrating in Message-Id: [EMAIL PROTECTED]. After consulting Rjpwiki, a cyber-community of R user in Japan, the cause was found, and the patch of solution was proposed. Overflowing occurs when we use read.dbf for reading a dbf

[R] FFT, frequs, magnitudes, phases

2005-08-19 Thread Wolfgang Waser
Hi, I'm in dire need of a fast fourier transformation for me stupid biologist, i.e. I have a heartbeat signal and would like to decompose it into pure sin waves, getting three vectors, one containing the frequencies of the sin waves, one the magnitudes and one the phases (that's what I get

Re: [R] plot and legend

2005-08-19 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: Hello, I would like make a plot with a legend. How can I take the legend outside of the plot frame? Use par(xpd = .) See ?par for details. Uwe Ligges Greetings, Sven Knüppel (Berlin, Germany)

Re: [R] plot and legend

2005-08-19 Thread Gavin Simpson
On Thu, 2005-08-18 at 18:19 +0200, [EMAIL PROTECTED] wrote: Hello, I would like make a plot with a legend. How can I take the legend outside of the plot frame? Does this do what you want? ## change the plotting parameters and store defaults ## mar sets 2 more lines in the margin than

Re: [R] Handling of tables in R

2005-08-19 Thread Prof Brian Ripley
On Fri, 19 Aug 2005, Prof Brian Ripley wrote: On Fri, 19 Aug 2005, Romain Francois wrote: Le 19.08.2005 11:22, Anne a écrit : Save your table in a text file ( see ?write.table ) with the separator set to \t ; you can then import it into excel for the nb of digits use options(digits=3)

Re: [R] Handling dates

2005-08-19 Thread Peter Dalgaard
Göran Broström [EMAIL PROTECTED] writes: I have a problem with some functions handling dates, in packages 'date' and 'survival' (they seem to be identical). For instance, from the documentation, mdy.date {survival} R Documentation Convert to Julian Dates

Re: [R] FFT, frequs, magnitudes, phases

2005-08-19 Thread Peter Dalgaard
Wolfgang Waser [EMAIL PROTECTED] writes: Hi, I'm in dire need of a fast fourier transformation for me stupid biologist, i.e. I have a heartbeat signal and would like to decompose it into pure sin waves, getting three vectors, one containing the frequencies of the sin waves, one the

[R] How to create design matrix for LLMNL?

2005-08-19 Thread Tetyana Stepanchuk
Hello, I have a small problem with developing design matrix X, which I use in estimation the log-likelihood of a multinomial logit model. I have the data: number of observation - 289 number of choice alternative- 3 number of choice specific variables in matrix X -4 matrix X =289x4

Re: [R] Problem with get.hist.quote() in tseries

2005-08-19 Thread Gabor Grothendieck
There is no head.ts and x[1:10,] has the side effect of converting it from class ts to class matrix. Use window window(x, end = start(x)[1]+10) instead or use head(as.zoo(x)) since there is a head.zoo in the 'zoo' package. On 8/19/05, Ajay Narottam Shah [EMAIL PROTECTED] wrote: When

Re: [R] Handling dates

2005-08-19 Thread Göran Broström
On Fri, Aug 19, 2005 at 01:35:45PM +0200, Peter Dalgaard wrote: Göran Broström [EMAIL PROTECTED] writes: I have a problem with some functions handling dates, in packages 'date' and 'survival' (they seem to be identical). For instance, from the documentation,

[R] tackle with error

2005-08-19 Thread Mostafa Ghaderi
Dear sir; may you drop me some idea how can i get rid of following error message: Error in switch(nmeth, { : NA/NaN/Inf in foreign function call (arg 1) i dont know what does nmeth and ther rest of error message mean? i have a file which contains 460 rows and 174 columns including missing value

Re: [R] tackle with error

2005-08-19 Thread Dieter Menne
Mostafa Ghaderi mostafa.ghaderi at inw.agrl.ethz.ch writes: may you drop me some idea how can i get rid of following error message: Error in switch(nmeth, { : NA/NaN/Inf in foreign function call (arg 1) i dont know what does nmeth and ther rest of error message mean? i have a file which

Re: [R] kmenas does not accept NAs (was tackle with error)

2005-08-19 Thread Prof Brian Ripley
On Fri, 19 Aug 2005, Mostafa Ghaderi wrote: may you drop me some idea how can i get rid of following error message: Error in switch(nmeth, { : NA/NaN/Inf in foreign function call (arg 1) i dont know what does nmeth and ther rest of error message mean? i have a file which contains 460 rows and

Re: [R] How to put factor variables in an nls formula ?

2005-08-19 Thread Douglas Bates
On 8/18/05, François Morneau [EMAIL PROTECTED] wrote: Hello, I want to fit a Gompertz model for tree diameter growth that depends on a 4 levels edaphic factor ('Drain') and I don't manage to introduce the factor variable in the formula. Dinc is the annual diameter increment and D is the

Re: [R] Installing R in Fedora Core 4

2005-08-19 Thread Gavin Simpson
On Fri, 2005-08-19 at 09:59 -0400, White, Charles E WRAIR-Wash DC wrote: R is included in Fedora Extras. You can skip downloading Extras and updating the packages on the CD by using: yum index | grep R and installing the half dozen or so individual packages that will be listed. The

[R] using paste and \ to create a valid filename

2005-08-19 Thread roger bos
one \ where I need it. See example code below. I am using R 2.1.0, but plan to upgrade soon. Thanks in advance to anyone who can help. Roger rankPath - R:\New Ranks\SMC\SMC rankDate - 20050819 rankFile - paste(rankPath,rankDate,.xls, sep

Re: [R] using paste and \ to create a valid filename

2005-08-19 Thread Uwe Ligges
or none, I can't get just one \ where I need it. See example code below. I am using R 2.1.0, but plan to upgrade soon. Thanks in advance to anyone who can help. Roger rankPath - R:\New Ranks\SMC\SMC rankDate - 20050819 rankFile

Re: [R] using paste and \ to create a valid filename

2005-08-19 Thread Berton Gunter
or none, I can't get just one \ where I need it. See example code below. I am using R 2.1.0, but plan to upgrade soon. Thanks in advance to anyone who can help. Roger rankPath - R:\New Ranks\SMC\SMC rankDate - 20050819

Re: [R] using paste and

2005-08-19 Thread Dirk Eddelbuettel
first example, with an outer paste() for the suffix: paste(file.path(R:, New Ranks, SMC, SMC, 20050819), .xls, sep=) [1] R:/New Ranks/SMC/SMC/20050819.xls Hth, Dirk __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] using paste and \ to create a valid filename

2005-08-19 Thread roger bos
, but feel free to try it with any excel file you may have. Here is the R output. rankFile - paste(R:\\New Ranks\\SMC\\SMC\\,rankDate,.xls, sep=) rankFile [1] R:\\New Ranks\\SMC\\SMC\\20050819.xls xls - odbcConnectExcel(rankFile) Warning messages: 1: [RODBC] ERROR: Could not SQLDriverConnect 2: ODBC

Re: [R] using paste and \ to create a valid filename

2005-08-19 Thread Jeff Gentry
Sometimes even the easy stuff is difficult (for me)... I want to get input from different places to paste together an excel filename (so you know I'm using windows) that I can open with RODBC. I know about Using file.path() might be an easier solution for this (and it will allow your code to

Re: [R] using paste and \ to create a valid filename

2005-08-19 Thread Uwe Ligges
file you may have. Here is the R output. rankFile - paste(R:\\New Ranks\\SMC\\SMC\\,rankDate,.xls, sep=) rankFile [1] R:\\New Ranks\\SMC\\SMC\\20050819.xls xls - odbcConnectExcel(rankFile) Warning messages: 1: [RODBC] ERROR: Could not SQLDriverConnect 2: ODBC connection failed

Re: [R] using paste and \ to create a valid filename

2005-08-19 Thread roger bos
) xls You won't have my filename, but feel free to try it with any excel file you may have. Here is the R output. rankFile - paste(R:\\New Ranks\\SMC\\SMC\\,rankDate,.xls, sep=) rankFile [1] R:\\New Ranks\\SMC\\SMC\\20050819.xls xls - odbcConnectExcel(rankFile

[R] Unload a library

2005-08-19 Thread Talita Perciano Costa Leite
Hi people, I'm developing an application (in Linux) using tcltk and calling ggobi from that application (using the Rggobi package). After I load ggobi and want to use the windows made by tcltk I get some errors and sometimes R cracks. I believe the problem is because the packages Rggobi, RGtk and

Re: [R] Installing R in Fedora Core 4

2005-08-19 Thread Gavin Simpson
On Fri, 2005-08-19 at 11:07 -0400, White, Charles E WRAIR-Wash DC wrote: -Original Message- On Fri, 8/19, Gavin Simpson wrote: Peter Dalgaard has noted, on the R-Devel list (sorry I can't provide the link to the mail - the link from the R site to the mail archives wasn't working when

Re: [R] Handling of tables in R

2005-08-19 Thread Thomas Lumley
On Fri, 19 Aug 2005, Fredrik Thuring wrote: I have a few questions concerning reading of tables from R to other programs. My main question is if it???s even possible to read a table created in R (with the functions data.frame and save) to Excel (or maybe SAS) and if so how does one do

Re: [R] Summary: Unexpected result of read.dbf

2005-08-19 Thread Prof Brian Ripley
It really isn't clear that this is correct. The reason is correct: read.dbf treats numeric files with no decimals as integers, and that _is_ as stated on the help page. So it is definitely not a `bug', and reading the help would have shown the reason for the original question. [I in general

Re: [R] Handling dates

2005-08-19 Thread Thomas Lumley
On Fri, 19 Aug 2005, [iso-8859-1] G?ran Brostr?m wrote: Similar strange results appear in other date-related functions. I plan to write functions that converts, eg, 1977-01-31 to the real number 1977.084 and back. What function in R does what 'mdy.date' claims to do? Well, mdy.date does

Re: [R] Unload a library

2005-08-19 Thread Uwe Ligges
Talita Perciano Costa Leite wrote: Hi people, I'm developing an application (in Linux) using tcltk and calling ggobi from that application (using the Rggobi package). After I load ggobi and want to use the windows made by tcltk I get some errors and sometimes R cracks. I believe the

Re: [R] How to assess significance of random effect in lme4

2005-08-19 Thread Douglas Bates
On 8/17/05, Shige Song [EMAIL PROTECTED] wrote: Dear All, With kind help from several friends on the list, I am getting close. Now here are something interesting I just realized: for random effects, lmer reports standard deviation instead of standard error! Is there a hidden option that

[R] Solaris10-amd64-studio10 compilers

2005-08-19 Thread Vin Everett
Hi, I am trying to compile R-2.1.1 on Solaris10, with the Studio10 compilers. When I try to compile 64bit with CFLAGS=-xarch=amd64 export CFLAGS I get a configure failure on checking for rl_callback_read_char in -lreadline... no checking for history_truncate_file... no configure: error:

Re: [R] Unload a library

2005-08-19 Thread Prof Brian Ripley
On Fri, 19 Aug 2005, Uwe Ligges wrote: Talita Perciano Costa Leite wrote: Hi people, I'm developing an application (in Linux) using tcltk and calling ggobi from that application (using the Rggobi package). After I load ggobi and want to use the windows made by tcltk I get some errors and

Re: [R] Compiling R to run natively on Windows x64

2005-08-19 Thread Prof Brian Ripley
On Thu, 18 Aug 2005, Alastair Cooper wrote: I am looking at getting a PC preinstalled with Windows XP x64. What I want to know is, has anyone successfully compiled a version of R for 64-bit Windows (Amd64 - not Itanium), and if so did they find any performance boost? Hmm, where do you get a

[R] Determining physical display dimensions

2005-08-19 Thread Berton Gunter
Folks: (Basically a non-R question). Is there any (simple) OS independent way for (the latest version of) R to determine the physical dimensions in pixels of the current display device? Failing that, (how) can this be done for Windows (XP or 2000, say) ? Thanks. -- Bert Gunter Genentech

Re: [R] Determining physical display dimensions

2005-08-19 Thread Liaw, Andy
The screen devices are not platform independent, so I guess not. The height and width arguments for windows() is in physical inches, and the ypinch and xpinch specify pixels per inch, according to ?windows. Andy From: Berton Gunter Folks: (Basically a non-R question). Is there any

Re: [R] How to put factor variables in an nls formula ?

2005-08-19 Thread François Morneau
Le 11:12 19/08/2005,Douglas Bates écrit: On 8/18/05, François Morneau [EMAIL PROTECTED] wrote: Hello, I want to fit a Gompertz model for tree diameter growth that depends on a 4 levels edaphic factor ('Drain') and I don't manage to introduce the factor variable in the formula. Dinc is

Re: [R] using paste and \ to create a valid filename

2005-08-19 Thread Prof Brian Ripley
=) rankFile [1] R:\\New Ranks\\SMC\\SMC\\20050819.xls xls - odbcConnectExcel(rankFile) Warning messages: 1: [RODBC] ERROR: Could not SQLDriverConnect 2: ODBC connection failed in: odbcDriverConnect(con) xls [1] -1 rankFile - R:\New Ranks\SMC\SMC\20050818.xls rankFile [1] R:New RanksSMCSMC¬50818.xls

Re: [R] Determining physical display dimensions

2005-08-19 Thread Earl F. Glynn
Berton Gunter [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Failing that, (how) can this be done for Windows (XP or 2000, say) ? Take a look at the Windows GetDeviceCaps API call http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/devcons_88s3.asp Parameters that

[R] multiple plots in png output

2005-08-19 Thread Karen L. Updegraff
I am using R version 1.9.1 under Linux. In the past I have had no problem saving a multi-plot page to a postscript or png device. However, the last time I did this may have been under a previous version of R. Presently nothing I do seems to succeed in saving multi-plots, defined (for example)

Re: [R] 0/0, R segfaults

2005-08-19 Thread Xing Qiu
Thank you very much, I did try your simple C program and it works without any problem. I even tried some more sophisticated examples, and they all print out nan instead of a segfault. My computer has a Pentium 4 CPU, and I compiled R with the following flags (these are just my default compiler

[R] new data mining course

2005-08-19 Thread Trevor Hastie
Short course: Statistical Learning and Data Mining II: tools for tall and wide data Trevor Hastie and Robert Tibshirani, Stanford University The Conference Center at Harvard Medical School Boston, MA, Oct 31-Nov 1, 2005 This is a *new* two-day course on statistical models for

Re: [R] 0/0, R segfaults

2005-08-19 Thread Xing Qiu
I just found out that I can do: x - 0/0 in my R without any problem, it is only when I was trying to print the value of x by simply type x and return, R crashed with a sigh of segfault This is so wierd. I will try to report it to the Gentoo forum and see if any other gentoo user has the

Re: [R] 0/0, R segfaults

2005-08-19 Thread Peter Dalgaard
Xing Qiu [EMAIL PROTECTED] writes: Thank you very much, I did try your simple C program and it works without any problem. I even tried some more sophisticated examples, and they all print out nan instead of a segfault. My computer has a Pentium 4 CPU, and I compiled R with the following

Re: [R] multiple plots in png output

2005-08-19 Thread Francisco J. Zagmutt
I don't run R on Linux but my first suggestion would be to download the latest version of R and if you still observe the problem post a new thread with specific code examples. Cheers Francisco From: Karen L. Updegraff [EMAIL PROTECTED] Reply-To: Karen L. Updegraff [EMAIL PROTECTED] To:

Re: [R] Solaris10-amd64-studio10 compilers

2005-08-19 Thread Prof Brian Ripley
On Fri, 19 Aug 2005, Vin Everett wrote: I am trying to compile R-2.1.1 on Solaris10, with the Studio10 compilers. When I try to compile 64bit with CFLAGS=-xarch=amd64 export CFLAGS I get a configure failure on checking for rl_callback_read_char in -lreadline... no checking for

[R] R/Splus course in Seattle *** August 29-30 (New Dates)

2005-08-19 Thread Sue Turner
__ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] Advice about system for installing updating all R package in a Linux Lab?

2005-08-19 Thread Paul Johnson
Good day: I'm administering 6 linux systems (FC4) in a student lab and worry that users may want packages that are not installed. I get tired of adding them one by one. Then I happened upon this page http://support.stat.ucla.edu/view.php?supportid=30 about installing all R packages from

[R] Re : A. Mani : Avoiding Loops

2005-08-19 Thread A Mani
On Friday 19 August 2005 11:54, Sean O'Riordain wrote: Hi, I'm not sure what you actually want from your email (following the posting guide is a good way of helping you explain things to the rest of us in a way we understand - it might even answer your question! I'm only a beginner at R so

[R] Weltpremiere: Bequem und sicher fahren !

2005-08-19 Thread Elbow-Rest . S . L .
__ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] Use of contains in S4 classes

2005-08-19 Thread Ross Boylan
On Thu, 2005-08-18 at 17:30 -0500, Paul Roebuck wrote: On Thu, 18 Aug 2005, Ross Boylan wrote: setClass(B, representation=representation(B, extra=numeric)) setClass(B, representation=representation(extra=numeric), contains=B) Are these the same? If not, how do they differ? What

Re: [R] How to put factor variables in an nls formula ?

2005-08-19 Thread Douglas Bates
On 8/19/05, François Morneau [EMAIL PROTECTED] wrote: Le 11:12 19/08/2005,Douglas Bates écrit: On 8/18/05, François Morneau [EMAIL PROTECTED] wrote: Hello, I want to fit a Gompertz model for tree diameter growth that depends on a 4 levels edaphic factor ('Drain') and I don't

Re: [R] Advice about system for installing updating all R package in a Linux Lab?

2005-08-19 Thread Henrik Bengtsson
You can also provide the users with the option to add/update their own packages locally via install- and update.packages(). Here's a piece of bash code that sets R_LIBS for to a OS specific directory in the users account. Add it to the system wide startup script. if test ${R_LIBS} = ; then

[R] plot(type=h) equivalent in Lattice?

2005-08-19 Thread Maciej Kalisiak
I tend to prefer doing graphics in R using the lattice library. I'm porting some old scripts. Is there a nice way to get in lattice the equivalent of the plot(type='h'), which is the high-density lines/histogram plot in base graphics package? I tried doing this with barchart(), but with limited

Re: [R] Advice about system for installing updating all R package in a Linux Lab?

2005-08-19 Thread Jonathan Baron
On 08/19/05 16:23, Paul Johnson wrote: Good day: I'm administering 6 linux systems (FC4) in a student lab and worry that users may want packages that are not installed. I get tired of adding them one by one. Then I happened upon this page

[R] glmmPQL and Convergence

2005-08-19 Thread rab45+
I fit the following model using glmmPQL from MASS: fit.glmmPQL - glmmPQL(ifelse(class==Disease,1,0)~age+x1+x2,random=~1|subject,family=binomial) summary(fit.glmmPQL) The response is paired (pairing denoted by subject), although some subjects only have one response. Also, there is a perfect

Re: [R] Advice about system for installing updating all R package in a Linux Lab?

2005-08-19 Thread Prof Brian Ripley
This is based on the pre-2.1.0 ideas. Try update.packages(ask=FALSE) install.packages(new.packages(), dependencies=TRUE) However, I would suggest that you set up each student with a library, say ~/R/library, and point R_LIBS at it (set in Renviron.site). That's what we do for Windows, and it