Re: [R] Importing an Excel spreadsheet

2008-03-20 Thread Bryan K Woods
If you open the spreadsheet in Excel you can then do Save as... and select type CSV (comma-delimited text). Once you have the data in CSV format, you can use the R function read.csv to import the data. Cheers, Bryan andy wrote: Hello I am trying to import an *.xls spreadsheet into R. I am

Re: [R] Problem with graphics device in Mac OS X

2007-12-10 Thread Bryan Hanson
of the window. This window doesn't print so well, but your students can divert their output to a pdf easily for really nice plots. BTW, people were reporting problems with OS 10.5 and R. These may have been fixed, but if you have trouble, it's discussed in the archives. Bryan On 12/10/07 3:37 PM

[R] Fortran Code to R Code

2007-11-28 Thread Bryan Klingaman
. Bryan Email: [EMAIL PROTECTED] - [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

[R] Graphical Manova: Fails When There Are Three Factors

2007-11-16 Thread Bryan Hanson
Hi R Gurus Lurkers... Thanks in advance to anyone who is willing to tackle this! Bryan I have been implementing the graphical manova method described in An Introduction to Ggobi (from the Ggobi web site). A stand alone working code is appended below. The code is almost the same as described

[R] R Help

2007-11-15 Thread Bryan Klingaman
, mean, standard deviation, and estimated variance covariance matrix for certain data given. If you do and can help me, please email me back and let me know and I can email you the entire problem with the data. Thanks so much, this would really help me out if you can help. Bryan Email

Re: [R] Reading a file with read.csv: two character rows not interpreted as I hope

2007-10-31 Thread Bryan Hanson
OK, I fixed it myself! Here's the code. Of course, it mostly seems simple once one gets it working... Thanks Jim. Bryan sample.info = read.table(input.file.name, sep=,, as.is=TRUE, nrows=3) # get the first three lines with sample info in character format sample.names = sample.info[1

[R] Reading a file with read.csv: two character rows not interpreted as I hope

2007-10-30 Thread Bryan Hanson
in advance, Bryan * Bryan Hanson Professor of Chemistry Biochemistry [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] Reading a file with read.csv: two character rows not interpreted as I hope

2007-10-30 Thread Bryan Hanson
the first line, from read.table's perspective is a hidden label (?), then the second time you use read.table the hidden first line is ignored, as are the two lines with character data. I really don't understand these behaviors, which is probably why I'm having trouble parsing the file! Thanks, Bryan

[R] Accessing scripts in a different directory on a Mac

2007-10-25 Thread Bryan Hanson
example, my main script currently contains source(³test.R²) and I need to do something like source(pathtest.R). Ideally, I'd like to specify path early in the file one time, and have it apply automatically later. Stuff in the documentation only seems to tease! Thanks in advance, Bryan

<    1   2   3