Displaying 20 results from an estimated 20000 matches similar to: "installing R on Ubuntu"
2006 Feb 14
4
R and Power Point
Dear R People:
I'm using R in a time series class. This class is being
broadcast live to 2 remote sites via closed circuit TV.
My people at the remote sites are having a terrible time
seeing the computer screen as it is broadcast(resolution issues). I have
decided to put together Power Point slides for the teaching.
I am currently saving the R screen as WMF files and inserting them
into
2006 Aug 29
3
Substring and strsplit
Dear R People:
I am trying to split a character vector into a set of individual
letters:
Ideal:
x3 <- c("dog")
"d" "o" "g"
I tried the following:
> strsplit(x3)
Error in strsplit(x3) : argument "split" is missing, with no default
> strsplit(x3,1)
[[1]]
[1] "dog"
I know that this is incredibly simple, but what am I doing
2006 Jan 01
4
S3 vs. S4
Dear R People:
Could someone direct me to some documentation on the
difference between S3 and S4 classes, please?
For example, why would a person use one as opposed to another?
Maybe pros and cons of each?
Thanks in advance!
R Version 2.2.0 (I'm downloading the new one this afternoon!) Windows.
Happy New Year!
Sincerely,
Erin Hodgess
Associate Professor
Department of Computer and
2007 May 25
1
windows to unix
Dear R People:
Is there any way to take a Windows version of R, compiled from source,
compress it, and put it on a Unix-like environment, please?
thanks in advance,
Sincerely,
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hodgess at gator.uhd.edu
2006 Feb 06
3
decomposed.ts class and method
Dear R People:
In the function "decompose", the object has the class of "decomposed.ts".
(from package stats)
I would like to see the class definition and the method for the plotting.
However, when I use
isClass("decomposed.ts")
I get "FALSE".
When I check getMethods("plot")
there is no method for plot on decomposed.ts
Any suggestions,
2006 Jan 08
2
sending methods to a new package
Dear R People:
When creating a package, how do you include new methods and classes,
please?
I'm using the pacakge.skeleton command as a starting point.
Thanks,
Sincerely,
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hodgess at gator.uhd.edu
2006 Jun 21
3
latex function with lm
Dear R People:
I have used the "latex" function from the Hmisc
package and it is just great!
However, I have a new question regarding that function:
is there an option for summary(lm(y~x)), please? There are
options for different types of objects, but I didn't see one
for that. Maybe I just missed it.
Thanks in advance!
R for Windows Version 2.3.1
Sincerely,
Erin Hodgess
2006 Nov 14
3
lpSolve and mixed signs
Hi R People:
If you have a linear programming problem in which
some of the constraints have the "<=", some
have ">=" and some have "=", all in the same problem,
should the solver work?
I'm having trouble with that. Any help much appreciated!
Sincerely,
Erin Hodgess
mailto: hodgess at gator.uhd.eud
whoops!
mailto: hodgess at gator.uhd.edu
2006 Jan 08
2
exporting methods/classes
Dear R People:
I'm still struggling with sending methods and classes as part of
creating a new package.
Where does the .onLoad function go? Within R itself or in a file
in one of the new package directories?
Here are my latest efforts:
Here's the last part of the woof1-Ex.Rout
> library('woof1')
Error in loadNamespace(package, c(which.lib.loc, lib.loc),
keep.source =
2007 May 25
1
trouble with snow and Rmpi
Dear R People:
I am having some trouble with the snow package.
It requires MPICH2 and Rmpi.
Rmpi is fine. However, I downloaded the MPICH2 package, and installed.
There is no mpicc, mpirun, etc.
Does anyone have any suggestions, please?
Thanks in advance!
Sincerely,
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto:
2005 Jun 06
2
intervals and data frames
Dear R people:
I have a vector which runs from -1 to 1, by .1, inclusively.
Easy to set up. x <- seq(-1,1,.1)
I then sample 3 numbers from x.
y <- sample(x, 3)
Suppose one of my values is -0.7. I want to set up an interval
around that
y1 <- pmax(y-0.1,-1)
y2 <- pmin(y+0.1,1)
For the value -.7, the interval will run from -.8 to -.6.
There will be several intervals.
Again, nothing
2006 Aug 10
2
OT UNIX grep question
Dear R People:
I want to use the "grep" command in UNIX/Linux to check
some words from the dictionary.
Let's say I use:
grep dog /usr/share/dict/words
and I get back
bulldog
dog
dogged
and so on.
How could I just get back "dog" with the grep command please?
Thanks,
Sincerely
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University
2007 Mar 30
1
Using Java or Tcl/Tk in R
Dear R People:
This is more of an opinion question please:
When putting together GUI type functions, is
it better to use JAVA or Tcl/Tk, please?
Any input is appreciated!
Sincerely,
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hodgess at gator.uhd.edu
2003 Apr 02
4
Multivariate Time series
Dear R People:
Is there a library for Multivariate time series, please?
For some reason, I'm thinking that Dr. Paul Gilbert may have one?
R Version 1.6.2 (i've updated!) for Windows
Thanks so much!
Sincerely,
Erin Hodgess
University of Houston - Downtown
mailto: hodgess at uhddx01.dt.uh.edu
2002 Feb 22
3
Cent. Mov. Ave
Dear R People:
Here is an interesting question(I think)
Suppose I want to calculate Centered Moving Averages; i.e.
x[1] <- ( sum(y[1:12]) )/12
x[2] <- ( sum(y[2:13]) )/12
and so on.
Of course, this is easily done through loops. However, I have
been trying to do this more elegantly, but have failed. I have
tried things like
j1 <- 1:109
j2 <- 12:120
x[1:109] <- ( sum( y[j1:j2])
2003 Jun 12
3
breaks
Dear R People:
I have a question about a "sorting" problem, please.
I have a vector xx:
> xx
[1] -2.0 1.4 -1.2 -2.2 0.4 1.5 -2.2 0.2 -0.4 -0.9
and a vector of breaks:
> xx.y
[1] -2.2000000 -0.9666667 0.2666667 1.5000000
I want to produce another vector z which contains the number of the class
that each data point is in.
for instance, xx[1] is between xx.y[1] and
2002 Mar 11
3
Crime Time Series
Can anyone please recommend a good site for
crime related time series?
Thanks!
Erin
mailto: hodgess at uhddx01.dt.uh.edu
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To:
2003 Jun 23
2
Summary for mode of a data set
Dear R People:
thank you for the many helpful sets of code that I received!!!
I combined several of the concepts for the following function:
> mode1
function(x) {
y <- rle(sort(x))
z <- y$values[y$lengths==max(y$lengths)]
return(z)
}
> xm
[1] 22 15 10 30 25 26 2 17 28 2 24 6 26 24 5 22 20 14
> mode1(xm)
[1] 2 22 24 26
>
This will pick
2002 Oct 01
1
High Frequency Time Series
Dear R People:
I have a weekly time series. How do I put this into the
ts command, please?
That is, what do I use for frequency, please?
R version 1.5.1 for Windows.
Thanks in advance.
Sincerely,
Erin
mailto: hodgess at uhddx01.dt.uh.edu
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
2000 Aug 31
3
make problem
Dear R People:
I have the source for R version 1.1.1
on a UNIX system alpha-dec-osf4.
The ./configure works fine.
When I do the make, it works fine until it tries to build the
package tcklc.
I get an error of
Tk_Saf_Init not identified
Then it kicks out.
Any suggestions, please?
Thanks!
Sincerely,
Erin M. Hodgess, Ph.D.
Associate Professor
Department of Computer and Mathematical Sciences