similar to: using ls() to find functions: a solution

Displaying 20 results from an estimated 10000 matches similar to: "using ls() to find functions: a solution"

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 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
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
2012 Jun 27
2
A solution for question about formatting Dates
Hello again: Here is a solution to the dates without leading zeros: pou1 <- function(x) { #Note: x is a data frame #Assume that Column 1 has the date #Column 2 has station #Column 3 has min #Column 4 has max library(stringr) w <- character(length=nrow(x)) z <- str_split(x[,1],"/") for(i in 1:nrow(x)) { u <-
2008 Mar 19
7
ls() and classes
Dear R People: I want to get the class of all of the objects in my directory. I was trying: do.call(class,list=ls()) but got an "unused argument error". I'm sure it's simple, but I'm just not seeing it. Any help would be much appreciated. Sincerely, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston -
2010 Jun 21
0
using table and tapply? solved
Here is my solution: tapply(zzz$DEATH1,zzz$GENDER,sum, na.rm=TRUE) Dear R People: Here is a little section of a data frame: > zzz[1:10,] DATE GENDER AGE Co DEATH1 3945 2009-04-16 M 24 Botulinic 23 3851 2009-04-16 M 35 Constitutional 23 8495 2009-04-16 F 49 Constitutional 27 10967 2009-04-16 F 47 Constitutional
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
2009 Jul 23
1
dimension trouble for a matrix
Dear R People: I'm having trouble with something that should be very simple. I'm setting up a matrix outside of a loop and writing items into it during the loop. Here is the output: > glob3b("sites.info") dim 27 3 [1] "/raid1/osg-app" Error in xy[i, ] : incorrect number of dimensions Here is the function: > glob3b function(xx) { x.df <-
2012 Feb 23
1
R CMD INSTALL with configure args
Dear R People: I have a question, please: I want to install a package from R CMD INSTALL and I have a boatload of configure args. I want to put them into a file. How do I point the R CMD INSTALL to that file, please? Thanks, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodgess at gmail.com
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
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
2013 Jun 19
1
solving equations symbolically
Dear R People: I have the following equation: $1 - \frac{R}{100} = \frac{2y}{10000}$ and I was wondering if there was a way in R to solve for R (no pun intended). I'm experimenting with Ryacas, but nothing yet. Version R-3.0.1 on Windows 7. Thanks, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto:
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
2017 Dec 16
0
Generating help files for a function
Hi, If you are using roxygen-style function documentation then why not use devtools::document()? Ben > On Dec 16, 2017, at 9:00 AM, Erin Hodgess <erinm.hodgess at gmail.com> wrote: > > Hello everyone! > > I'm in the process of writing a package, and I'm using the lovely "R > Package" book as a guideline. > > However, in the midst of my
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
2011 Jun 21
2
setting breaks in hist
Dear R People: Is there a way to "guarantee" that breaks=n will give you exactly n breaks, please? I'm fairly certain that the answer is "no", but thought I'd check. Thanks, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodgess at gmail.com
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
2012 Apr 27
2
determining if a function exists in a particular package
Hello R People: Is there a way to determine if a function exists in a particular package, please? I looked at exists and objects, but they seem to refer to an environment rather than a package. I was thinking of something like: ifelse(exists(functiona) in MASS, print(1:10), print(5)) Thanks, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences
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 Jul 27
3
probability on a barplot
Dear R People: I have a barplot created from a table. What is the best way to set up the barplot such that is shows probability rather totals, please? I've tried plot also but it shows horizontal bars rather than vertical bars. Thanks, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodgess at