similar to: Scripting issues

Displaying 20 results from an estimated 50000 matches similar to: "Scripting issues"

2013 Jan 30
3
arithmetic and logical operators
Why, in R, does (0.1 + 0.05) > 0.15 evaluate to True? What am I missing here? How can I ensure this (ostensibly incorrect) behavior doesn't introduce bugs into my code? Thanks for your time. Dave Mitchell [[alternative HTML version deleted]]
2012 Sep 12
1
unzipping with ff
I've noticed that ff uses the unzip utility available on it's host OS to load datasets via ffload. It seems to work fine in linux, but when I try to use the package in Windows (hence dling Windows unzip utils) I get 2 errors, one telling me that the options aren't being passed to unzip correctly and another indicating that my filename is incorrect. First, does anyone know of an unzip
2007 Nov 28
1
Print Summary
Dear All, I am currently working on a project involving a rather redundant task. I have 11 files that I will be generating anova tables and plots for. I am contemplating writing a for loop to process each file, create an anova table, the appropriate plots, and save them to my hard drive. I've included pseudo-code below. files =
2002 Jan 17
2
R 1.4.0 much slower than R 1.3.1
Dear R-ers I've recently upgraded to R-1.4 but I have noticed that it is slower to load datasets than R-1.3.1: R-1.3.1: > system.time(a <- read.table("~/people/academics/mitchell/nzsl02.27",header=T)) [1] 40.86 0.51 54.10 0.00 0.00 > R-1.4.0: > system.time(a <- read.table("~/people/academics/mitchell/nzsl02.27",header=T)) [1] 293.24 30.76 478.35
2007 May 03
1
SPEEX tech specs
Thank you Jean-Marc. My understanding is that G.729 is a telephone codec, so there must have been some reason why its developers went to 10ms/frame. Do you know why that might be? From a recent post on this list I saw somebody talking about your decoded sample rate being 8KHZ/sec. and then he mentioned that being 160 bytes at 20ms/frame. That said, I take it that your decoded samples are
2010 Apr 06
2
help output figures in R
somfunc<- function (file) { aa_som<-scale(file) final.som<-som(data=aa_som, rlen=10000, grid=somgrid(5,4, "hexagonal")) pdf(file="/home/cdu/changbin/file.pdf") #output graphic file. plot(final.som, main="Unsupervised SOM") dev.off() } I have many different files, if I want output pdf file with the same name as for each dataset I feed to the function
2007 May 03
2
SPEEX tech specs
Thank you. You're right ... my error ... I meant to say 12 bytes (including the 2 bytes for VAD). And it is 10ms/frame. No matter ... thank you for the SPEEX specs. In terms of quality, what SPEEX bit rate compares with G.729 at 8kbps data rate please? Is there some reason why you chose the 20ms frame rate? Do you keep that same frame rate for the different bit rates? The faster frame
2012 Nov 09
5
using lapply with recode
Hello: Forgive me, this is surely a simple question but I can't figure it out, having consulted the help archives and "Data Manipulation With R" (Spector). I have a list of 11 data frames with one common variable in each (prov). I'd like to use lapply to go through and recode one particular level of that common variable. I can get the recode to work, but it only returns the
2003 Jun 20
4
Spedd: R vs S-plus
Hi Folks, Sorry to raise what has probably been discussed before, but I an repeatedly struck by the comparative slowness of S-plus for Windows compared with R for Linux when doing much the same thing. I don't have a direct comparison, because they're not running on the same machine; but machine W has a faster CPU and more RAM than machine L, yet S-plus on W seems to take longer by quite
2007 May 03
2
SPEEX tech specs
Hello Jean-Marc: How many bits do you have in a frame please and what is your frame rate? For example, G.729 (ACELP) has 12 bits/frame including VAD and the frame rate is 100/second ... I'm looking for the comparable figures for SPEEX. Thank you. --- B. Mitchell Loebel, CEO, VP Engineering 408 425-9920 InstaFlash International Corporation (formerly
2019 Aug 06
1
Wiki edit: HowTos/Grub2
Greetings! This is my first contribution, so please let me know if there is anything I should be doing differently. I am following the instructions found here: <https://wiki.centos.org/Contribute>. Your /FirstnameLastname/ username: MitchellRoe The proposed subject of your Wiki contribution(s): Corrected path for getting menu entries The proposed location of your Wiki contribution(s):
2011 May 06
2
Confidence intervals and polynomial fits
Hi all! I'm getting a model fit from glm() (a binary logistic regression fit, but I don't think that's important) for a formula that contains powers of the explanatory variable up to fourth. So the fit looks something like this (typing into mail; the actual fit code is complicated because it involves step-down and so forth): x_sq <- x * x x_cb <- x * x * x x_qt <- x * x * x
2002 Jan 08
2
advocacy and added options to ogg123
Hey all. Two topics: First, I teach Computer Science at the high school level at a largish school near Austin, Texas. For the past several years there's been a "jukebox" in my room where students could vote for albums to hear during programming lab time, and random tracks off the winning albums play over the speakers in the classroom. This past week I changed the
2002 Jan 08
2
advocacy and added options to ogg123
Hey all. Two topics: First, I teach Computer Science at the high school level at a largish school near Austin, Texas. For the past several years there's been a "jukebox" in my room where students could vote for albums to hear during programming lab time, and random tracks off the winning albums play over the speakers in the classroom. This past week I changed the
2012 Jun 28
3
loop through and modify multiple data frames
Hi Newbie question: I have a set of data frames that I want to do the same calculations on each. I've found out that I can put them in a list and loop through the list to do the calculation, but not put the results back into each data.frame.. For example three data frames cats, dogs, birds where >cats name eats_kg 1 bob 3 2 garfield 4 3 chuck 6 and dogs and birds are similar but not
2002 Feb 09
4
compressed audio tutorial - &quot;major&quot; update
I've made a large update to the introduction to compressed audio. I completely rewrote the first section, which I wasn't happy with. It now features two diagrams (worth 1000 words each!), and is broken up into a couple of sections. http://cs.leander.isd.tenet.edu/~mitchell/vorbis_intro.html I have also continued to tweak other sections based on feedback from email and this forum.
2002 Feb 09
4
compressed audio tutorial - &quot;major&quot; update
I've made a large update to the introduction to compressed audio. I completely rewrote the first section, which I wasn't happy with. It now features two diagrams (worth 1000 words each!), and is broken up into a couple of sections. http://cs.leander.isd.tenet.edu/~mitchell/vorbis_intro.html I have also continued to tweak other sections based on feedback from email and this forum.
2010 Jul 10
1
False answer() being sent by cellphone providers
-----Original Message----- From: asterisk-users-bounces at lists.digium.com on behalf of Steve Edwards Sent: Fri 7/9/2010 5:32 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Cc: Subject: Re: [asterisk-users] False answer() being sent by cellphone providers On Fri, 9 Jul 2010, Mike Ely wrote: > (off list) Continuing to veer off-topic... > Yes indeed we do. The telcos
2006 Apr 24
5
New RBAC Plug-In for Rails
Hi, I just finished writing this plug-in. I''ve been using rails for awhile but this is my first time extracting some code and writing it as a plug-in and I''d love to hear to some feedback. Thanks. http://mitchellhashimoto.com/rails/role-based-access-control-plug-in-for-rails/ -Mitchell -- Posted via http://www.ruby-forum.com/.
2007 Oct 24
5
Error while running YUM UPDATE today
error viewed: Updating : openssl ####################### [ 1/48] /sbin/ldconfig: /lib/libstdc++-libc6.2-2.so.3 is not an ELF file - it has the wr ong magic bytes at the start. Updating : openssl ####################### [ 1/48] /sbin/ldconfig: /lib/libstdc++-libc6.2-2.so.3 is not an ELF file - it has the wr ong magic bytes at the start. Any one