Re: [R] why is as.date function not working for me? (dd/mm/yyyy h:mm)

2014-02-06 Thread Luke Miller
as.Date produces Dates only, with no time information, even if you try to supply it with hours + minutes. For dates+times, use as.POSIXct() or as.POSIXlt() in place of as.Date(). POSIXct produces a numeric value for the number of seconds since your specified origin time (usually 1970-01-01 00:00),

Re: [R] KnitR/RMarkdown: Is there a way to not print a section of the document?

2014-01-27 Thread Luke Miller
ASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- ___ Luke Miller __ R-help@r-project.org mailing list https://stat.ethz.ch/mai

Re: [R] eclipse cran r

2012-06-12 Thread Luke Miller
; > > > > >        [[alternative HTML version deleted]] > > > __ > 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/posting-guide.html &g

Re: [R] How to add grid lines at specific position to a plot?

2012-03-15 Thread Luke Miller
gt; http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- ___ Luke Miller Postdoctoral Researcher Hopkins Marine Station, Stanford University 120 Ocean View Blvd Pacific Grove, CA 93950 831-655-6208 [[alternative HTML

Re: [R] how to unzip files in R

2012-01-31 Thread Luke Miller
Try the bzfile() function instead of unz(). You'll find that you're taken to the same help page for both of those functions. ?bzfile On Tue, Jan 31, 2012 at 2:34 PM, ql16717 wrote: > > Hi, > > I have downloaded a bunch of bz2 files. I wonder if R will be able to > unzip them in a batch mode or e

Re: [R] Incorrect DateTime using ISOdatetime in R

2012-01-20 Thread Luke Miller
TC" / (24*3600) > myTime7 [1] 666.2584 attr(,"tzone") [1] "UTC" > myTime8 = ISOdatetime(2009,1,1,0,0,0, tz = "UTC") + (myTime7*24*3600) > myTime8 [1] "2010-10-29 06:12:09 UTC" That should cure your problems. You should re-run all of your FPT

Re: [R] Incorrect DateTime using ISOdatetime in R

2012-01-20 Thread Luke Miller
666.1751 sure seems like it should return 2010-10-29 04:12:09 based on your example. 666.1751 days from 2009-01-01 is 2010-10-29 + some hours/min/seconds. 0.1751 days * 24 hrs/day = 4.2024 (i.e. 4:00AM + some minutes). 0.2024 hours * 60 min/hr = 12.144 (i.e. 12 minutes + some seconds). 0.144 mi

Re: [R] using StatEt IDE for Eclipse

2011-12-06 Thread Luke Miller
indow. > at de.walware.statet.nico.ui.NicoUITools.accessTool(NicoUITools.java:137) >  at > de.walware.statet.nico.ui.NicoUITools.accessController(NicoUITools.java:178) > at > de.walware.statet.nico.ui.NicoUITools.accessController(NicoUITools.java:166) >  at > de.walware.statet.r.internal.debu

Re: [R] R endnote entry

2011-11-30 Thread Luke Miller
' becomes R. D. C. T. etc. > > Cheers. > > __ > 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/posting-guide.html > and provide commented, minimal, self-co

Re: [R] Specifying Greek Character in Lattice Plot Label

2011-10-21 Thread Luke Miller
g list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > David Winsemius, MD > West Hartford, CT > > ___

Re: [R] Read wav file into R

2011-10-15 Thread Luke Miller
Try the tuneR package. It will read in wav files and has other functions for manipulating sound data. On Oct 15, 2011 9:32 PM, "Noah Silverman" wrote: > Hi, > > I'm interested in doing some sound analysis with R. > > Does anyone have any experience/methods for reading in a wav file? > > -- > Noa

Re: [R] How to adjust the y-axis range in barplot properly

2011-09-22 Thread Luke Miller
org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- ___

Re: [R] Help writing basic loop

2011-09-16 Thread Luke Miller
iling list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- ___ Luke Miller Po

Re: [R] help subsetting data based on date AND time

2011-09-08 Thread Luke Miller
89695.n4.nabble.com/help-subsetting-data-based-on-date-AND-time-tp3799933p3799933.html > Sent from the R help mailing list archive at Nabble.com. > > ______ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help >

Re: [R] Help with creating date as POSIXct

2011-09-01 Thread Luke Miller
gt; https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- ___ Luke Miller Postdoctoral Researcher Marine Science C

Re: [R] strange date problem - May 3, 1992 is NA

2011-06-22 Thread Luke Miller
; locale: > [1] LC_COLLATE=English_United States.1252 > [2] LC_CTYPE=English_United States.1252 > [3] LC_MONETARY=English_United States.1252 > [4] LC_NUMERIC=C > [5] LC_TIME=English_United States.1252 > > attached base packages: > [1] stats     graphics  grDevices utils     dat

Re: [R] Quick R syntax question

2011-06-20 Thread Luke Miller
sign, so I'm not clear why we need to put > quotation marks around the dataframe column headers... > > Thanks, > > Ben > > > On Mon, Jun 20, 2011 at 11:58 AM, David Winsemius > wrote: >> >> On Jun 20, 2011, at 11:47 AM, Luke Miller wrote: >> >>

Re: [R] Quick R syntax question

2011-06-20 Thread Luke Miller
gt; Thanks, > > Ben > >        [[alternative HTML version deleted]] > > __ > 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/posting-guide.html > and prov

Re: [R] print to .jpeg

2011-04-12 Thread Luke Miller
And of course I need to close the parentheses completely on jpeg(). Apologies for the double post. jpeg(paste(species.name, '.jpg', sep = '')) On Tue, Apr 12, 2011 at 10:02 PM, Luke Miller wrote: > How about using paste() inside the jpeg() function to append a 

Re: [R] print to .jpeg

2011-04-12 Thread Luke Miller
__ > 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/posting-guide.html > and provide commented, minimal, self-

Re: [R] Make R 'Beep'

2011-03-08 Thread Luke Miller
/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- ___ Luke Miller Postdoctoral Researcher Marine Science Center Northeastern Univers

Re: [R] Does POSIXlt extract date components properly?

2011-03-01 Thread Luke Miller
tive HTML version deleted]] > > __ > 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/posting-guide.html > and provide commented, minimal, self-co

Re: [R] plot(x,y xlab=NULL,ylab=NULL) but labels still visible.

2010-11-21 Thread Luke Miller
695.n4.nabble.com/plot-x-y-xlab-NULL-ylab-NULL-but-labels-still-visible-tp3052439p3052482.html > Sent from the R help mailing list archive at Nabble.com. > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting