Re: [R] R package built using newer version of R

2016-01-05 Thread Tyler Auerbeck
We can go ahead and ignore that last email. It looks like I had just configured Rtools incorrectly. Once I resolved that issue I was able to get this compiled appropriately. Thanks to everyone for the help! On Wed, Jan 6, 2016 at 1:34 AM, Tyler Auerbeck wrote: > Alright, I believe I'

Re: [R] R package built using newer version of R

2016-01-05 Thread Tyler Auerbeck
em to locate h.exe. Is there something I need to pull down that would provide this? Do I need to add something to my path in order for the install to find this? As always, any help would be greatly appreciated. On Tue, Jan 5, 2016 at 2:34 PM, David Winsemius wrote: > > > On J

Re: [R] R package built using newer version of R

2016-01-05 Thread Tyler Auerbeck
INSTALL packagename.tar.gz library-location > > Regards, > > Harrie > > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Duncan > Murdoch > Sent: maandag 4 januari 2016 20:16 > To: Tyler Auerbeck ; r-help@r-project.org > Su

[R] R package built using newer version of R

2016-01-04 Thread Tyler Auerbeck
We're currently looking at using the R eclipse plugin StatET as our development environment. Due to certain requirements, we're still using 2.15.1. However a required package of StatET was built using 2.15.3, which results in the following warning: Warning message: package 'rj' was built under R v

[R] Windows R 2.15.1 on Citrix

2015-12-11 Thread Tyler Auerbeck
We're currently having an odd issue on an installation of Windows R 2.15.1 over Citrix. Occasionally we will see the application dissapear. Sometimes this will happen immediately, after a few minutes, etc. It's never after the exact same action or same period of time. I've looked at the even logs,

[R] Major discrepancy between R and Stata for ARIMA

2014-04-09 Thread Benster, Tyler
Hi all, I've been looking through documentation to try to understand why Stata and R occasionally come up with very different parameter estimates for ARIMA, and am stumped. Existing discussion on this question, including code, can be found here: https://stackoverflow.com/questions/22443395/major-d

[R] clusterboot function in the fpc package in R

2013-09-17 Thread Hallman, Tyler
ther way to get metrics on the validity of clusters would be great too. Cheers, - Tyler Hallman, M.S. Ph.D. Student The Robinson Lab Department of Fisheries and Wildlife Oregon State University Corvallis [[alternative HTML version deleted]] _

Re: [R] How do I parse text?

2013-09-06 Thread Tyler Rinker
Henry, Have look at the qdap package's termco, wfm, adjacency_matrix, and (possibly) word_associate functions.  I'm not sure if they'll work as you really don't give much in the way of what the data is and the desired output (an example of the output).

Re: [R] Trouble with Slidify and Latex

2013-09-01 Thread Tyler Rinker
m/ramnathv/slidify/issues?state=open Tyler Rinker  > From: noahsilver...@ucla.edu > Date: Sun, 1 Sep 2013 13:40:52 -0700 > To: r-help@r-project.org > Subject: [R] Trouble with Slidify and Latex > > Hi, > > (Re-submitting as the origin

[R] Incorporating a dataset only package

2013-08-25 Thread Tyler Rinker
evelopment (unstable) (2013-08-24 r63687) -- "Unsuffered Consequences") check?  This desired outcome is very much the way the `datasets` package is loaded by default when R starts. Cheers Tyler (apologies on the double send as the first one had no subject line) ===

[R] (no subject)

2013-08-25 Thread Tyler Rinker
the R dev version (R Under development (unstable) (2013-08-24 r63687) -- "Unsuffered Consequences") check? Cheers Tyler === Plain text version of this email: https://dl.dropboxusercontent.com/u/61803503/Errors/depends_question.txt

Re: [R] Parts of Speach Tagging

2013-08-24 Thread Tyler Rinker
Have a look at ?Maxent_POS_Tag_Annotator The examples show you how to get the tagPOS behavior. Cheers,Tyler > Date: Sun, 25 Aug 2013 04:11:33 +0530 > From: sid.aru...@gmail.com > To: r-help@r-project.org; r-h...@stat.math.ethz.ch > Subject: [R] Parts of Speach Tagging > >

[R] Writing contrast statements to test difference of slope in linear regressions

2013-04-23 Thread Hallman, Tyler
e-02 0.01703235 7.828240e-01 55 0.4370882317 Did I write the contrasts correctly? And does this then indicate that the slope of 22:22 was significantly different from all others but none of the others were different? Help with comparing the slopes between these regressions would be wonderf

Re: [R] custom startup/welcome message

2013-04-04 Thread Tyler Rinker
What is your OS? > Fom: michael.weyla...@gmail.com > Date: Thu, 4 Apr 2013 15:31:31 -0500 > To: pelj...@yahoo.co.uk > CC: r-help@r-project.org > Subject: Re: [R] custom startup/welcome message > > On Thu, Apr 4, 2013 at 9:49 AM, lejeczek wrote: > > yeap, I

[R] [R-pkgs] reports 0.1.2 released

2013-03-12 Thread Tyler Rinker
(a) a help video section and (b) a vignette detailing workflow and use of reports. Tyler Rinker ___ R-packages mailing list r-packa...@r-project.org https://stat.ethz.ch/mailman/listinfo/r-pac

Re: [R] Word Frequency for each row

2013-03-09 Thread Tyler Rinker
I see you provided sample data.  Here it is with that: library(qdap) termco(dat$Data, dat$ID, c(" oranges ")) > From: tyler_rin...@hotmail.com > To: sudipanal...@gmail.com; r-help@r-project.org > Date: Sat, 9 Mar 2013 17:20:24 -0500 > Subject: Re: [R]

Re: [R] Word Frequency for each row

2013-03-09 Thread Tyler Rinker
I think the qdap package's termco (termo count) function will do what you want. Read the specifics as spacing around the word matters.      library(qdap);        termco(DATA$state, 1:nrow(DATA), c("it"))      > Date: Fri, 8 Mar 2013 21:34:31 +0530 > F

[R] Issues with installing RBGL package

2013-02-22 Thread jason tyler
Hi all, I was installing a package *RBGL* of bioconductor. However, I had some issues while installing it. I asked the devel group of bioconductor and they told me to consult this group. Here is my conversation with the bioconductor group related to the problem *Me->* I was trying to install the

[R] [R-pkgs] qdap 0.2.0 released

2013-02-04 Thread Tyler Rinker
. Tyler Rinker ___ R-packages mailing list r-packa...@r-project.org https://stat.ethz.ch/mailman/listinfo/r-packages __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] Creating an R package in windows- where to put images?

2012-12-09 Thread Tyler Rinker
I recently included a .bib file in a package in the directory: package_name/inst/extdata I then recall this file using: <- system.file("extdata/bibTest.bib", package = "metaDAT") I assume something similar could be helpful here. > From: jdnew...@dcn.davis.ca.us > Date: Sun, 9 Dec 2012 22:11

[R] Long equation in documentation

2012-12-09 Thread Tyler Rinker
\rho_{isv}\rho_{itu}-(\rho_{ist}\rho_{isu}\rho_{isv} + \rho_{its}\rho_{itu}\rho_{itv}) + \rho_{ius}\rho_{iut}\rho_{iuv} + \rho_{ivs}\rho_{ivt}\rho_{ivu}]/n_i} How can I break the formula and optionally indent the second lower piece; though I'd settle for break it right now? Tyler Ri

[R] homebrew install R

2012-10-30 Thread Frazier, Tyler James
Is there a recommended way to install R with homebrew? Will I completely lose the GUI? .r file command editor? thanks, Ty - Tyler Frazier Department of Transportation Planning and Telematics Technical University Berlin http://www.vsp.tu-berlin.de/ [[alternative HTML version

[R] Question about use of sort.list(sort.list(x)) in rank.r

2012-10-16 Thread Tyler Ritchie
I was looking at rank() and I came across: ... "first" = sort.list(sort.list(xx)), ... line 32 of rank.r [1] sort.list(x) returns the indices of the values of x in ascending (by default) order. So sort.list(sort.list(x)) returns the same list. So, what am I missing here? -Tyler

[R] Creating multiple maps so points don't overlap

2012-09-22 Thread Tyler Petroelje
Hello, I am working within package 'maptools' to plot a number of collared animal locations by reading in shapefiles of locations, roads, hydrology, and landownership as imported layers. The trouble I have is that some individual locations are overlapping and I would like to "zoom" into or create

Re: [R] First value in a row

2012-07-24 Thread Tyler Rinker
This would work: X <- lapply(1:nrow(dat1), function(i) rev(dat1[i, -c(1:2)]))sapply(X, function(x) x[!is.na(x)][1]) > Date: Tue, 24 Jul 2012 23:56:17 -0300 > From: cm...@dal.ca > To: smartpink...@yahoo.com > CC: r-help@r-project.org; henrik.singm...@psychologie.uni-freiburg.de > Subject: Re: [R

Re: [R] Plot

2012-05-14 Thread Tyler Rinker
0, 50), xlim=c(0, 14)) Cheers,Tyler > From: tyler_rin...@hotmail.com > To: kellycoo...@yahoo.com; r-help@r-project.org > Date: Mon, 14 May 2012 16:31:26 -0400 > Subject: Re: [R] Plot > > > > That is likely because ferm is a factor.

Re: [R] Error in names(x) <- value: 'names' attribute must be the same length as the vector

2012-05-14 Thread Tyler Rinker
I'd throw a browser() in at that point and see what colnames(newdf.int) gives you.  If you have less columns than names this is likely the reason for the error. You can get the same error with: colnames(mtcars) <- LETTERS Cheers,Tyler > Da

Re: [R] Plot

2012-05-14 Thread Tyler Rinker
That is likely because ferm is a factor.  A scatterplot is two numeric variables.  To make it a scatterplot wrap ferm with as.numeric.  Cheers, Tyler Date: Mon, 14 May 2012 12:21:12 -0700 From: kellycoo...@yahoo.com To: r-help@r-project.org Subject: [R

Re: [R] How to specify multiple regular expressions for pattern argument

2012-05-11 Thread Tyler Rinker
I'm curious about the 'real' answer myself but this would work: ls(pattern='^d')[ls(pattern='^d') %in% ls(pattern='[[:digit:]]$')] Cheers,Tyler Rinker > Date: Fri, 11 May 2012 13:18:

Re: [R] for loop problem

2012-04-30 Thread Tyler Rinker
I don't really work with dates but thought I'd pass a solution on.  I think that there some great packages for handling dates though (lubridate) and you may want to convert your data to a true date instead of separate columns. # FUNCTION TO INDEX DATES date.int <- function(month, year, day){

Re: [R] introducing R to high school students

2012-04-18 Thread Tyler Rinker
/ I wish I knew R when I was a math teacher and applaud any effort to engage students in authentic learning with powerful tools that they may use later on.   I would encourage physics teachers to incorporate R too.   Tyler Rinker From: indra_cali...@yahoo.com To: R-help@r-project.org Subject: Re

Re: [R] Choose between duplicated rows

2012-04-14 Thread Tyler Rinker
My solution: SP <- split(df, df[, 1:2]) minner <- function(x, col = 'numMiss') {    x[which.min(unlist(x[,col])), , drop=FALSE]} NEW <- do.call('rbind', lapply(SP, minner))SP2 <- split(NEW, NEW[, 'id'])do.call('rbind', lapply(SP2, function(x)

[R] Missing CRAN Mirror

2012-04-06 Thread Tyler Rinker
he fate of this repository? Cheers,Tyler Rinker If this was not the appropriate place for this question please feel free to direct me to a more appropriate place to ask this question. [[alternative HTML versi

[R] FlexMix for clustering of gene expression data

2012-03-28 Thread Tyler Funnell
Hello, I'm trying to cluster gene expression data as in http://bioinformatics.oxfordjournals.org/content/28/2/222.full It looks like they are using some combination of FlexMix and mgcv but I haven't been able to figure out the exact steps necessary to perform the clustering. Has anyone else us

Re: [R] Reshape from long to wide

2012-03-20 Thread Tyler Rinker
]) Cheers,Tyler > From: jorgeivanve...@gmail.com > Date: Tue, 20 Mar 2012 00:29:08 -0400 > To: alyaba...@gmail.com > CC: r-help@r-project.org > Subject: Re: [R] Reshape from long to wide > > Hi aly, > > Try > > # your data > x <- structure(list(family = c(14L, 1

Re: [R] paste (CTRL + v) not working rgui

2012-03-19 Thread Tyler Rinker
I attempted the advice of Ajay but found that the names ◦Network DDE DSDM, ◦Network DDE, ◦Clipbook were not found in that location. Here's a bit more information about the problem I've discovered. I have a manual I've created of useful R tricks I've elarned that I created as a word doc

[R] paste (CTRL + v) not working rgui

2012-03-17 Thread Tyler Rinker
and no change in behavior. I appreciate any direction anyone can give me with solving this problem as I use the command very frequently. Cheers,Tyler Rinker [[alternative HTML version deleted]] __ R-help@

Re: [R] Apt-get

2012-03-15 Thread Tyler Ritchie
27;t have the system rights to add any additional repositories, you'll need your IS folks to add them for you. -Tyler [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help P

Re: [R] Automating R script with Windows 7

2012-03-05 Thread Tyler Ritchie
You are looking to run R in batch mode see How to run R in batch mode [1] and the Quick-R on Batch Processing [2] [1] http://turing.une.edu.au/~stat356/Rbatch.html [2] http://www.statmethods.net/interface/batch.html On Mon, Mar 5, 2012 at 8:55 AM, vincent.deluard wrote: > > Hi R-users, > > I a

Re: [R] How to choose a button and scrape the website data

2012-03-05 Thread Tyler Ritchie
SO and ask them for the data. [1] http://automa.to/ [2] http://sikuli.org/ -Tyler On Mon, Mar 5, 2012 at 10:38 AM, Guang Dai wrote: > hi all, > I'm working on scrapping some website data to build a database. > Under most cases, I can use package XML to get the dataset. > However

Re: [R] Vertical string with horizontal letters

2012-02-02 Thread Tyler Rinker
I apologize for the improperly formatted submission. I had my hotmail set to plain text instead of rich text. x <- "output"y <- unlist(strsplit(x, NULL)) plot.new()text(.5, .5, paste(y, collapse="\n")) > From: tyler_rin...@hotmail.com > To: israelb...@hotmail.com; r-help@r-project.org > Date: T

Re: [R] Vertical string with horizontal letters

2012-02-02 Thread Tyler Rinker
One possible solution is to use strsplit to break on each character and then paste to put in a "\n" after each character.  Then when you plot the text should be in the format you desire. x <- "output"y <- unlist(strsplit(x, NULL))p <- cat(paste(y, collapse="\n")) plot.new()text(.5, .5, paste(y,

Re: [R] tm package: handling contractions

2012-01-27 Thread Tyler Rinker
t;- function(x) gsub("’", "'", x)corp <- tm_map(corp, exchanger)#=== Cheers,Tyler > Date: Fri, 27 Jan 2012 09:50:51 -0500 > From: frien...@yorku.ca > To: r-help@r-project.org > Subject: [R] tm package: h

Re: [R] References for book "R In Action" by Kabacoff

2011-12-01 Thread Tyler Rinker
In the ebook version there is a list of references (pp. 434-437). > Date: Thu, 1 Dec 2011 10:48:45 +0100 > From: lig...@statistik.tu-dortmund.de > To: ravi.k...@gmail.com > CC: r-help@r-project.org > Subject: Re: [R] References for book "R In Action" by Kabacoff > > On 01.12.2011 10:10, Ravi Kul

Re: [R] Problem creating reference manuals from latex

2011-11-15 Thread Tyler Rinker
one seemed easiest ot me) Go to the command prompt and type: mpm --verbose --install inconsolata Thanks again Duncan! I appreciate it. Tyler > Date: Tue, 15 Nov 2011 06:15:05 -0500 > From: murdoch.dun...@gmail.com > To: tyler_rin...@hotmail.com > CC: r-help@r-project.org

Re: [R] Problem creating reference manuals from latex

2011-11-14 Thread Tyler Rinker
ut inconsolata, unfortunately I am not grasping what I need to do. Tyler > Date: Mon, 14 Nov 2011 21:59:10 -0500 > From: murdoch.dun...@gmail.com > To: tyler_rin...@hotmail.com > CC: r-help@r-project.org > Subject: Re: [R] Problem creating reference manuals from latex > > On

[R] Problem creating reference manuals from latex

2011-11-14 Thread Tyler Rinker
s n R font's file that Miktext needs to build the manual. I'd like to be able generate the reference manuals again without the Internet. While the code above worked in the past I'm open to alternative methods. Version: R 2.14.0 2011-10-31 OS: Windows 7 Latex: MikTex 2.9 Thank y

Re: [R] Building a statically-linked extension?

2011-11-11 Thread Tyler Pirtle
On Fri, Nov 11, 2011 at 2:09 AM, Prof Brian Ripley wrote: > On Thu, 10 Nov 2011, Tyler Pirtle wrote: > > Hi there, >> >> I'm writing an R extension that has a C component that relies on two third >> party libraries that I'm bundling >> with the exte

[R] Building a statically-linked extension?

2011-11-10 Thread Tyler Pirtle
here's two questions - 1, does R allow statically linked C extensions to be used at runtime? 2, are there any standard ways of having R build my extension statically? Thanks, Tyler [[alternative HTML version deleted]] __ R-help@r-proje

Re: [R] Rd2pdf error after 2.14 upgrade‏

2011-11-07 Thread Tyler Rinker
I have determined this is a MikTex problem and not an R problem. I apoligize for the post. > From: tyler_rin...@hotmail.com > To: r-help@r-project.org > Date: Mon, 7 Nov 2011 20:38:54 -0500 > Subject: [R] Rd2pdf error after 2.14 upgradeþ > > > > The command Rd2pdf was rather useful for open

[R] Rd2pdf error after 2.14 upgrade‏

2011-11-07 Thread Tyler Rinker
> The command Rd2pdf was rather useful for opening a package's manual > when you don't have access to the Internet (by using latex to pdf > conversion). However the way the function seems to operate changed at > version 2.14 of R. The noted changes listed on CRAN for this function > are as follo

Re: [R] Summary stats in table

2011-10-23 Thread Tyler Rinker
I had to set it up as a data frame and then it workd beautifully with the reshape package. DF<-data.frame(A,B,x) library(reshape) cast(DF, A ~ B, fun.aggregate=mean, margins=c("grand_row", "grand_col")) Cheers Tyler &

Re: [R] summarizing a data frame i.e. count -> group by

2011-10-23 Thread Tyler Rinker
This could be done with aggregate but I am unfamiliar with it so I'll give what I think you want from your message using the library 'reshape' that you'll have to doneload. If you're problem is large the data.table library would be much faster. You haven't really said what you'd like to get

Re: [R] Expanding rows of a data frame into multiple rows

2011-10-22 Thread Tyler Rinker
To further Weidong Gu's suggestion merge would give you what you want but not the numeric column corresponding to the sector. Adding that would be easy enough via transform if you really desired it. Tyler obs.l<-sapply(input$observations,length) desire.output<-data.frame(s

Re: [R] Square ended segments

2011-10-19 Thread Tyler Rinker
ents. It even says "... further graphical parameters (from par)" right in the help page for ?segments. I apoligize for this oversight and appreciate your response anyway. Tyler Rinker > Date: Wed, 19 Oct 2011 17:34:27 -0400 > Subject: Re: [R] Square ended segments >

[R] Square ended segments

2011-10-19 Thread Tyler Rinker
Good Afternoon R Community, I am working on plotting behavior codes over short durations of time (a few seconds at a time over 1-2 hrs). I am utilizing as.POSIXct to store the time. I wanted to make a quasi time line using these time. I utilized the segments function to represent these time

Re: [R] Remote environments, calling functions

2011-10-17 Thread Tyler Pirtle
On Mon, Oct 17, 2011 at 5:44 PM, Peter Langfelder < peter.langfel...@gmail.com> wrote: > On Mon, Oct 17, 2011 at 5:28 PM, Tyler Pirtle wrote: > > Hi there, > > > > I'm trying to do something like a migration of an R program. I've got a > > functi

[R] Remote environments, calling functions

2011-10-17 Thread Tyler Pirtle
ments is limited - but I'm not convinced that what I'm trying to do is completely out of reach. Any thoughts? ;) Thanks, Tyler [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listi

Re: [R] Import in R with White Spaces

2011-10-03 Thread Tyler Rinker
a.frame(dat, dat)) #nasty white spaces white(DAT) #white spaces gone Tyler > Date: Mon, 3 Oct 2011 08:14:27 -0700 > From: francy.casal...@gmail.com > To: r-help@r-project.org > Subject: [R] Import in R with White Spaces > > Hi, > > I have a simple question about i

Re: [R] R help on write.csv

2011-09-21 Thread Tyler Rinker
using ?object. So if you type "?write.csv" into the r console it will take you to a help page. There you will see info about the object and in this case append is what you will most likely want to look at. Tyler > From: ashish.ku...@esteeadvisors.com > To: r-help@r-proj

[R] Package dependency

2011-09-20 Thread Tyler Rinker
ow do I get my package to automatically download dependencies from CRAN as other CRAN packages do when I install them to my library for the first time? Tyler Rinker R version 2.14 (beta) Windows 7 [[alternative HTML vers

[R] Generating data when mean and 95% CI are known

2011-09-07 Thread Tyler Hicks
Is there a function in R that will generate data from a known mean and 95% CI? I do not know the distribution or sample size of the original data. Cheers, Tyler L Hicks PhD Student Washington State University - Vancouver E-mail: tyler_hi...@wsu.edu Website: www.thingswithwings.org "

Re: [R] url prep function (backslash issue)

2011-08-30 Thread Tyler Rinker
Duncan, Thanks. Combined with what Brian Ripley wrote it all works. For future thread searchers this worked: oldstring <- readline() C:\Users\Rinker\Desktop\Research& Law\Data\School Data 09-10 chartr("\\", "/",olds

Re: [R] url prep function (backslash issue)

2011-08-30 Thread Tyler Rinker
Thank you Brian. When I wrote the email I typed url into the subject line by accident. I mean path. Thank you,Tyler > Date: Tue, 30 Aug 2011 14:00:22 +0100 > From: rip...@stats.ox.ac.uk > To: tyler_rin...@hotmail.com > CC: r-help@r-project.org > Subject: Re: [R] url prep func

[R] url prep function (backslash issue)

2011-08-30 Thread Tyler Rinker
") Error: '\U' used without hex digits in character string starting "C:\U" This is what I'd like the function to return: [1] "C:/Users/Rinker/Desktop/Research & Law/Data/School Data 09-10" I want a function in which I enter a path and it returns the pa

Re: [R] Make a function work on an environemnt

2011-08-27 Thread Tyler Rinker
ond... Michael Weylandt On Sat, Aug 27, 2011 at 9:25 AM, Tyler Rinker wrote: A previous attempt at this question resulted in the message running together, making the message difficult to read and the code lines hard to distinquinsh. In my R learning I've come across a situation

Re: [R] Make a function work on an environemnt

2011-08-27 Thread Tyler Rinker
not the global environment. Not sure about the second... Michael Weylandt On Sat, Aug 27, 2011 at 9:25 AM, Tyler Rinker wrote: A previous attempt at this question resulted in the message running together, making the message difficult to read and the code lines hard to distinquinsh.

Re: [R] Make a function work on an environemnt

2011-08-27 Thread Tyler Rinker
tion? Windows 7 R version 2.14 beta Thanks in advance, Tyler Rinker [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

[R] Make a function work on an environemnt

2011-08-26 Thread Tyler Rinker
his code not work inside the function? Please critique both my attempts?What would I need to do to make the pieces of code work inside the function? Windows 7R 2.14 beta Thanks in advance,Tyler Rinker [[alternative HTM

Re: [R] Construct a File Path: File Path Unknown

2011-08-25 Thread Tyler Rinker
Bill, Thank you very much! That's very fast. Exactly what I was looking for. Jean thank you for your response as well. Tyler> From: wdun...@tibco.com > To: tyler_rin...@hotmail.com; jvad...@usgs.gov > CC: r-help@r-project.org > Subject: RE: [R] Construct a File Path:

Re: [R] Construct a File Path: File Path Unknown

2011-08-25 Thread Tyler Rinker
xample dir("c:/", pattern="foo.pdf", full.names=T, ignore.case=T, recursive=T) Jean Tyler Rinker wrote on 08/25/2011 11:54:28 AM: > > I am not a programmer and am self-taught so I may lack the > language to ask this appropriately (perhaps why an rseek s

[R] Construct a File Path: File Path Unknown

2011-08-25 Thread Tyler Rinker
I am not a programmer and am self-taught so I may lack the language to ask this appropriately (perhaps why an rseek search was unfruitful). Let's say I saved a file to my desktop called foo.pdf. Then I want R to return the file path of foo.pdf (pretend I don't know the location(path) of

Re: [R] Opening package manual from within R

2011-08-24 Thread Tyler Rinker
brary is the package name method is either web or system (web is Internet based and faster where as system creates the pdf from the library latex code and is slower) #= Thanks for your responses! Tyler > Date: Wed, 2

Re: [R] Opening package manual from within R

2011-08-23 Thread Tyler Rinker
tion to do this, however, I'm guessing there is because of the existance of the vignette() function Cheers Tyler > CC: gunter.ber...@gene.com; r-help@r-project.org > From: dwinsem...@comcast.net > To: tyler_rin...@hotmail.com > Subject: Re: [R] Opening package manual from wit

Re: [R] Opening package manual from within R

2011-08-23 Thread Tyler Rinker
ual(tm) > Date: Tue, 23 Aug 2011 15:10:51 -0700 > Subject: Re: [R] Opening package manual from within R > From: gunter.ber...@gene.com > To: tyler_rin...@hotmail.com > CC: r-help@r-project.org > > After loading the package, does help.start() do what you want? > >

[R] Opening package manual from within R

2011-08-23 Thread Tyler Rinker
Simple question but searching rseek did not yield the results I wanted. Question: Is there a way to open a help manual for a package from within R. For instance I would like to type a function in r for the tm package and R would open that PDF as seen here: http://cran.r-project.org/web/packa

Re: [R] Renaming levels of a factor in a dataframe

2011-08-14 Thread Tyler Rinker
Here's an example of relevel used to relevel and combine groups InsectSprays2<-InsectSprays levels(InsectSprays2$spray) levels(InsectSprays2$spray)<-list(new1=c("A","C"),YEPS=c("B","D","E"),LASTLY="F") levels(InsectSprays2$spray) InsectSprays2 So for you try... levels (Data1$Site) <- list(F

[R] Question

2011-08-08 Thread Tyler Gruhn
Are there any methods of getting large amounts of data to process into heatmaps that I should look into? Thank you very much, Tyler [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] plotting many unique colors with categorical data

2011-08-05 Thread Tyler Rinker
col=sample(colors()[-1], ncol(dataframe), replace = FALSE) This may help but since it's randomized it's a crap shoot but the colors are likely to be more distinct. > Date: Fri, 5 Aug 2011 15:38:57 -0400 > From: sarah.gos...@gmail.com > To: rloise...@usgs.gov > CC: r-help@r-p

Re: [R] excel dates and times in R

2011-08-05 Thread Tyler Rinker
You can also make the change in the excel file first. In excel highlight the date column-> right click-> format cells ->under number tab click custom ->in the Type field type the following "-mm-dd" Now save and import. > Date: Fri, 5 Aug 2011 13:59:16 +0100 > From: ted.hard...@wlandre

Re: [R] ifelse returns

2011-07-29 Thread Tyler Rinker
nd of code > #=== > > R Console Output > > (MODE1<-as.vector(as.numeric(as.character(subset(df,Freq==m)[,1] > [1] 4 5 6 > > ifelse(sum(df$Freq)/length(df$Freq)==1,

[R] ifelse returns

2011-07-29 Thread Tyler Rinker
)==1,warning("No Mode: Frequency of all > values is 1", call. = FALSE),MODE1) [1] 4 Thank you in advance, Tyler [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://sta

Re: [R] color of math annotation in legend

2011-07-28 Thread Tyler Rinker
Use the text.col argument as below ?legend x=y=1:100 z=seq(0.5,50,by=0.5) plot(x,y,type='l',col='black') lines(x,z,col='red') legend('topleft',c(expression(paste(alpha," = ", 1)), expression(paste(alpha," = ", 2))),text.col=c("black","red")) > Date: Thu, 28 Jul 2011 02:32:04 -0500 > From

[R] (no subject)

2011-07-14 Thread Tyler Rinker
t how to deal with duplicates after that; that’s the easy part). Thank you in advance for your help, Tyler Rinker PS if your idea is a for loop please explain it well or provide the code because I do not have a programming background and for loops are very difficult to wrap my head around. R

Re: [R] Storing and managing custom R functions for re-use

2011-07-09 Thread Tyler Rinker
.First. Again, this makes it easy to quickly reference what you have and makes all your functions quickly accessible. Tyler > Date: Sat, 9 Jul 2011 13:30:51 +0200 > From: s.chamai...@yahoo.fr > To: r-help@r-project.org > Subject: [R] Storing and managing custom R functions for re-u

Re: [R] library(doBy) will not load

2011-06-28 Thread Tyler Rinker
ge: ‘lme4’ The following object(s) are masked from ‘package:stats’: AIC, BIC Loading required package: snow Error in as.character(t) : 't' is missing Error: package ‘snow’ could not be loaded > recodeVar Error: object 'r

Re: [R] library(doBy) will not load

2011-06-28 Thread Tyler Rinker
: ‘lme4’ The following object(s) are masked from ‘package:stats’: AIC, BIC Loading required package: snow Error in as.character(t) : 't' is missing Error: package ‘snow’ could not be loaded > recodeVar Error: object 'r

[R] library(doBy) will not load

2011-06-28 Thread Tyler Rinker
wing object(s) are masked from ‘package:stats’: AIC, BIC Loading required package: snow Error in as.character(t) : 't' is missing Error: package ‘snow’ could not be loaded > recodeVar Error: object 'recodeVar' not found Thank you in advance, Tyler

Re: [R] how to simulate Likert-type data using R

2011-06-26 Thread Tyler Rinker
?sample Date: Sun, 26 Jun 2011 02:26:10 -0700 From: wjca...@hotmail.com To: r-help@r-project.org Subject: [R] how to simulate Likert-type data using R Dear R members Could someone tell me how to simulate Likert-type data using the rnorm function. Let's say, 200*15 random numbers in a var

[R] Somers Dyx

2011-06-12 Thread Tyler Rinker
incorrect logic and/or there's an easier way to calculate this thing; perhaps there’s a ‘golden’ function already created in an [R] package that I'm overlooking. Thanks in advance, Tyler [[

[R] Score Test Function

2011-06-11 Thread Tyler Rinker
Greeting R Community, I'm trying to learn Logistic Regression on my own and am using An Introduction to Logistic Regression Analysis and Reporting (Peng, C., Lee, K., & Ingersoll, G. ,2002). This article uses a Score Test Stat as a measure of overall fit for a logistic regression model. The

Re: [R] draw text outside plot boundaries

2011-06-06 Thread Tyler Rinker
~cyl));with(mtcars,plot(mpg~cyl)) textClick(expression(sum((bar(X)-X^2))),"pink",.5) Cheers Tyler > Date: Mon, 6 Jun 2011 15:09:29 -0700 > From: ehl...@ucalgary.ca > To: e...@q32.com > CC: r-help@r-project.org > Subject: Re: [R] draw text outside plot boundaries &g

Re: [R] Dual colour ramps based on pos/neg values

2011-05-10 Thread Tyler Hayes
My apologies for the late reply but I was out of town for a while. The solution I wound up using is below. Sorry about the text if it didn't wrap well. You should be able to pick out the code from the comments though. Thanks for all the help! Cheers, t. ## > Start hack ## ##

[R] Dual colour ramps based on pos/neg values

2011-04-21 Thread Tyler Hayes
Hi Everyone: I'm going a little nuts here and am hoping someone might have some ideas to help out. Here is my problem: I am using the calendarHeatMap function (http://blog.revolutionanalytics.com/2009/11/charting-time-series-as-calendar-heat-maps-in-r.html) to plot some values of percentages abov

Re: [R] Simple Missing cases Function

2011-04-19 Thread Tyler Rinker
I use the following code/function which gives me some quick descriptives about each variable (ie. n of missing values, % missing, case #'s missing, etc.): Fairly quick, maybe not pretty but effective on either single variables or entire data sets. NAhunter<-function(dataset) { find.NA<-functio

[R] My added packages won't load in r.2.13.0

2011-04-16 Thread Tyler Rinker
Problem: I updated from r.2.12 to r.2.13 and when I use library(car) for example it says: > library(car) Error in library(car) : there is no package called 'car' So I found that the packages I had before are located in: C:\Users\Documents\R\win-library\2.12 Now they're in: C:\Users\Documen

[R] 2-parameter MLE problems

2011-04-12 Thread Tyler Schartel
om this code: "Error in optim(poisNLL, start = c(10, 0.1), method = "BFGS") : cannot coerce type 'closure' to vector of type 'double'" Any assistance provided would be greatly appreciated! Best, Tyler [[alternative HTML version deleted]]

[R] Automated Fixed Order Stepwise Regression Function

2011-04-07 Thread Tyler Rinker
Greetings, I am interested in creating a stepwise fixed order regression function. There's a function for this already called add1( ). The F statistics are calculated using type 2 anova (the SS and the F changes don't match SPSS's). You can see my use of this at the very end of the email.

Re: [R] Function for finding NA's

2011-04-03 Thread Tyler Rinker
an R user and have loads to learn. Simpler is better. Thanks David for your time and I will take the information you gave and put it to use in new situations. Tyler > CC: r-help@r-project.org > From: dwinsem...@comcast.net > To: tyler_rin...@hotmail.com > Subject: Re: [R] Fun

[R] Function for finding NA's

2011-04-03 Thread Tyler Rinker
people feel is worthwhile for me to put into a package of some sort? Tyler Here's the code: NAhunter<-function(dataset) { find.NA<-function(variable) { if(is.numeric(variable)){ n<-length(variable) mean<-mean(variable, na.rm=T) median<-median(variable, na.rm=T) sd<

  1   2   >