Re: [R] z limits

2005-05-08 Thread John Dougherty
On Sunday 08 May 2005 16:32, Jennifer Skene wrote:
 Hello,

 I am using R to run a program called GRASP - Generalized Regression
 Analysis and Spatial Prediction.

 I am trying to draw a figure using GRASP, and I get the following
 error message in R:

 Error in image.default(map, col = heat.colors(12)) :
   invalid z limits

 What are z limits?  Can I manually set them?

 Please let me know if you have any insight on this!

 Thanks,
 Jennifer Skene

I believe that the z limits in GRASP relate to the third dimensional 
variable.  If you are using spatial data that uses either altitude or another 
variable that gives a pseudo-surface, you should probably check the 
variable's range.

JWD

__
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] Graphics

2005-02-25 Thread John Dougherty
Adrian, 

That was my fault.  I have the xorg fonts.  Peter pointed out the changes 
and I found that the 100dpi fonts were not installed.  Doing so fixed my 
problem.

John

__
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] Graphics

2005-02-24 Thread John Dougherty
On Thursday 24 February 2005 04:13, Adrian Dusa wrote:
 ...

You need to check your font installation.  Be sure the X-11 fonts are 
installed.

XFree86-fonts-75dpi-4.3.99.902-30
XFree86-fonts-100dpi-4.3.99.902-30

Should both be on your system.  If they aren't bring up the YaST control 
center and select Install and Remove Software.  You can use the search option 
to filter for packages that have fonts in their descritpion.  Install any 
that aren't.  SuSE seems to be a little funny about the X-11 fonts.

Peter Dalgaard just let me know about that a short time ago.

JWDougherty

__
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] A rude question

2005-01-27 Thread John Dougherty
On Wednesday 26 January 2005 21:09, [EMAIL PROTECTED] wrote:
 Dear all,
  I am beginner using R. I have a question about it. When you use it,
  since it is written by so many authors, how do you know that the
  results are trustable?(I don't want to affend anyone, also I trust
  people). But I think this should be a question.

Almost all software - generally all important software - is has numerous 
authors.  Windows has hundreds, perhaps thousand of coders.  So too does 
Unix.  The big difference between open source and closed source is not in the 
number of authors.  Rather it is in the open availability of the code.  
Arguably, if there is sufficient interest in an open source project, studies 
have indicated that the code is likely to be superior to that of a comparable 
closed source program.  This a probability though, not a natural law.

If you are concerned about the trustworthiness of R, then perhaps the best 
gauge is that some of our favorite if occasionally curmudgeonly authors on 
this list are also experts in S and S-Plus, the proprietary, closed source 
language of which R is also a dialect.  They evidently know what they're 
doing and work comfortably in both domains.

If you compare statistical results using R and Excel, there is no question 
that R is superior, but that will also be true if you tested Excel against 
S-Plus, or SAS, or NCSS - all proprietary programs, or any number of other 
closed and open source programs designed to do statistical analyses.  At the 
same time just about any spreadsheet, open or closed source will also suffer 
in a similar comparison.

If you want a more information about the safety of Excel I would suggest this 
site:

http://www.burns-stat.com/pages/Tutor/spreadsheet_addiction.html

Read the various links. Beyond this there is a broad literature available on 
the risks and benefits of open and close source programs.  Read it.

JWDougherty

__
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: Fw: [R] R Citation

2005-01-21 Thread John Dougherty
On Friday 21 January 2005 14:48, Steve McIntyre wrote:
 Dear Achim, Thanks for the comment. Here is the publisher's style guideline
 (AGU)
 Because the Internet is dynamic environment and sites may change or move,
 treat World Wide Web, ftp files, and electronically archived data stored at
 data centers other than World or National Data Centers as unpublished,
 i.e., in text only. http://www.agu.org/pubs/AuthorRefSheet.pdf

 So by this policy, R and its packages cannot be included in the list of
 references and has the same citation as a pers.comm. The problem for my
 paper can be resolved by removing the citation from references to text, but
 this seems unfair to R and the package authors for AGU publications. AGU
 does recognize some permanent data archives listed here
 http://www.agu.org/pubs/datacent.html - maybe it would make sense to have a
 mirror at one of these permanent archives for packages and versions.

 Regards, Steve McIntyre


Steve,

Depending upon the actual format of your paper, you might either add a  
reference to R in your Methods or in an acknowledgements section if the 
format permits such.  Looking at the AGU publishing guide, their obvious 
concern is to insure that the data used in an article are sourced properly.

Statistical software, like ground-penetrating radar or a magnetometer for 
instance, is a tool.  Thus it really falls within the scope of methods.  It 
is reasonable in that case to cite the URL in the text.  You can also 
elaborate somewhat and explain sonething of the history and origins of R,  
citing the The R Reference Manual by the R Development Core Team, which is 
available through Amazon Books (volume 1 for mere $57.56 plus shipping at 
present).  You ought to be able with a bit of creativity to drag in mention 
of both the URL and the manuals.

Good luck,

John

__
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] pair() and X11 fonts error

2005-01-14 Thread John Dougherty
I am encountering an font error when using either plot() or pairs() for a 
scatter plot matrice under some circumstances.  For instances pairs(hills) 
using the hills data set in MASS results in the following error:

Error in text.default(x, y, txt, cex = cex, font = font) :
X11 font at size 16 could not be loaded

However pairs(iris) works fine.  Since the iris data set contains considerably 
more variables than hills, I am at sea regarding the correction.

JWDougherty

__
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] pair() and X11 fonts error

2005-01-14 Thread John Dougherty
On Friday 14 January 2005 23:29, John Dougherty wrote:
 I am encountering an font error when using either plot() or pairs() for a
 scatter plot matrice under some circumstances.  For instances pairs(hills)
 using the hills data set in MASS results in the following error:

 Error in text.default(x, y, txt, cex = cex, font = font) :
 X11 font at size 16 could not be loaded

 However pairs(iris) works fine.  Since the iris data set contains
 considerably more variables than hills, I am at sea regarding the
 correction.

Managed to forget to list the OS.  I'm running SuSE 9.2.

John

__
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] Preferred reference for R and time-series?

2004-12-31 Thread John Dougherty
Does someone have recommendations for their preferred references for 
time-series analysis in R?  I have had interesting basic results but I would 
like to read a systematic discussion of using R for TSA.

Thanks
JWDougherty

__
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] Font problem

2003-12-10 Thread John Dougherty
Thank you for the help.  The problem was, as Peter and Marc suggested, that 
the 100 dpi fonts were missing.  Installing them made the difference.  

John

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


[R] Font problem

2003-12-09 Thread John Dougherty
Some plots fail due to a problem with the X11 fonts.  I get a message that 
X11 font at size 22 could not be loaded.  The demo() graphics routine for 
instance dies during the third chart.  The graphics demo calls font.main=1 
and that seems to be where the error is.  I believe this is due to a 
configuration problem on my system, however I can't find where in the 
environment font.main looks for the font to use.

I am running SuSE 9.0 and use the KDE desktop.  However, I have also 
replicated this in GNOME and WindowMaker.  Varying the fonts used by the 
console does notb effect the result.

Thanks,
John Dougherty

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


Re: [R] p-value from chisq.test working strangely on 1.8.1

2003-12-09 Thread John Dougherty
It happens with suse 9.0 as well.

...
chisq.test(matrix(c(0, 1, 1, 12556), 2, 2), simulate.p.value=TRUE)

Pearson's Chi-squared test with simulated p-value (based on 2000
replicates)

data:  matrix(c(0, 1, 1, 12556), 2, 2)
X-squared = 1e-04, df = NA, p-value = 5e-04
.

JWDougherty

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


Re: [R] R 1.8.1 on SUSE 9.0

2003-11-26 Thread John Dougherty
I have 1.8.1 running on SuSE 9.0 as I write.  I use the Professional 
release, which comes with most development packages, certainly all the ones 
needed to compile R-1.8.1.  If you do not have the Professional version, 
you will have to acquire the full collection.  You can use YaST to check what 
is available.  Bring up the YaST window and highlight Software, then in the 
right hand window Install and Remove Software.  When the window comes up, 
click on the filter box and use the search facility.  I would point out 
though that I have R-1.8.1 running as I write and YaST search tells me that 
the librbary you listed is not present on my system either.  What OS are you 
running?

John

On Wednesday 26 November 2003 09:26, J.R. Lockwood wrote:
 Hello,

 I recently did a full install of SUSE 9.0 and want to get R up and
 running.  An attempted install of R-base-1.8.1-1.i586.rpm resulted in:

 
 error: Failed dependencies:
 libg2c.so.0 is needed by R-base-1.8.1-1
 

 And a ./configure in the source directory of R-1.8.1 failed with

 
 configure: error: Neither an F77 compiler nor f2c found
 

 I guess SUSE 9.0 does not come with the required fortran
 libraries/compilers.  Can someone point me in the direction of
 packages I need to install to get R running (either by installing the
 binaries or compiling from source)?  Thanks to all.

 J.R. Lockwood
 412-683-2300 x4941
 [EMAIL PROTECTED]
 http://www.rand.org/methodology/stat/members/lockwood/

 __
 [EMAIL PROTECTED] mailing list
 https://www.stat.math.ethz.ch/mailman/listinfo/r-help

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


[R] Compiling R

2003-11-18 Thread John Dougherty
I have a generally successful compiled R 1.8.0 version installed on a SuSE 9.0 
system.  One frustration however is that the basic keyboard functions of BASH 
have not completely carried through and the up, down, left and right arrow 
keys don't behave as they do on the regular shell command line.  That is no 
command history can be accessed and the cursor cannot be back-spaced over a 
recalled command to edit it.  I expect that I am missing a --with- statment 
but I am not certain what it should be. Is there any help file that details 
the fine points for compiling R?  INSTALL does not contain the information I 
am interested in.

Thank you,
jwdougherty

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help