[R] Inconsistent error opening connection on URL

2017-02-09 Thread Ryan Utz
4,2015.txt ',sep='') X=read.delim(URL.2) Thanks, Ryan -- Ryan Utz, Ph.D. Assistant professor of water resources *chatham**UNIVERSITY* Home/Cell: (724) 272-7769 [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To U

Re: [R] Opening or activating a URL to access data, alternative to browseURL

2016-10-12 Thread Ryan Utz
Eureka! I wish I could send a box of digital donuts. Thanks so much On Tue, Oct 11, 2016 at 9:21 AM, Duncan Murdoch <murdoch.dun...@gmail.com> wrote: > On 11/10/2016 7:59 AM, Ryan Utz wrote: > >> Bob/Duncan, >> >> Thanks for writing. I think some of the t

Re: [R] Opening or activating a URL to access data, alternative to browseURL

2016-10-11 Thread Ryan Utz
On Thu, Sep 29, 2016 at 4:59 PM, Duncan Murdoch <murdoch.dun...@gmail.com> > wrote: > >> On 29/09/2016 3:29 PM, Ryan Utz wrote: >> >>> Hi all, >>> >>> I've got a situation that involves activating a URL so that a link to >>> some >>&

[R] Opening or activating a URL to access data, alternative to browseURL

2016-09-29 Thread Ryan Utz
the line #2 above without having to open a browser? We have hundreds of species that you can see after the '=' bit of the URL, so I'm trying to keep the browsing situation sane. Thanks! R -- Ryan Utz, Ph.D. Assistant professor of water resources *chatham**UNIVERSITY* Home/Cell: (724) 272-7769

[R] Treating a vector of characters as object names to create list

2016-09-04 Thread Ryan Utz
and I'd like to just cleanly turn the elements in 'merging' into a list. This does not work: ### merged.parameters=list(get(merging)) ### because it's only grabbing the first element of 'merging', for some reason. Any advice? This feels like it really should be easy... -- Ryan Utz, Ph.D

[R] rjags crashes RStudio every time it tries to load

2016-05-20 Thread Ryan Utz
successfully in regular R, but I would prefer not to be constrained to that platform if possible. -- Ryan Utz, Ph.D. Assistant professor of water resources *chatham**UNIVERSITY* Home/Cell: (724) 272-7769 [[alternative HTML version deleted]] __ R-help@r

Re: [R] ts or xts with high-frequency data within a year

2016-03-30 Thread Ryan Utz
ssuming time unit is day > > measurement <- sqrt(time) + 1/(1.2+sin(time*2*pi)) + > rnorm(length(time),0,.3) > > plot(decompose(ts(measurement, frequency=96))) > > How is your code different from the above? > > > > Bill Dunlap > TIBCO Software > wdun

[R] ts or xts with high-frequency data within a year

2016-03-30 Thread Ryan Utz
ple(100,size=6000,replace=T) Y=xts(X[,3],order.by=X[,2]) decompose(Y) Z=ts(X[,2],start=c(2015,11),frequency=24*365) plot(decompose(Z)) ### Am I missing something obvious here? I hope so... -- Ryan Utz, Ph.D. Assistant professor of water resources *chatham**UNIVERSITY* Home/Cell: (724) 272-7

[R] ts or xts with high-frequency data within a year

2016-03-30 Thread Ryan Utz
are a time series. I have tried every manner of specifying frequency= with no luck (96 does not work). All manner of searching for help has turned up fruitless. Can I only do this after I wait another year or two? Thanks, Ryan -- Ryan Utz, Ph.D. Assistant professor of water resources *chatham

[R] vjust unresponsive (ggplot2)

2015-12-22 Thread Ryan Utz
of time for any help, Ryan -- Ryan Utz, Ph.D. Assistant professor of water resources *chatham**UNIVERSITY* Home/Cell: (724) 272-7769 [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-13 Thread Ryan Utz
. instead. You may want to use a shorter name than dataList. Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Ryan Utz Sent: Monday, December 12, 2011 3:15 PM To: r

[R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Ryan Utz
, with zero success. And I've scoured the help pages for about 45 minutes (just to preempt any read the help responses). Please help! Thanks, Ryan -- Ryan Utz, Ph.D. Aquatic Ecologist/STREON Scientist National Ecological Observatory Network Home/Cell: (724) 272-7769 Work: (720) 836-2488

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Ryan Utz
] On Behalf Of Ryan Utz Sent: Monday, December 12, 2011 1:24 PM To: r-help@r-project.org Subject: [R] Boxplot of multiple vectors with different lengths Hello, I'm attempting to write a code that automatically imports data from different files (with different lengths-just one variable

[R] Finding/identifying a value within a factor

2011-07-25 Thread Ryan Utz
, but I think I have that coding lined up once I can just identify them from the stew. I've exhausted help and net resources so far... Thanks, Ryan -- Ryan Utz, Ph.D. Aquatic Ecologist/STREON Scientist National Ecological Observatory Network Home/Cell: (724) 272-7769 Work: (720) 746-4844 ext

[R] Linking 2 columns in 2 databases and applying a function

2011-06-22 Thread Ryan Utz
apply or lapply are key, but I can't make sense of their syntax. Any advice/help?!? Many thanks, Ryan -- Ryan Utz, Ph.D. Aquatic Ecologist/STREON Scientist National Ecological Observatory Network Home/Cell: (724) 272-7769 Work: (720) 746-4844 ext. 2488 [[alternative HTML version deleted

Re: [R] Linking 2 columns in 2 databases and applying a function

2011-06-22 Thread Ryan Utz
Daniel, That indeed does work... and I didn't even need to learn a new function. Thanks! -- Ryan Utz, Ph.D. Aquatic Ecologist/STREON Scientist National Ecological Observatory Network Home/Cell: (724) 272-7769 Work: (720) 746-4844 ext. 2488 [[alternative HTML version deleted

[R] Controlling the extent of ablines on plot

2011-05-03 Thread Ryan Utz
) axis(2,at=c(0,2,4,6,8,10),pos=0) abline(h=c(1,2,3,4,5)) ### Is there any way for me to specify that these ablines should not go beyond the y-axis extent? I just want a pretty graph! Thanks! Ryan -- Ryan Utz, Ph.D. Aquatic Ecologist/STREON Scientist National Ecological Observatory Network Home

Re: [R] Controlling the extent of ablines on plot

2011-05-03 Thread Ryan Utz
and it will put a horizontal line at that number. Thanks, Ryan Maybe you could use lines()? plot(1:2) lines(c(1,2),c(1.5,1.5)) -- Ryan Utz, Ph.D. Aquatic Ecologist/STREON Scientist National Ecological Observatory Network Home/Cell: (724) 272-7769 Work: (720) 746-4844 ext. 2488

Re: [R] Counting number of rows with two criteria in dataframe

2011-01-26 Thread Ryan Utz
the much faster count function: count(unique(X)) Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/ -- Ryan Utz Postdoctoral research scholar University of California, Santa Barbara (724) 272 7769 [[alternative

[R] Counting number of rows with two criteria in dataframe

2011-01-25 Thread Ryan Utz
columns (x and y)? (for instance, in the above example, there are 2 instances per unique combination of the first two columns). I can do this in Matlab and it's easy, but since I'm new to R this is royally stumping me. Thanks, Ryan -- Ryan Utz Postdoctoral research scholar University of California

[R] Deleting rows with NA from isolated column in matrix

2010-05-14 Thread Ryan Utz
) x[,]-1 x[5,1]-NA x[3,3]-NA how do I tell R to delete any rows with an NA value in column 3, but NA in column 1 is just fine? I've played with na.omit but that just takes out all of the NA values... Thanks ahead of time for any help, Ryan Utz [[alternative HTML version deleted

[R] Imported tables from Access 2007

2010-03-18 Thread Ryan Utz
Hi all, I am very new to R and I'm trying to import data from Microsoft Access. So far, I've managed to do so successfully using the following code: testdb - file.path(c:\Databse.accdb) channel2 - odbcConnectAccess2007(testdb) data.table - sqlFetch(channel2,data) This successfully imports a

Re: [R] Imported tables from Access 2007

2010-03-18 Thread Ryan Utz
David, Thanks for responding. You were right; I misplaced a backspace (\) with a forward space (/) in my posting. The c:\ doesn't actually work; in my true code there is a forward space. Anyway, the results of str(data) appears as follows: 'data.frame': 90 obs. of 9 variables: $ Fish

[R] Importing Access 2007 data with ROBC

2010-03-09 Thread Ryan Utz
) channel - odbcConnectAccess(testdb) Data - sqlFetch(channel,Table1) it does not work. Thanks for any help! Ryan Utz __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org