similar to: file.choose but for folder/directory?

Displaying 20 results from an estimated 3000 matches similar to: "file.choose but for folder/directory?"

2004 Aug 16
2
extract a row
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 rows that meet a rate criterion. So I want
2007 Feb 20
4
linux gplots install unhappy
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 error message was forthcoming: downloaded 216Kb * Installing *source* package
2006 Dec 19
2
fit sine?
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 sin function to the plot. I've looked all over CRAN and the web in general, but have not found a
2006 Oct 11
1
samples to dataframes
Hello all, I'll bet this is not complicated, but I really did hunt for information on it, and tried some ideas without success. Running Windows XP and R 2.3.1 I am using the Sound package to read in .wav files, and this works fine. The R object produced is of class "sample". I want to use some of the functions in the package Seewave to do further analysis, but this package
2006 Nov 20
1
a little help needed plotting chron object
Hello there, Using R 2.4.0 on Solaris (Unix): I am trying to control the X axis range on a simple time of day plot. I made a test program (below) that gets file time stamp information from the files in the directory where R starts. The goal of the test program is to plot the time of day of file creation on an x axis that spans a user-specified range (like 12:00:00 to 15:00:00). If I allow
2004 Jun 01
1
swapping with data.frame
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)
2004 Mar 19
5
loop through files in a dir
Hello I have data in many files in a directory, how can I loop through the files in a given dir in-order-to build a data.frame? thanks
2004 Apr 26
2
standard library?
Hello all, I found a package I want to try listed at http://www.maths.lth.se/help/R/.R/doc/html/packages.html I am using R 1.9.0 on winXP. The package is called R.audio When I tried the example, it did not work and produced the error message: Error: Object "Sound" not found Normally I would assume that I have to download a package and I would go looking for it...
2006 May 19
1
trouble with plotrix package
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 the first: If my data set contains values with all vector lengths between 0 and 100 (and various
2000 Mar 08
1
Coercing character to factor
I just downloaded version 1.0.0 and several binary libraries (VR, rpart, norm, stataread) - WinNT version. I then converted a file from Stata 6.0 to R format by using the stataread library. The file converts perfectly and I was able to use the VR function lda on the dataframe without difficulty. I then tried to use the same dataframe with RPART. The model statement:
2001 Jul 12
2
rpart puzzle
I've been using the package rpart with R 1.3.0 for Windows to produce simple classification trees for some measurement data from paleontological specimens. Both the rpart documentation and the output confirm that the program produces splits on continuous data that leave "holes" in the data. It is probably of little practical importance, but is there a reason why the binary
2000 Jun 22
1
Summary: 'pausing' in R (fwd)
The question was: > I have this 'odd' problem; I need to let R pause, for a given time, before > starting next iteration in a loop. I'm using the following to do this > task, but feel a little bit guilty because I'm using as much CPU time as I > can get while pausing: > > while(keepGoing) { > t.end <- proc.time()[3] + 5 ## the time this loop should end
2005 Aug 05
1
lda discriminant functions
Hi list, I'm looking about lda function. I'd like to know how calcolate the value of the discriminant functions for the original datas. I see that in the result object "lda" there is $scaling a matrix which transforms observations to discriminant functions, normalized so that within groups covariance matrix is spherical. I'd like to have the value of the discriminant
2003 Mar 15
3
round() seems inconsistent when rounding 5s
It may be my lack of unerstanding, but round() seems to me to give inconsistent results when rounding 5s as in the following examples? > round(1.45, 1) [1] 1.4 # OK > round(2.45, 1) [1] 2.5 # shouldn't this be 2.4? > round(1.05, 1) [1] 1.1 # 1.0 ? and signif(): > signif(2.445, 3) [1] 2.44 # OK > signif(3.445, 3) [1]
2003 Jun 26
3
Compiling R for OS X 10.2.6 (Darwin 6.6)
Our lab just picked up a G4 Powerbook (1 GHz, 1GB RAM, OS X 10.2.6). None of us have any experience with Macs but for various reasons we need to have one around for development. In any case, we've installed fink, all the Apple Developer Tools and the Dec2002updater to gcc 3.3. We're now trying to compile R 1.7.1 without too much success. First we had to get g77, which turned out to
2005 Nov 23
2
negative binomial overdispersion question
Hello, I'm a grad student in the Intelligent Transportation Systems lab at Portland State Univ. in Portland, OR, USA. I'm trying to learn the basics of R to run a negative binomial in the near future, and so I ran a test regression on roadway crash data obtained from "Statistical and Econometric Methods for Transportation Data Analysis" by Washington et al (p. 250). I ran the
2004 Apr 02
5
Plot symbols for more than 25 groups
Is there any effective way to get distinct geometric plotting symbols and colors for plots involving more than 25 groups? Thanks. Dr. Marc R. Feldesman Professor and Chairman Emeritus Anthropology Department - Portland State University email: feldesmanm at pdx.edu email: feldesman at attglobal.net fax: 503-725-3905 "Don't knock on my door if you don't know my
2007 May 04
22
CampingConf?
Campers -- In a few weeks there will be a bunch of people in Portland, OR, for a conference. A long time ago some campers mentioned that might be a good time for us to get together and hold a mini CampingConf for a few hours. Is anyone interested? Does anyone want to organize it? I''m thinking Wednesday night, May 16. We could possibly get a spot at FreeGeek (not likely since they are
2004 May 30
1
summary.lm
I ran across this error the other day while using lm(). I confess that I haven't used it for awhile and haven't been tracking the changes between versions of R. However, the piece of code below is a tiny modification of the example in the help file for "lm". I just separated the commands apart for clarity. A similar piece comes from the help file for
2000 Jun 25
1
renaming columns
I frequently get data sets with cryptically-named variables. The datasets are more useful to me with informative variable names. I know that I can rename variables using the following command: dimname(dataset[[2]][index.of.variable.to.be.renamed]<-new.variable.name If I want to do this inside a function (say something I call RenameCol) what is the best way to communicate the