Displaying 20 results from an estimated 400 matches similar to: "reshape"
2012 Nov 01
2
Name assignment in for loop
Dear helpeRs-
I'm using a for loop to create a series of models.
I'm trying to assign a name to each model created,
using the loop index. The loop gets stuck at the name
of the model, giving the error "target of assignment
expands to non-language object". The linear model runs
without error; only the name is problematic.
Here is the current loop syntax. The use of dat
2012 Jun 26
1
kernel-debuginfo
Hi!
I'm trying systemtap on CentOS 6.2 kernel-2.6.32-220.23.1.el6.x86_64. My
problem is that I can't find kernel-debuginfo... corresponding to my kernel
version.
The systemtap docs suggest rebuilding the kernel from sources, but it looks
like I will have to install my own kernel, which is not acceptable on the
production machine.
Where can I find the debuginfo for the latest CentOS
2012 Nov 07
0
Annotation using org.At.tair.db package in R
Iam using R version 2.15 in a linux operating system. I have a matrix
consisting of the gene ids and their specific signal intensity values as
follows( a subset of the whole matrix) :
probes GSM362180 GSM362181 GSM362188 GSM362189 GSM362192
244901 5.094871713 4.626623079 4.554272515 4.748604391 4.759221647
244902 5.194528083 4.985930299 4.817426064 5.151654407 4.838741605
2010 Nov 30
1
Zooming in to a ggplot (a sort of ylim, but ylim won't do)
Dear Helpers,
I wonder whether you might be able to help me. I have a plot composed of
ggplot (and a follow on geom_smooth call). I would like to restrict the
display range of the y axis to a smaller range, a sort of zooming onto a
region. I attempted to use ylim, but it will effect the range (i.e. effect
the geom_smooth call). Is there any way that I can save the results up to
geom_smooth call
2006 May 30
2
Help with adding minutes to time
Dear R Helpers,
I need to read time from a .csv file which is formated as chartime
(09:12:00) below. I need to add one minute (cf chartime2).
Then I need to output the value just as 09:13 without the seconds for
writing a csv file and input in another program.
I get it with the following reproducible example but I can't help
thinking that there must a less clumsy way to do that !
Thanks
2009 Mar 13
2
Using format to add leading zeroes
I have a numerical vector which contains a (poorly) formatted time
column, which, in theory, should be HHMM, but was distributed as an
integer, so, for 12:15 am, it is saved as "15" (e.g. HHMM = 0015 with
the zeroes stripped). I'm trying to use this in conjunction with
strptime, but I'm thinking because each time is an integer ranging from
1 to 4 digits, I probably need to
2013 May 02
3
R issue with unequal large data frames with multiple columns
I'm a bit of an amateur R programmer. I can do simple R scenarios but my
handle on complex grammatical issues isn't steady.
I have 12 CSV files that I've read into dataframes. Each has 8 columns and
over 2000000 rows. Each dataframe has data associated by time component
and a date component in the format of:
X.DATE and then X.TIME
X.DATE is in the format of MMDDYYYY and X.TIME is
2006 Jul 13
6
Webservices Xml-Rpc and authentication
Hello,
I want to build an application where i have client and server. I need to exacute
commands with XM-RPC. I can get all this working, following the howto''s in wiki and main
website.
But the problem is they are all unsecure. I can''t seem to find any web service examples
where they use authentication, or ssl.
Just wondering if anyone know how i go about doing this.
At the
2011 Mar 24
5
subset and as.POSIXct / as.POSIXlt oddness
Dear R users,
Given this data:
x <- seq(1,100,1)
dx <- as.POSIXct(x*900, origin="2007-06-01 00:00:00")
dfx <- data.frame(dx)
Now to play around for example:
subset(dfx, dx > as.POSIXct("2007-06-01 16:00:00"))
Ok. Now for some reason I want to extract the datapoints between hours
10:00:00 and 14:00:00, so I thought well:
subset(dfx, dx >
2007 Oct 11
13
ANNOUNCE: Xen 3.1.1 released!
I''m pleased to announce the availability of Xen 3.1.1 -- a bugfix release in
the Xen 3.1 series. Many bugs, large and small, are fixed by this release
and we recommend that all users and vendors upgrade.
The source repository is available using mercurial from:
http://xenbits.xensource.com/xen-3.1-testing.hg
Binary packages have not yet been prepared for this release.
Thanks to
2007 Oct 11
13
ANNOUNCE: Xen 3.1.1 released!
I''m pleased to announce the availability of Xen 3.1.1 -- a bugfix release in
the Xen 3.1 series. Many bugs, large and small, are fixed by this release
and we recommend that all users and vendors upgrade.
The source repository is available using mercurial from:
http://xenbits.xensource.com/xen-3.1-testing.hg
Binary packages have not yet been prepared for this release.
Thanks to
2013 May 17
3
Command line not responding
Running 9.0-Stable on an i386.
Whenever I type a command at the prompt I get
the output
/usr/local/lib/libintl.so.9: Undefined symbol "_ThreadRuneLocale"
and nothing else - the command will not run. Just the
above output. Commands like "ls" and "exit" work, but not much
else. This happends whether I am logged in a user or as root.
Cannot even halt the system from
2012 Nov 28
2
hhmm time format, strptime and %k
Hello,
I am having trouble with the conversion specifications as described in
the strptime help page.
> head(dat)
Date Time Open High Low Close Up Down Volume
1 11/19/2012 935 137.89 138.06 137.82 138.05 3202541 3013215 0
2 11/19/2012 940 138.04 138.40 138.02 138.38 2549660 2107595 4657255
3 11/19/2012 945 138.38 138.40 138.18 138.19 1627379 1856318 3483697
4
2017 Apr 05
7
Timezone and date
When I do the date +%Z I get the timezone. Which currently is EDT.
I am sending information to another system, that says EDT is not a valid
timezone. I have no way to modify the other system.
My question is - is there a way to get the non-day-lite savings time zone ?
For example EST is valid - EDT is not.
Just curious if there is an easy way already present to get a standard time
zone.
Thanks,
2015 Apr 18
2
truncated warning messages
Hi,
I was installing hundreds of packages on a machine with a single call to
install.packages() and after a long time the call to install.packages()
finally returned with the following warnings and errors:
Warning messages:
1: packages ?hgu133aprobe?, ?hgu95av2.db?, ?BSgenome.Celegans.UCSC.ce2?,
?BSgenome.Mmusculus.UCSC.mm10?,
?BSgenome.Dmelanogaster.UCSC.dm3.masked?,
2017 Mar 01
2
error en el cambio de formato desde factor a numerico USANDO LAPPLY
?Hola,
Es más fácil que todo eso...
Es que en tu fichero de entrada, la segunda fila son las unidades de las
variables que tienes en la primera fila, pero "R" al leerlas las considera
como un string que altera la clase de toda la columna cuando ésta es
numérica.
Simplemente eliminando esa segunda fila, las columnas acaban teniendo la
clase que deben..
2010 Aug 18
1
syntax for batching rbind process
Dear helpeRs,
I am attempting to read in a series of csv files so I can bind them
into one large dataframe. I have written the following script:
test <- list.files(".", pattern = "csv") #lline 1
imp <- list() #line 2
for (i in 1:length(test)) { #line 3
imp[i] <- read.csv(test[i]) #line 4
}
1998 Jun 26
2
R-beta: Problem with functions using sub and gsub
Previously I had problems with data(foo) and Gass and I had problems with
help(). His diagnostic was "POSIX regular expressions not available" and mine
was "invalid regular expression". Martin Maechler has no problems with Solaris
2.5 and suggested a regular expression library was needed, e.g., regex-x.xx.
Solaris 2.4 has regex.o in /usr/ccs/libgen.a and regex.h in
2010 Aug 12
4
conditional selection of dataframe rows
Dear helpeRs,
I have a dataframe (14947 x 27) containing measurements collected
every 5 seconds at several different sampling locations. If one
measurement at a given location is less than zero on a given day, I
would like to delete all measurements from that location on that day.
Here is a toy example:
toy <- data.frame(CH = rep(3:5,3), DAY = c(rep(4,5), rep(5,4)),
SLOPE =
2010 Jun 03
3
reformat time from hhmm
Hi,
I'm newish to R, a recent convert from Matlab... So far I'm impressed, and
determined to solve the following problem, which seems like it should be
easy:
I have a long (millions of points) data series recorded with a datalogger
that produced a timestamp in 4 columns: Year, Day of Year, Time in (H)HMM
and Seconds. I would like to have R interpret these columns as a time
object and have