Displaying 20 results from an estimated 20000 matches similar to: "conversion of string"
2012 Feb 02
2
time conversion from second to Y M D H M S format
I have some time data and which is in seconds
time <-c( 126230400 126252000 126273600 126295200 126316800 126338400)
now I wanted to convert this time to Y M D H M S format
I have tried following codes but it does not give me the out put in Y M D
H M S
time_t1 <- as.POSIXlt(time, origin="2005-01-01", tz="GMT")
&
time_f <- as.POSIXct(time,
2012 Jul 19
3
R packages installation error in Ubuntu
Hi,
Recently I have installed R version 2.14.1, after installation I am trying
to install some packages and I get error message. even I tried
install.packages("Rcmdr") but still I am unable to fix this problem.
I would be very grateful if somebody can help me to fix this problem.
install.packages("hdf5")
Installing package(s) into
2012 Feb 23
4
saving all data in r object
I have 100 data files, which contains very huge data sets of location
details ( e.g latitude, longitude, time, temp)
Now I would like to save the all data of these 100 files in r object, so I
can reload data any time.
* Every file has different length of data
latitude <- NULL
longitude <- NULL
time <- NULL
temp <- NULL
for ( i in 1:100) {
data<-
2012 Mar 07
4
add data from .RData file
I got two .RData file e.g data.2005.RData & data.2006.RData
I would like to combine these two different data set and make single RData
file.
in both file there are some NULL files are also available and I would like
to clear this NULL files also.
$ : NULL
$ : NULL
$ : num [1:43285, 1:8] -21.1 -21.1 -24.9 -24.9 -24.9 ...
..- attr(*, "dimnames")=List of 2
.. ..$ : NULL
..
2012 Apr 04
3
spaghetti plots in R
I would like to plat some spaghetti plots from my data , ma data is as
follows
ak[1:3,]
[,1] [,2] [,3] [,4] [,5] [,6] [,7]
[,8] [,9]
[1,] 0.3211745 0.4132568 0.5649930 0.6920562 0.7760113 0.8118568 0.8609301
0.9088819 0.9326736
[2,] 0.3159234 0.4071270 0.5579212 0.6844584 0.7684690 0.8243702 0.8677043
0.8931288 0.9261926
[3,] 0.3075260 0.3993699
2012 Feb 17
1
Plotting issue
I have two different datasets
1) is in monthly format (obs)
2) yearly format (model)
in obs I have 84 files ( 2003:2009)for different months & in model I have 4
different files which has yearly data (2005:2008)
So for calculating my requirement I need these both data sets.
The sample calculations are as follows
file_o<-list.files(path=' ', pattern="0.2.text") #
2014 Dec 05
1
FW: samba 2.2.7a tech issue
________________________________
From: Uday Mhatre<mailto:uday_mhatre at hotmail.com>
Sent: ?05-?12-?2014 12:58
To: Andrea Venturoli<mailto:ml at netfence.it>
Subject: RE: [Samba] samba 2.2.7a tech issue
Just wondering if these samba versions are backward compatible with fedora14 and other Linux distributions.
Regards,
Uday
________________________________
From: Uday
2001 Jul 05
3
plotting time
Hi, all. I'm trying to create a plot that has a range of about an
hour on the x axis, starting at about 10:15.
I have a way I'm currently doing it but it's not working. this is
what I want on the x axis:
|
|
|
|
|
|
|
|
|
|
----------------------------------------------
10:15 10:25 10:35 10:45 10:55 11:05 11:15
what's the best way to plot this out like this?
currently,
2012 Feb 15
2
Plotting monthly maps from yearly data
I have some data set which is available from 2005-2010 . I would like plot
monthly maps out of it.
So how I should write loop that can plot this yearly data to for every month
and write title for individual months too.
--
View this message in context: http://r.789695.n4.nabble.com/Plotting-monthly-maps-from-yearly-data-tp4391704p4391704.html
Sent from the R help mailing list archive at
2012 Apr 20
1
vector subtraction
I would like to calculate vector from existing value
e.g
v <- 1000
s <- 30
d1 <- v-s
d1 <- 970
d2 <- d1 -s
d2 <- 940
d 3 <- d2-s
d3 <- 910
:
:
d15 <- .....
so how I should get vector of length 15 d < - 970,940 , 910 ,
.......
--
View this message in context:
2019 Sep 02
2
AVX2 codegen - question reg. FMA generation
On Mon, 2 Sep 2019 at 16:59, Roman Lebedev <lebedev.ri at gmail.com> wrote:
>
> It appears you need 'reassoc' on fmul/fadd:
> https://godbolt.org/z/nuTzx2
Thanks very much, that was it. Either that or providing
-enable-unsafe-fp-math to llc yielded FMAs. I didn't expect this since
using FMAs here instead of mul/add appears to be safer (the reverse is
unsafe).
~ Uday
2012 Feb 21
4
removing particular row from matrix
I have some data set which has some values -999.000 & I would like to remove
whole row of this kind of values.
e.g
a<-matrix(c(1,2,3,4,4,5,6,6,-999.99,5,9,-999.00),nrow=4)
a<-
[,1] [,2] [,3]
[1,] 1 4 -999.99
[2,] 2 5 5.00
[3,] 3 6 9.00
[4,] 4 6 -999.00
expected answer
[,1] [,2] [,3]
[1,] 2 5 5.00
[2,] 3 6 9.00
I
2012 Feb 14
4
save output of loop
I have some data files e.g 100 . and after for loop I would like to save all
data in one single data frame
file_s <- list.files(path = ".", pattern = "v2.0.2.txt", all.files = FALSE,
full.names = FALSE, recursive = FALSE,
ignore.case = FALSE)
for (i in 1:100){
data = read.table(file_s[i],header=TRUE)
lat = data[,7] # latitude
lon
2020 Feb 08
2
Writing loop transformations on the right representation is more productive
Am Fr., 7. Feb. 2020 um 17:03 Uhr schrieb Chris Lattner <clattner at nondot.org
>:
> > The discussion here is valuable for me, helping me to make my
> > presentation about it at EuroLLVM as relevant as possible. My current
> > idea is to take a complex loop nest, and compare optimizing it using
> > red/green DAGs and traditional pass-based optimizers.
>
> Cool.
2012 Mar 28
4
reading files from two folders
I would like to read data from two different folder and then combine this
together
the code which I have tried are as follows
setwd("/Groups/data_first/")
file_was <- list.files(path = ".", pattern = "v2.0.2.was", all.files =
FALSE, full.names = FALSE, recursive = FALSE, ignore.case = FALSE)
path<-c("/Groups/data_second/")
file_wasaux2
2020 Feb 10
2
Writing loop transformations on the right representation is more productive
Thanks Chris for CCing us.
I remember Michael's presentation and suggestion to consider Roslyn's
design and experience. I'll be glad to discuss further in April. Michael,
we can also talk later this week if you'd like. I'll send you a separate
email.
Loop transformations in MLIR take many different paths. Polyhedral
affine-to-affine, generative/lowering in linalg, and also
2014 Dec 03
2
samba 2.2.7a tech issue
HI samba team,
could not find any email except yours,hence mailing.
A technical problem ,after installing samba package and samba-common 2.2.7a.
Net command is not found with this installation.
Can you forward this issue to the correct tech support ?I need a solution asap hence putting a mail.Kindly revert
regards,
Uday
--
Sent via EmailTray, my personal email concierge.
Get yours at
2020 Jan 30
2
Writing loop transformations on the right representation is more productive
Am Mo., 27. Jan. 2020 um 22:06 Uhr schrieb Uday Kumar Reddy Bondhugula <
uday at polymagelabs.com>:
> Hi Michael,
>
> Although the approach to use a higher order in-memory abstraction like the
> loop tree will make it easier than what you have today, if you used MLIR
> for this representation, you already get a round trippable textual format
> that is *very close* to your
2020 Feb 06
2
Writing loop transformations on the right representation is more productive
Am Mi., 5. Feb. 2020 um 18:13 Uhr schrieb Chris Lattner <clattner at nondot.org>:
> If I understand your claims, you are claiming both that red/green trees are essential for a loop optimizer, and that this essential nature “justifies” the cost of reinventing an entire compiler infrastructure is lower than the benefit of using (e.g.) MLIR to do this. I haven’t seen evidence of either
2012 Jun 15
2
time zones and the chron to POSIXct conversion
Hey R folks,
i found some strange (to me) behaviour with chron to POSIXct conversion.
The two lines of code result in two different results, on ewith the
correct time zone, one without:
library(chron)
as.POSIXct(chron('12/12/2000'), tz = 'UTC')
as.POSIXlt(chron('12/12/2000'), tz = 'UTC')
Only the code below would give me a POSIXct object with the correct time