similar to: sprintf does not fill with "0"?!

Displaying 20 results from an estimated 4000 matches similar to: "sprintf does not fill with "0"?!"

2008 Oct 10
2
rgl-snapshot failed (err-msg: "failed")
Hello, I tried to use rgl.snapshot and it failed. The error message was not very verbose: ====================== > > > plot3d( motion[[idx+2]], motion[[idx+1]], motion[[idx]] ) > rgl.snapshot(filename="/tmp/shot_01.png", fmt="png") [1] "failed" > ====================== There was a graphic created by rgl, but the snapshot was not created. The
2008 Sep 12
2
From time-strings to Unix-Epoche-time?
Hello, I have strings with date-/time-data from a logfile. For a sort-by-time (and other time-related analysis) I need something to convert the times to the Unix-epoche-time (better also with parts of seconds). Is there something that does that job (or a similar conversion) in R? TIA, Oliver Bandel
2009 Jan 07
1
Parse-Error creates strange function calls (completely different printouts) (PR#13436)
Full_Name: Oliver Bandel Version: R version 2.7.1 (2008-06-23) OS: Linux (Debian Lenny) Submission from: (NULL) (88.73.82.147) Hello, I have written a small R-script. When I inserted one line of code, the behaviour was completely different! Instead of just printing one line more to the output, the complete call of the function in which this line was added, is different, and instead of one such
2006 Jun 29
1
before_destroy & verification
Hey, probably an easy question but, I''m trying to get a method to run "before_destory" for a model, and I want the method to throw an error, and not delete the object from the database, if a certain condition is held Obviously, I can just raise an error and rescue it... but for some reason I can''t get <% error_messages_for ''model" %> to catch
2006 May 16
1
EICON, chan_capi-cm and averlap receiving
Hi! I have problems when receiving overlap calls. I'm used to behaviour of zaptel. overlap=yes takes care of collecting the digits. I tried the digit colleciton setting in the diva config tool, but it stops collecting digits when a certain amount of digits is received (isntead of waiting a certain time). How can I configure the zaptel behaviour overlap=yes thanks klaus
2008 Oct 12
2
numeric derivation
Hello, I don't understand the description / help-text for the numericDeriv() function. Why is there a new environment used? And what is meant with an environment here? Is it similar or the same as a local workspace, like an environment in functional languages? And why is it needed here? numericDeriv could just calculate the difference bewtween two values and divide this difference by the
2009 Aug 28
2
RODBC: how to set the data-source?
Hello, I want to try to connect R to PostgreSQL. I have found that there are three ways: DBI or RODBC or RPostgreSQL. I tried around with DBI and RODBC but didn't get it running. In both cases I'm not clear about how to set the driver/data source. I get this error: x > channel <- odbcConnect("rtest", uid="oliver") x Warning messages: x 1: In
2007 Dec 17
2
[LLVMdev] PointerType API Change
Would it be possible to keep get() unchanged, with a default behaviour, plus a warning? Otherwise everybody (assuming everybody gets type void*) will have to update their LLVM passes, and either maintain two versions of the passes or require their clients to use a certain LLVM version. Then passes could be "address-space-safe" or not. If the default parameter value for get() could
2009 Aug 20
3
Wind-data analysis with R?
Hello, are there people outside who use R for analysis of wind-measurement data (meteorological or for planning of wind power stations)? Are there already scripts/modules available for analysing and displaying/plotting wind data in the way it is done in projection/planning of wind power stations? If not, would it be of interest to use R for this, and therefore adapt data-logger output to R (by
2009 Jul 15
1
ResetCDR after GotoIf doesn't set dst correctly, Is this a bug?
(Both on Asterisk 1.2 and 1.4) I was struggling to find out why my CDR was recording dst = h after a call hangup. It was working fine until I added a GotoIf statement before ResetCDR to calculate some value for userfield column. Today I tested and found out that if ResetCDR is put after GotoIf (or after if in AEL), it doesn't record correct value in dst column, and isntead puts 'h'
2009 Sep 21
2
logarithmic seq() ?
Hello, in scilab /Matlab there are functions that can create linear sequences (like R's seq()) as well as logarithmic sequences. Is there a logarithmic aequivalent of seq()? Or maybe this would be an idea for newer R-releases, maybe a type-option with "linear" and "logarithmic" as parameters....?! Ciao, Oliver
2009 Jan 11
2
Strange behaviour of paste
Hello, here I have some code, which behaves quite strange, IMHO. There is a "res.txt" which will be collected before printing it. There is a paste-statement, which has a comment at the end of the line, which is this one: "# !!!!!HERE!!!!!". If you throw out the first hash-mark "#" on that line, the printout behaves like if it is done for each of the for-loop
2007 Dec 17
0
[LLVMdev] PointerType API Change
On Dec 17, 2007, at 1:22 AM, Torvald Riegel wrote: > Would it be possible to keep get() unchanged, with a default > behaviour, plus > a warning? Otherwise everybody (assuming everybody gets type void*) > will > have to update their LLVM passes, and either maintain two versions > of the > passes or require their clients to use a certain LLVM version. AFAIK API
2008 Nov 16
4
Gmane-interface
Hello, I got a hint to use the gmane-interface... ...nice tool. :) But the gmane-server which is mentioned ont he healp-pages of http://www.r-project.org/ http://dir.gmane.org/gmane.comp.lang.r.general and the links on that page also, just only bring me to an gamne-archive, which is outdated. I post via http://news.gmane.org/gmane.comp.lang.r.general (
2008 Dec 21
2
Combining Sweave and LaTeX-packages?
Hello, a while ago I asked for collaboration support R <-> LaTeX. I got some answers, and Sweave was one, to use the Hmisc package another one. Both have their advantages and drawbacks. At the moment I would absolutely prefer Sweave, because the inclusion is done automatically, and I do not have to \include{myRTeXFile} by myself. One (THE) drawback is, that the results of commands
2007 Dec 17
2
[LLVMdev] PointerType API Change
On Monday 17 December 2007, Christopher Lamb wrote: > On Dec 17, 2007, at 1:22 AM, Torvald Riegel wrote: > > Would it be possible to keep get() unchanged, with a default > > behaviour, plus > > a warning? Otherwise everybody (assuming everybody gets type void*) > > will > > have to update their LLVM passes, and either maintain two versions > > of the >
2009 Aug 26
6
Managing output
Hi, Is there a way to build up a vector, item by item. In perl, we can "push" an item onto an array. How can we can do this in R? I have a loop that generates values as it goes. I want to end up with a vector of all the loop results. In perl it woud be: for(item in list){ result <- 2*item^2 (Or whatever formula, this is just a pseudo example) Push(@result_list,
2008 Nov 19
2
VoiceMail - audio problem
Please help... The 1st voicemail message after a reload has audio to the caller. All subsequent calls have no audio to the caller even though the same voicemail application is being called? Asterisk Version 1.4.21.2 Executing [0872200189 at In:2] VoiceMail("SIP/voip-1fd034e0", "910|u") in new stack -- <SIP/voip-1fd034e0> Playing 'vm-theperson' (language
2008 Dec 20
2
NA, where no NA should (could!) be!
Hello, again I'm on my weblog-script... having problems... This code: =========================== weblog <- read_weblog("web.log") weblog_by_date <- split(weblog, weblog$date) #for ( i in names(weblog_by_day) ) { print(i); print(weblog_by_day$i) } for ( datum in names(weblog_by_date) ) { print(datum) selected <- weblog_by_date[[datum]] res_size_by_host <-
2008 Sep 05
1
Time Series (attribute)
Hello, what kind of advantages does R's time series offer? Would it be possible to use data with units? For example data from a real time series with certain sampling rates - could they be used so, that the sample-times are measured in millisceonds or microseconds, instead of an index of the positions? If so, this would be much easier to handle than just working with indices of a vector.