Re: [R] linux gplots install unhappy

2007-02-21 Thread Randy Zelick
Thanks to the many folks who responded, and apologies for being so dense! The different behavior between windows and linux relative to install defaults tripped me up. I had not thought about the dependencies switch. All working fine now. Cheers, =Randy= R. Zelick

[R] linux gplots install unhappy

2007-02-20 Thread Randy Zelick
Hello all, I use R on both windows and a mainframe linux installation (RedHat enterprise 3.0, which they tell me is soon to be upgraded to 4.0). On windows I installed the package gplots without trouble, and it works fine. When I attempted to do the same on the unix computer, the following

[R] fit sine?

2006-12-19 Thread Randy Zelick
Hello list, I am making scatterplots of data that vary sinusoidally over 24 hours. With a bit of previous help from this list, I now can get an x-axis with time tics from 00:00 on the left edge to 12:00 in the middle and 00:00 on the right edge, i.e., just 24 hours. Now I would like to fit a

[R] samples to dataframes

2006-10-11 Thread randy zelick
of the functions in the package Seewave to do further analysis, but this package wants data objects to be dataframes. So I tried various ways to coerce samples to dataframes, but was not successful. Does anyone have a hint/solution? Thanks much, =Randy= -- Randy Zelickemail

[R] file.choose but for folder/directory?

2006-07-10 Thread Randy Zelick
Hello there, This question is relative to WindowsXP, using R 2.2.1: I am looking for a function that allows a user to interactively choose a directory so I can use list.files to process all the files in that directory. I've looked at getwd, but this is not interactive. The functions

Re: [R] file.choose but for folder/directory -- THANKS!

2006-07-10 Thread Randy Zelick
Thanks to all who responded. I upgraded to 2.3.1 straight away, and choose.dir does exactly what I need. Cheers, =Randy= R. Zelick email: [EMAIL PROTECTED] Department of Biology voice: 503-725-3086 Portland State University fax:

[R] x y averaging thanks

2006-06-07 Thread Randy Zelick
I have three completely different(!) but workable solutions. Thanks much for your help. =Randy= R. Zelick email: [EMAIL PROTECTED] Department of Biology voice: 503-725-3086 Portland State University fax: 503-725-3888 mailing:

[R] x y averaging

2006-06-06 Thread Randy Zelick
Hello, I am trying to average a number of data sets where the x vector contains times and the Y data are instrument readings. The vectors all have different numbers of values, but many X time values match. For example: A fragment of the first data set: x vectvalue 14:56:10 0.325 14:62:11

[R] trouble with plotrix package

2006-05-19 Thread Randy Zelick
Hello list, I wrote a simple program to plot data on polar axes, taking advantage of the plotrix package and its function radial.plot. The basic plot works fine, but I am having difficulties with the formatting. There are three problems, but I thought I would attack them one at a time. Here is

[R] extract a row

2004-08-16 Thread Randy Zelick
Hello there, Using 1.9.0 on WinXP... I have a data frame, one column of which is named rate. The column has text entries like fast, medium, slow, very slow, and so forth. I have not tried to make them factors, but maybe R did this automatically. Anyway, I would like to display on the console

[R] swapping with data.frame

2004-06-01 Thread Randy Zelick
Hi there, I have some data which are convenient to enter as lists. For example: t1-list(fname=animal1,testname=hyla,dspkr=left,res1=39.7,res2=15.0) t2-list(fname=animal1,testname=bufo,dspkr=left,res1=14.4,res2=56.1) t3-list(fname=animal2,testname=hyla,dspkr=right,res1=22.6,res2=11.8) I would

[R] formatted table to disk

2004-04-21 Thread Randy Zelick
Hello there, Using R 1.8.1 and WinXP... I would like to write a disk file (ascii text) of an R data frame. When I type the name of the object in the console window, it is sensibly and nicely formatted. When I use write.table, it is *not*, because the separation character is just a space. I

Re: [R] formatted table to disk

2004-04-21 Thread Randy Zelick
Hello, Thanks for the help, all who made suggestions. Sink worked -- I don't know why I can't find these things. I'll look at the xtable package as suggested also. =Randy= R. Zelick email: [EMAIL PROTECTED] Department of Biology voice:

[R] histogram y-scaling

2004-04-19 Thread Randy Zelick
Hello all, Relative to WinXP R1.8 I have two histograms to plot, and for comparison purposes I want them to have the same Y-scaling. I tried to find the size of the bin with the maximum count before generating the histogram, but this did not work (see below). What is a better way?

[R] basic programming question

2004-04-15 Thread Randy Zelick
Hello list, I am just starting to write some R functions (R 1.8 and Windows XP) and got stuck as described below: We have a bunch of time series data files, each is about 10,000 values. There is a 12-line header in each one. I can read them and plot them easily with R, but I want to make an

[R] Re: [R-gui] Editor in R

2004-04-07 Thread Randy Zelick
Hello there, I have been using WinEdt as a text editor for a while. I use it in a simple general purpose way, and take advantage of just a few of the 100's (1000s?) of features. I would say that used this way it is certainly not more difficult than R. So it would seem that if you are successful

[R] x-only zoom and pan?

2004-04-04 Thread Randy Zelick
Hello list, Could the following be done without too much grief...? Lets say I have two or three time series objects that I want to inspect visually. Each I would plot with a y-offset so they stack up. They share the same X scaling. The problem is that each is perhaps 100K values. Due to the

[R] data frame output almost

2004-03-19 Thread Randy Zelick
Hello again, I got three responses for help on the leading zero problem. Thank you. Alas I still don't have it working. Here are more specifics: I read in a data file like this: participants-read.table(C:/Work/blah-blah) The data file consists of the fields last name, first name, social

[R] data frame output

2004-03-18 Thread Randy Zelick
Hello list, Is there a way to *not* supress leading zeros when printing (to the console window or to a file) a dataframe? Thanks, =Randy= R. Zelick email: [EMAIL PROTECTED] Department of Biology voice: 503-725-3086 Portland State University