Displaying 20 results from an estimated 400 matches similar to: "How to override coerion error in 'scan'"
2004 Jun 14
4
Coercing a dataframe column to datetime
I am trying to coerce a data frame column from character to datetime using strptime but keep getting an error because the length of the coerced object is always 9. What am I doing wrong here:
.................................................................
> ds <- cbind(1:2, c("02/27/92 23:03:20", "02/27/92 22:29:56")); ds
[,1] [,2]
[1,]
2004 Jun 08
2
Is there an R-version of rayplot
I need to make plots similar to those produced by the s-plus rayplot function but can't seem to find it in R. These 'vector maps' plot a ray or vector at each specified location. Is there something similar in R ?
--Rich
Richard Kittler
AMD TDG
408-749-4099
2004 Jun 10
2
Lattice::qqmath -- groups option question
Does the 'groups' option on qqmath just color the points differently in the main distribution or does it actually overlay separate quantile plots for each subset? I would like to be able to do the latter.
--Rich
Richard Kittler
AMD TDG
408-749-4099
2004 May 07
1
Lattice xyplot - problem trying to produce multiple output files with a 'for' loop
I am stuck on trying to get the Lattice xyplot to output a separate PNG file each time through my 'for' loop. The files get produced but are empty.
Here is the code. I'm running 1.9 on Windows. BTW is there a more efficient way of creating the separate output files than looping over the levels and subsetting?
.........................................................
lev <-
2017 Jul 05
4
expand gridded matrix to higher resolution
Hi all,
(if me email goes out as html, than my email client don't do as told, and I apologies already.)
We need to downscale climate data and therefore first need to expand the climate from 0.5deg to the higher resolution 10min, before we can add high resolution deviations. We basically need to have the original data at each gridcell replicated into 3x3 gridcells.
A simple for loop can do
2017 Jul 05
0
expand gridded matrix to higher resolution
You probably ought to be using the raster package. See the CRAN Spatial Task View.
--
Sent from my phone. Please excuse my brevity.
On July 5, 2017 12:20:28 AM PDT, "Anthoni, Peter (IMK)" <peter.anthoni at kit.edu> wrote:
>Hi all,
>(if me email goes out as html, than my email client don't do as told,
>and I apologies already.)
>
>We need to downscale climate
2004 Apr 14
2
again question about nmath/standalone
Hello,
I forgot to tell you that I am using Linux OS. And I can?t find
directory "src/nmath/standalone". I will send you the test code I am using and
the whole operation process.
[credsim at confsys ~/src]$ gcc test1.c -o test1 -lRmath
test1.c: In function `main':
test1.c:18: warning: assignment makes pointer from integer without a cast
test1.c:19: warning: assignment makes
2005 Jun 03
2
Lattice xyplot -- footnote font size / mtext
Is there a way of controlling the font size and alignment of a footnote
in an xyplot, or alternatively of using 'mtext' to place a footnote at
the bottom of a graph?
--Rich
Richard Kittler
Advanced Micro Devices, Inc.
Sunnyvale, CA
2004 Apr 22
2
Urgent:again question about nmath/standalone
Hello, all,
I have the same question as the last mail I sent. I have installed libRmath in
my system. But I still can not link Rmath through -lRmath. The whole process
is as follow.Is there anybody who is so kind to help me find out the problem?
I will appreciate very much.
[credsim at confsys ~]$ cd /usr/lib
[credsim at confsys lib]$ ls -l libR*
-rw------- 1 bcdesai bcdesai 237828 Apr
2008 Nov 25
1
Efficient passing through big data.frame and modifying select
> -----Original Message-----
> From: William Dunlap
> Sent: Tuesday, November 25, 2008 9:16 AM
> To: 'johannes_graumann at web.de'
> Subject: Re: [R] Efficient passing through big data.frame and
> modifying select fields
>
> > Johannes Graumann johannes_graumann at web.de
> > Tue Nov 25 15:16:01 CET 2008
> >
> > Hi all,
> >
> >
2008 May 08
1
R strucchange question -- robust regression
Is it possible to use some form of robust regression with the
breakpoints routine so that it is less sensitive to outliers?
--Rich
Richard Kittler
Advanced Micro Devices, Inc.
Sunnyvale, CA
2017 Jul 05
0
expand gridded matrix to higher resolution
Hi Peter,
apply(t(apply(mm,1,rep,each=3)),2,rep,each=3)
Jim
On Wed, Jul 5, 2017 at 5:20 PM, Anthoni, Peter (IMK)
<peter.anthoni at kit.edu> wrote:
> Hi all,
> (if me email goes out as html, than my email client don't do as told, and I apologies already.)
>
> We need to downscale climate data and therefore first need to expand the climate from 0.5deg to the higher
2020 Aug 12
2
[PATCH v2] appliance: extract UUID from QCOW2 disk image
For the appliance of the QCOW2 format, get the UUID of the disk by
reading the first 256k bytes with 'qemu-img dd' command. Then pass the
read block to the 'file' command. In case of failure, run the 'file'
command again directly.
Suggested-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
---
v2:
01: The
2020 Aug 13
2
[PATCH v3] appliance: extract UUID from QCOW2 disk image
For the appliance of the QCOW2 format, the function get_root_uuid()
fails to get the UUID of the disk image.
In this case, let us read the first 256k bytes of the disk image with
the 'qemu-img dd' command. Then pass the read block to the 'file'
command.
Suggested-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
---
2018 Feb 25
0
reshaping column items into rows per unique ID
I believe you need to spend time with an R tutorial or two: a data frame
(presumably the "table" data structure you describe) can *not* contain
"blanks" -- all columns must be the same length, which means NA's are
filled in as needed.
Also, 8e^5 * 7e^4 = 5.6e^10, which almost certainly will not fit into any
local version of R (maybe it would in some server version --
2011 Jul 28
5
MoH - conversion command
Hi,
I've been trying to get MoH files to sound decent. I've got a hold of
Royalty-free Classical music (a safe choice for most of my customers) and
I`ve been trying to convert them to the normal telephony/Asterisk format
using sox. Unfortunately, it sounds really bad. I don't expect concert hall
quality of course, 8000KHz being what it is, but is there a better way to
convert
2012 Feb 26
1
Matrix problem to extract animal associations
Dear List,
I have been trying to extract associations from a matrix whereby individual locations are within a certain distance threshold from one another.
I have been able to extract those individuals where there is 'no interaction' (i.e. where these individuals are not within a specified distance threshold from another individual) and give these individuals a unique Group ID containing
2018 Feb 25
4
reshaping column items into rows per unique ID
Hi All
I have a datafram which looks like this :
CustomerID DietType
1 a
1 c
1 b
2 f
2 a
3 j
4 c
4 c
4 f
And I would like to reshape this so I can
2003 Dec 04
31
Shorewall Documentation Updates, Request for Input
Hello,
I have the go ahead to fix documentation. For starters I will clean all
extraneous crap from the markup. Then fix any errors and typos.
If anyone sees any gramatical errors or typos or needed clarifications or
expansions or whatever, please post them here.
Or additional FAQ entries, etc, all will be considered.
I hope to keep most of this conversation on the shorewall-devel list.
Any
2003 May 18
1
Problems with the pyvorbis Python wrapper under Windows
Hi!
The following Python code does what is excepted under Linux:
>>> from ogg.vorbis import *
>>> com=VorbisFile('01.ogg').comment()
>>> com['title']='foo'
>>> com.write_to('01.ogg')
but under Windows I get the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in ?
IOError: [Errno