Displaying 20 results from an estimated 40 matches for "bell01".
Did you mean:
dell01
2007 Nov 28
2
[OT] putting URLs in Latex
Hi R Gurus!
This is definitely off topic, but I thought I'd try: what is the way
to put in url's into a Latex file, please?
I know that you start with a \newcommand statement, with some kind of
argument that will change, but I'm not sure how to set it up, please.
thanks,
Edna Bell
2007 Aug 27
2
Rmpi and x86
Dear R Gurus:
Is there a problem with Rmpi on x86 with SUSE 10.1, please?
I've tried everything and it still won't load.
Has anyone else dealt with this please?
Thanks,
Edna Bell
2007 Jul 04
1
Newbie creating package with compiled code
...Here is the mypkg.R file
sss <- "/home/hodgesse/Desktop/R-2.5.1"
.First.lib <- function(lib=sss,pkg="mypkg")
library.dynam("mypkg.so",pkg="mypkg",lib=sss)
f <- function(x,y) x+y
g <-function(x,y) x-y
Thanks for any help
Edna
mailto: edna.bell01 at gmail.com
2009 Mar 19
8
function question
Dear R Gurus:
I read somewhere that functions are considered vectors.
Is this true, please?
thanks
Edna Bell
2007 Jul 06
1
Rmpi installation
..."Rmpi", depend = T)
2: installation of package 'Rmpi' had non-zero exit status in:
install.packages("Rmpi", depend = T)
I'm thinking that there might be things like "MPI_HOME" or something
like to be set, maybe?
Thanks for any help.
Edna Bell
mailto: edna.bell01 at gmail.com
2007 Jul 29
2
array writing and their filenames
Hi,
I want to save a array (say, array[6,7,8]) write a cvs file. How can I do
that??? can I write in one file?
if I could not write in one file, i want to use a loop to save in different
files (in the matrix[6,7,8], should be 8 csv files), such as the filename
structure should be: file ="filename" +str(i) +"." +"csv"
Many thanks.
Dong
[[alternative HTML version
2007 Oct 01
2
convert time series to data.frame
Dear R gurus
I would like to take a monthly time series and convert it to a data
frame without losing the tsp items, pleae
I've tried as.data.frame and data.frame but I get the series without
the time element.
Any suggestions, please?
tia
Edna Bell
2007 Oct 02
2
building packages on Windows
Hi again.
I'm sure that this is really simple.
I'm trying to build a package on a Windows Vista machine. I use
Rcmd build --binary test
but I get the "Please set TMPDIR to a valid temporary directory"
I tried TMPDIR=c:\temp
but to no avail.
Please help.
thanks
2007 Nov 26
3
generating .Rd files
Hi R Gurus!
I have a package that I am putting together.
I waited until the end to do the documentation and would like to
generate a set of "empty" .Rd files.
Is there a quick way to do this, please?
Thanks,
Edna Bell
PS I can't seem to access the "Writing R Extensions" manual from 2.6.1
on Windows.
2008 Jul 23
1
an extremely simple question
Hi!
What is the difference between using data(somedataset) vs.
attach(somedataset), please?
thanks,
Edna Bell
2008 Jul 29
1
more environment questions
Hi R Gurus:
Here is some code that I was experimenting with, please:
> f1 <- function(x) {
+ e1 <- new.env(parent=.GlobalEnv)
+ environment(e1)
+ print(environment())
+ return(mean(x))
+ }
> f1(1:15)
<environment: 0x02525444>
[1] 8
>
My question: why isn't the environment within the function set to e1, please?
Thanks,
Edna Bell
2008 Sep 09
2
test for a single variance
Dear R Gurus:
Is there a test for a single variance available in R, please?
Thanks,
Edna Bell
2009 Feb 21
1
density estimate
Hi R Gurus:
I have a tiny data set:
> xs
[1] 0.7 2.8 0.1 1.9 0.0 1.4 0.2 2.3 0.3 0.2
>
and generate the density function for it.
I would like to replicate this. Is there a straightforward way to do
this, please?
According to the help file, the FFT is used.
How does this compare to Silverman's version from his page 15 Equation
2.2a, please?
Thanks,
Edna Bell
2009 Mar 15
2
builtin vs. closure
Dear R Gurus:
I'm working slowly through "R Programming for Bioinformatics", which
is really interesting!
Anyway, my question now is: what determines if a function is a
builtin vs. a closure, please?
For instance:
> typeof(sqrt)
[1] "builtin"
> typeof(mean)
[1] "closure"
>
Thanks,
Edna Bell
2009 Mar 20
1
classes and methods
I have put together a test class and methods
> setClass("foo",representation(x="numeric"))
[1] "foo"
> setMethod("plot","foo",function(x,y,...)boxplot(x,...))
[1] "plot"
> x <- rnorm(100)
> class(x) <- "foo"
> plot(x)
> y <- new("foo",x=rnorm(50))
> class(y)
[1] "foo"
My
2008 Feb 20
2
[OT] Linux/UNIX question
Dear R Gurus:
I'm trying to find R on another Linux system.
I'm using the find command, (surprise), but I only want to see the
output where it exists, not all of the other stuff.
Is there an option that I could select, please?
Right now I have
find / -name R
TIA,
Sincerely,
Edna
2008 Jul 24
2
factor question
Hi!
Suppose I have a factor:
> fac1 <- factor(rep(c("dog","cat","tree"),c(2,3,4)))
> fac1
[1] dog dog cat cat cat tree tree tree tree
Levels: cat dog tree
> length(fac1)
[1] 9
Now I want to get rid of the dogs:
> fac1 <- fac1[3:9]
> fac1
[1] cat cat cat tree tree tree tree
Levels: cat dog tree
>
How should I remove the dog from the
2007 Sep 24
2
making R packages and compacting an entire R set up
Hi R Gurus!
I have 2 questions, please:
a. I'm putting together a little baby package on SUSE Linux 10.1. I
want to create a zip of the package for windows. How should I create
that please?
b. I don't know if the following is possible but here it is: I have
R and a bunch of libraries set up very nicely. I would like to hand
off this setup to someone else. Should I just copy
2007 Oct 22
3
strsplit
Hello R Gurus:
I would like to take a character string and split at the $ sign.
I thought that strsplit would do it, but here are the results:
> vv
[1] "whine$ts1"
> vv
[1] "whine$ts1"
> strsplit(vv,"$")
[[1]]
[1] "whine$ts1"
Does anyone have any suggestions, please?
Thanks,
Edna Bell
2008 Jul 29
3
try question
Hi still yet again!
I have the following code:
> try(log(rnorm(25)),silent=TRUE)
[1] -0.26396185 NaN NaN -0.13078069 -2.44997193
-2.15603971 NaN 0.94917495 0.07244544 NaN
[11] -1.06341127 -0.42293099 -0.53769569 0.95134763 0.93403340
NaN -0.10502078 NaN 0.30283262 NaN
[21] -0.11696872 -3.84122332 NaN NaN -0.12808690