similar to: execute R expression from command line

Displaying 20 results from an estimated 4000 matches similar to: "execute R expression from command line"

2003 Aug 25
6
Syncronize Monitored Calls
I thought I would post this in case it might be of any use to anyone. Not anything special but it does work. Keep in mind you need sox and wmix. Here is some relevant exerpts of my extensions.conf using John Todds macro. [globals] CALLFILENAME=foo FOO=foo CALLERIDNUM=foo [default] exten => 287,1,Macro(dial,SIP/agent20002|20) exten => 287,2,Voicemail(u287) exten =>
2004 Aug 06
2
decode in ppc 2003
Hi all, Please a moment to look my source code, this is very similar to example of the documentation. I added FIXED_POINT flag. My source code compile and build but not decode correctly (the error may be in the while). I work with eVC 4.0 and pocket pc 2003. Someone know what is the error? Thanks. Rodrigo. #include "speex.h" #define FRAME_SIZE 160 void CPlayerDlg::OnButton3() {
2005 Feb 19
1
a possible bug in 1.1.6
Hello Speex, I think I've noticed a bug in version 1.1.6. In the source file "speexdec.c", lines 558 to 560 say wav_format = strlen(outFile)>=4 && ( strcmp(outFile+strlen(outFile)-4,".wav")==0 || strcmp(inFile+strlen(inFile)-4,".WAV")==0); . I think each
2011 Aug 24
1
[PATCH] febootstrap-supermin-helper: Replace objcopy call for embedding init binary
objcopy needs "output-target" and "binary-architecture" parameters which makes it necessary to keep a list of known architectures. The bin2s.pl script generates input for the GNU assembler which should produce an object file that is equivalent to that produced by objcopy. I have successfully tested the change on an amd64 Debian/unstable system. --- helper/Makefile.am |
2004 Aug 06
2
Please 30 second to look a my code
Hi i'm developing a sort of VoIP application for my ipaq using speex... I'm still at beginning and i have many problems encoding and decoding my wav files....output is only noise! Why? I'm using Libspeex 1.1.3, Embedded VisualC++ 3.0, Ipaq 3850(206 MHz IntelĀ® Strong ARM 32-bit RISC Processor) PocketPC 2002 (Windows CE 3.0). Libspeex is complied with the definition of
2017 Feb 02
2
[PATCH v2] resize: support non-local output disks (RHBZ#1404182)
Parse the output disk as URI, and use all its attributes just like it is done for the input disk. The only change is that the fsync of the output disk is limited now for local URIs only, since it will not work with remote protocols. --- resize/resize.ml | 43 +++++++++++++++++++++++++++++++------------ resize/virt-resize.pod | 6 +++--- 2 files changed, 34 insertions(+), 15 deletions(-)
2004 Aug 06
1
decode in ppc 2003
Hi, My problem is at the second fread function, fread(&nbBytes, sizeof(int), 1, fin); //the first fread fread(cbits,1, nbBytes, fin);// the second fread. When I'm debugging always nbytes is greater than cbits. This give me a execution error. Thanks. Rodrigo. <p><p><p>-----Mensaje original----- De: owner-speex-dev@xiph.org [mailto:owner-speex-dev@xiph.org] En nombre
2004 Jan 20
1
help - recording both sides of a conversati on
This is what I'm doing it gets you both sides of the phone call...small size...and playable on windows through a share. My notes: On redhat 9 I have to run the following command for asterisk to start LD_ASSUME_KERNEL=2.4.1 asterisk -vvvvgc [macro-record-on] exten => s,1,SetVar(CALLFILENAME=${TIMESTAMP}-${ARG2}-${ARG1}) exten => s,2,Monitor(wav,${CALLFILENAME}) ;exten =>
2005 Dec 06
1
problems decoding speex... please help
Hi all. I'm trying to decode speex using version 1.1.10's libspeex with fixed_point enabled. copied the sample in the manual (1.1.11) with minor revisions. While running the program, encountered this warning: "Packet is larger than allocated buffer : 38" when calling speex_bits_read_from (&bits, cbits, nBytes) then my program terminated unexpectedly with errors (Unhandled
2007 Feb 13
1
Hello Guys
hello everybody in this great mailing list , i have some difficulties to follow my code . i solved some problems thanks to Carine Liang , but i still have one problem and i think it is fatal one. when i encode the voice data in a wav file it is decoded without any errors it gives me 84 bytes wav file size for 139 kbytes wav audio data .Naturally i wanted to return my file back to its normal
2008 Dec 25
1
BATCH and testing
In a few of my test scripts for the survival code I expect warning messages (I actually try to trigger a couple). Using R BATCH infile outfile these messages don't end up in outfile, where I can compare them to what was expected. I don't see an option to change this. R < infile >& outfile works. But is there a way to get it to continue on after errors? Terry T.
2010 Jul 14
1
calling a c function from R
Hi, I am trying to call a C function, that I wrote to parse a flat file, into R. The argument that will go into this function is an input file that I need to parse and write the desired output in an output file. I used some hit and trial approach but i keep on getting the "file not found" or "segmentation fault" error. I know that the error is in passing the argument but I
2007 Nov 08
2
Sweaving single master file to get multiple individualised reports
Hi Apologies in advance if I've missed something obvious. I have read the Sweave manual, the first article in R News, looked at the Help pages, googled Sweave and words like loop, output, files, multiple, done much the same on R site search (in case I missed something on Google) and I couldn't find exactly what I'm after. What I'm trying to do ?---------------------- Make
2005 Sep 29
1
Quicktime 2 Theora Transcoder's Nano-Howto
After a bunch of cumbersome testing I was able to transcode a Quicktime MOV file to OGG with theora and Vorbis. The method's a bit fumbly, but it works... It is automatable except for the initial audio decoding. Software used: Xine, oggenc, ffmpeg, ffmpeg2theora, oggzmerge Step 1: Get the video out of Quicktime ffmpeg -i infile.mov -b 5000 -f mpeg2video outfile.mpg Step 2: Get the video
2007 Jun 05
1
multiple plot in odfWeave
Hello R users, I found the odfWeave package to create an odf document. It seems to be a very nice tool. So i tried to used it to create a report with multiple plot: I create an odt file with some code inside: I connect to a mysql database I get a list of projects foreach project I would like to make a plot (a map exactly) then in a R console I use the odfweave (inFile, outFile) function.
2009 Dec 22
2
Nested For loops
Dear R experts, Might be very simple question to ask but would be insightful. As the same story of nested "for loops". following is the code that I am using to get the autocorrelation function of the sample data. I have tried to get rid of for loops but since I am touching R after such a long time that I need to practice more but I need help to revive my skills. I know that apply() or
2003 Aug 20
2
Command line R / PHP?
Greetings All, Just a quick query about calling R. Looking through the manual you start R with $ R, and then start calling R functions e.g plot whatever. Sounds pretty funky, and R looks to be *the* open source maths package. Awesome ... I would like to call R from my favourite glue language PHP (rather than call perl which calls R) if possible. To call R from the command line is all this
2008 Nov 05
1
Using RGDAL to "copy" header information...
R-geographers... I'm trying to solve a problem to implement a line-by-line tiled processing using RGDAL (read 1 line of an image, process the one line, write one line of the image to a binary file). Everything except for the final step I'm able to do using a combination of RGDAL and r-base commands. Below is the basic structure, the input file "elev" can be any image file
2011 Feb 22
1
odfWeave graphics glitch
Using R2.12.1 on Ubuntu 10.04.1 I've tried to run the following code chunk in odfWeave <<fig1, echo=TRUE,fig=TRUE,width=7,height=4>>= x<-seq(1:100)/10 y<-sin(cos(x/pi)) imageDefs <- getImageDefs() imageDefs$dispWidth <- 4.5 imageDefs$dispHeight<- 4.5 setImageDefs(imageDefs) X11(type="cairo") plot(x,y) title(main="sin(cos(x/pi))")
2009 Feb 04
1
odfweave sample code error
Hi R-team, I am new user of R 2.8.1 in windows 2003 environment. I use Tinn-R as code editor. When running the sample codes from odf manual the following error occured. I have winzip installed in my system. I used openoffice writer under windows to create the example1.odt file. can anybody help me out to fix the bug. the code executed is as follows: library(odfWeave) > inFile <-