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
, minimal, self-contained, reproducible code.
--
___
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
-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-contained, reproducible code.
--
___
Luke Miller
Postdoctoral Researcher
Hopkins
.
--
___
Luke Miller
Postdoctoral Researcher
Hopkins Marine Station, Stanford University
120 Ocean View Blvd
Pacific Grove, CA 93950
831-655-6208
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman
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 ql16...@gmail.com wrote:
Hi,
I have downloaded a bunch of bz2 files. I wonder if R will be able to
unzip them in a
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
, 2012 at 11:24 AM, Julia Sommerfeld julia.so...@gmx.de wrote:
Hi Luke,
Thank you for the answer.
On 20/01/2012, at 6:11 , Luke Miller wrote:
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
and provide commented, minimal, self-contained, reproducible code.
--
___
Luke Miller
Postdoctoral Researcher
Marine Science Center
Northeastern University
Nahant, MA
(781) 581-7370 x318
__
R-help@r-project.org mailing list
https
.
--
___
Luke Miller
Postdoctoral Researcher
Marine Science Center
Northeastern University
Nahant, MA
(781) 581-7370 x318
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
/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 University
Nahant, MA
(781) 581-7370 x318
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 noahsilver...@ucla.edu wrote:
Hi,
I'm interested in doing some sound analysis with R.
Does anyone have any experience/methods for reading in a wav
-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
___
Luke Miller
Postdoctoral Researcher
Marine Science Center
Northeastern University
Nahant, MA
(781) 581-7370 x318
__
R-help@r
and provide commented, minimal, self-contained, reproducible code.
--
___
Luke Miller
Postdoctoral Researcher
Marine Science Center
Northeastern University
Nahant, MA
(781) 581-7370 x318
[[alternative HTML version deleted
://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
___
Luke Miller
Postdoctoral Researcher
Marine Science Center
Northeastern University
Nahant, MA
(781) 581-7370 x318
[[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 provide commented, minimal, self-contained, reproducible code.
--
___
Luke
://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 Center
Northeastern
-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-contained, reproducible code.
--
___
Luke Miller
Postdoctoral Researcher
Marine
...@comcast.net
wrote:
On Jun 20, 2011, at 11:47 AM, Luke Miller wrote:
If we assume that your data are in a data frame (which doesn't allow
spaces in column names, hence the periods in the call below):
df = data.frame(Major.Gleason = c(4,5,2,3), Minor.Gleason = c(3,2,4,3))
You can paste together
-contained, reproducible code.
--
___
Luke Miller
Postdoctoral Researcher
Marine Science Center
Northeastern University
Nahant, MA
(781) 581-7370 x318
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing
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 mille...@gmail.com wrote:
How about using paste() inside the jpeg() function to append a '.jpg
://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
___
Luke Miller
Postdoctoral Researcher
Marine Science Center
Northeastern University
Nahant, MA
(781) 581-7370 x318
[[alternative HTML version deleted
://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 Center
Northeastern
.
__
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-contained, reproducible code.
--
___
Luke Miller
Postdoctoral Researcher
23 matches
Mail list logo