Took me a minute to grok the gsubfn solution, but that is sweet! very nice.
thank you very much both for the suggestions,
Landon
--
View this message in context:
http://www.nabble.com/Simple-as.Date-question-dealing-with-a-timezone-offset-tp25491955p25512218.html
Sent from the R help mailing
I've been trying to understand the as.Date functionality and I have a date
and time stamp field that looks like this:
"Tue Sep 15 09:22:09 -0600 2009"
and I need to turn it into an R Date object for analysis.
Simple date conversions I have down, no problem:
> adate = c("7/30/1959")
> as.Date(a
Perfect, that works well. Thank you for the suggestion.
Henrique Dallazuanna wrote:
>
> Try this:
>
> as.matrix(table(x))
>
>
--
View this message in context:
http://www.nabble.com/best-method-to-format-output-of-frequency-table-tp25462448p25472239.html
Sent from the R help mailing lis
I have some security alert log data that I'm parsing and doing some stats on.
One of the fields is the "Classtype" which is the enumerated value of the
type of alert found.
classtypes = factor( alerts$Classtype )
fclass_types = table( classtypes )
fclass_types gives me a frequency table of the
thank you all for the quick responses and helpful explanations. I'm just
getting started with R, so I'll get tripped up by some of this until I get
in the groove.
Thanks again,
Landon
--
View this message in context:
http://www.nabble.com/Simple-question-about-error-on-CSV-import-tp25242899p2
esawdust wrote:
>
> Here's the contents of a simple test2.csv CSV file:
>
> #,Status,Project
> 5842,New,Test
>
>> snortalerts = read.table( "/Users/lcox/Documents/test2.csv", header=TRUE,
>> sep=",", row.names="#")
&g
I have a substantial CSV to import but can't seem to import even the
simplest CSV.
I'm running the latest stable REvolution R on OS X if that is pertinent.
Here's the contents of a simple test2.csv CSV file:
#,Status,Project
5842,New,Test
> snortalerts = read.table( "/Users/lcox/Documents/t
7 matches
Mail list logo