Displaying 20 results from an estimated 9000 matches similar to: "question about setClass"
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 =
2013 Jan 09
1
R2html and Blackboard LMS : solved
Everything is ok on Firefox, IE, and iPad.
Thanks,
Erin
On Tue, Jan 8, 2013 at 7:58 PM, Erin Hodgess <erinm.hodgess at gmail.com> wrote:
> Dear R People:
>
> Has anyone used R2HTML in web files that were on the Blackboard LMS, please?
>
> I'm starting to do these but wanted to know if there were any
> potential pitfalls.
>
> Thanks,
> Erin
>
>
> --
2010 Jun 08
3
more dates and data frames
Dear R People:
So thanks to your help, I have the following:
> dog3.df <- read.delim("c:/Users/erin/Documents/dog1.txt",header=FALSE,sep="\t")
> dog3.df
V1 V2
1 1/1/2000 dog
2 1/1/2000 cat
3 1/1/2000 tree
4 1/1/2000 dog
5 1/2/2000 cat
6 1/2/2000 cat
7 1/2/2000 cat
8 1/2/2000 tree
9 1/3/2000 dog
10 1/3/2000 tree
11 1/6/2000 dog
12 1/6/2000
2017 Aug 17
1
really dumb question with building/creating a new package.
Thank you!
On Thu, Aug 17, 2017 at 4:55 PM, Bert Gunter <bgunter.4567 at gmail.com> wrote:
> r-package-devel is probably a better place to post this, especially if
> you do not get a satisfactory reply here. This list is about R
> programming, as you presumably know; your query is not.
>
> Cheers,
> Bert
>
>
> Bert Gunter
>
> "The trouble with having
2019 Mar 04
1
Problem with compiling OpenBLAS to work with R
>>>>> Erin Hodgess
>>>>> on Fri, 1 Mar 2019 12:30:35 -0700 writes:
> Yay! I re-installed everything and got through "Make
> distribution"! I have one more question, please: I am
> running the make check-all. I have an error at reg-1d.
> It stops the process. However, the mean difference (as
> per the file) is
2009 May 25
1
lam vs. openmpi
Dear R Debian Users:
I wrote a quick C program (eventually to become R code) and compiled it as:
mpicc -o greet greet.c
So far so good. Now when I run mpirun, this happens:
erin at erin-laptop:~$ mpirun -np 2 greet
-----------------------------------------------------------------------------
It seems that there is no lamd running on the host erin-laptop.
This indicates that the LAM/MPI
2000 Jul 12
1
buglet in fix() [was "function via source or fix"] (PR#602)
>>>>> "Erin" == Erin Hodgess <hodgess@uhddx01.dt.uh.edu> writes:
Erin> Suppose I create a function, x.e, via the fix command:
(ESS users ESS don't ever do this, but still ...)
>> x.e <- fix(x.e)
Erin> When I type in x.e, the function code appears, along
Erin> with the name/number of the environment.
Ok, in the above it was
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
2017 Aug 17
0
really dumb question with building/creating a new package.
r-package-devel is probably a better place to post this, especially if
you do not get a satisfactory reply here. This list is about R
programming, as you presumably know; your query is not.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic
2007 May 23
2
make check problem
Dear R People:
I thought all was well with my source compilation on Windows
until I tried "make check"
Here is an abbreviated version of my results:
C:\esr\R-2.5.0\src\gnuwin32>make check
make check
-------- Testing package base --------
Running examples in 'base-Ex.R' ...
Comparing `base-Ex.Rout' to `base-Ex.Rout.prev' ...diff: extra operand
2010 Nov 13
2
R on an iPad
Dear R People:
Is it possible to run R on an iPad, please?
For some reason, I'm thinking that you can't have Fortran, C, etc., so
you can't do it.
But I thought I would check anyway.
Thanks,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com
2010 Dec 17
4
using ls() to find a function
Dear R People:
Is there a way to find which objects are functions via ls(), please?
I'm sure that there is, but I'm not sure how.
Thanks,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com
2011 Oct 19
3
converting string fractions to numerics
Dear R People:
Suppose I have the following:
"pi/2"
and I would like it to be 1.57.....
Using as.numeric, here is my result:
> as.numeric("pi/2")
[1] NA
Warning message:
NAs introduced by coercion
>
Is there a way to produce the numeric result, please?
Thanks,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of
2017 Dec 21
3
Building R from source with the PGI compiler
Hello
I would like to build R from source and use the PGI compiler, rather than
the GCC compiler.
I saw the instructions for the Intel compiler in the R Installation Manual,
but I didn't see the PGI. I tried a few times without instructions, but
without success.
Any suggestions would be most welcome. Also, I hope this is the right
group for the question.
Sincerely,
Erin
--
Erin
2008 Mar 18
3
Tcl/tk question
Dear R Gurus:
What is the name of the person who has all of the Tcl/tk stuff,
please? I know it's James W, but can't remember his last name.
I wanted to look at some of his examples.
Thanks in advance!
Sincerely,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com
2010 Jun 21
3
tables
Dear R People:
I have generated the following table:
> table(zza$DEATH,zza$GENDER)
F M
2009-04-21 0 1
2009-04-22 4 2
2009-04-24 6 0
2009-04-25 1 3
2009-04-26 2 0
2009-04-28 3 0
2009-04-29 2 2
However, instead of total counts in the F and M columns, I would like percents.
How would I do this, please?
thanks,
Erin
--
Erin
2009 Aug 10
1
building a package
Dear R People:
I'm trying to build a package and am stuck on the last part; I keep
getting "there is no library".
Here are my statements:
erin at erin-laptop:~/Desktop/R-2.9.1/bin$ R CMD check RcmdrPlugin.qual
* checking for working pdflatex ... OK
* using log directory '/home/erin/Desktop/R-2.9.1/bin/RcmdrPlugin.qual.Rcheck'
* using R version 2.8.1 (2008-12-22)
* using
2011 Mar 07
4
attr question
Dear R People:
When I want to produce a small sample confidence interval using
t.test, I get the following:
> t.test(buzz$var1, conf.level=.98)$conf.int
[1] 2.239337 4.260663
attr(,"conf.level")
[1] 0.98
How do I keep the attr statement from printing, please? I'm sure it's
something really simple.
Thanks,
Sincerely,
Erin
--
Erin Hodgess
Associate Professor
Department
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
2010 Dec 17
2
lower/upper case question
Dear R People:
Is there a function to convert a character string to all uppercase or
all lowercase please?
I'm sure that I've used one before but I'm drawing a blank.
Thanks,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com