similar to: displaying computation outputs inside "for" loops

Displaying 20 results from an estimated 7000 matches similar to: "displaying computation outputs inside "for" loops"

2004 Aug 09
1
Follow-up Q Re: displaying computation outputs inside "for" loops
I have a somewhat related question. A while back I was doing some simulations using for() loops, and I wanted to keep track of the iterations using a line of code quite similar to what Dimitris presented below. Instead of printing the iteration message at the end of each iteration (actually, at the end of every 100th), nothing was printed until the for() loop was complete, and *then* all
2004 Aug 11
2
Advice on picking a regression method
Dear R-users, There are tons of methods out there for fitting independant variables to a dependent variable. All stats books tell you about the assumptions behind OLS (ordinary least squares) and warn against abusive use of the method (which many of us do disregard by lack of a better knowledge). Most introductory text books stop there and don't tell you what the next best option might be. I
2004 Aug 31
1
appending data to a dataframe
Dear R users, I am sorry to ask you such a pathetic newbie question, but how does one append data at the end of a data frame? I am working with GRASS/R library, but the question is about R. I have a data.frame containing the following variables basinID, distoutlet, drainage_area, slope These variables are stored for all pixels of Grass Raster objects. For each drainage basin (basinID), I'd
2004 Jul 27
2
computing differences between consecutive vector elements
Dear R-users, I am a newbie to R so please excuse this naive question for which I couldn't seem to find online answers. I have this data frame containing a series of locations through time (x,y,z,t). I would like to compute the difference in x, y and z between t-1 and t. Sounds easy enough, but how on earth does one loop through vector elements and compute this difference? Thanks Thomas
2004 Sep 01
3
coercing a string naming to a variable name and return value
Hi all, I haven't been able to find how to assess a variable who's name is constructed with paste. The problem is following: In a data frame, there are 12 columns whose title vary only by a digit, all other part being equal. I would like to compute a operation on a subset these variables and parse them in turn. the data frame "basin.param" contains columns called ratio1,
2004 Jul 28
5
using Rterm under cygwin, no possiblity to delete characters
Dear R-users, When I call Rterm from cygwin, I have no options but typing the exact syntax the first time. If I happen to hit the "delete" key (backspace), R dies when I press enter saying : Error: ... (error concerning the function on the last line of text) Execution halted Perhaps some of you have experienced this and found work arounds? One has to be pretty good to type without
2004 Jul 27
0
computing differences between consecutive vectorelements
well, sure diff() does it thanks alot Thomas > -----Message d'origine----- > De: Liaw, Andy [mailto:andy_liaw at merck.com] > Date: mardi 27 juillet 2004 16:50 > ??: 'Dewez Thomas'; 'r-help at stat.math.ethz.ch' > Objet: RE: [R] computing differences between consecutive > vectorelements > > > Not exactly sure what you want, but seems like you can
2007 Dec 14
1
7zip benchmark
Hi, I could try latest 7zip (4.57) on a triple boot machine (Debian SID i386, x86_64 and native Windows XP SP2), and found something surprising in the results : amd64 at 2400MHz linux32 -> 1814 linux64 -> 1946 win32 -> 2004 So performance is much better in Linux 64 bit than in 32 bit, while both are slower than native windows system. Is it normal, I mean does anyone else obtain
2015 Aug 25
4
OPUS on bare metal ARM
Hi everyone, I?m currently trying to use opus on a ST ARM (STM32F407) without any OS (bare metal). The aim of my project is to transmit voice over CAN bus. The main issue I have is that opus fail to allocate memory, the ALLOC macro always return a NULL pointer. I have sure that I have enough free space to allocate buffers. Is there anyone who already try this or have meet this issue ? Thanks
2008 Aug 04
0
unsubscribe
unsubscribe ***************************************************** "Le contenu de ce courriel et ses eventuelles pi?ces jointes sont confidentiels. Ils s'adressent exclusivement ? la personne destinataire. Si cet envoi ne vous est pas destin?, ou si vous l'avez re?u par erreur, et afin de ne pas violer le secret des correspondances, vous ne devez pas le transmettre ? d'autres
2015 Aug 25
0
OPUS on bare metal ARM
Andrew, Stephan Thanks for your help. Well, I really don?t have the choice of the interface it has to be CAN. My malloc is working but it may have some bug. I?m going to check the use of the CCRAM with an implementation of opus_alloc/opus_free. I will let you know how it works. Regards. Benjamin ________________________________ Comme vous le savez, les messages envoy?s par e-mail peuvent
2004 Dec 11
3
rsync to retry if copy failed - possible?
Hello, I want to be 100% sure that rsync copies something from one location to another. However, I did not see an option which would make rsync retry an operation if it failed for whatever reason (network was down when rsync started, or network went down during rsync was copying something, connection timed out etc.). For example, wget has an option like --tries=number Set number of retries
2004 Aug 02
0
averaging 3D datasets
Dear R-users, I've spent most of the day reading R documentation at length but couldn't find something perhaps obvious. I have a dataset made of 3 morphometric variables for a series of watershed [log(slope); log(drainage_area); distance_to_outlet] My aim is to predict the value of log(slope) for pairs of [drainage_area; distance_to_outlet] (sounds like a plain linear model fitting,
2011 Jul 05
2
Many "Error: Corrupted index cache file /XXX/dovecot.index.cache: invalid record size"
Hi all, I just joigned this list, so I'm sorry if this problem has already been reported. I'm running Dovecot 2.0.13 on many servers, one for POP/IMAP access, others for LDA, others for authentification only, etc. All servers are accessing a shared file system, based on MooseFS (www.moosefs.org). The FS is mounted using FUSE. All my Dovecot servers have this configuration :
2005 Jul 21
4
Executable 'username map'
Hi, I currently manage an environment where my Unix and Windows usernames are defined, but different. So, I must use a username map. But I have several Samba servers (one for each NFS package) and I must maintain all these username map files. As we want everybody to map the same way on every Samba servers in a NIS domain, we added the 'Windows user' information to the NIS
2003 Dec 09
1
Bug with OpenSSH and Crontab under Solaris 8
Hi, I have a issue with OpenSSH 3.7.1p2 and crontab (solaris 8). The crontab will not execute correctly the commands if I edit it by using OpenSSH. client (Solaris 8 / Openssh 3.7.1p2) ---> server (Solaris 8 / Openssh 3.7.1p2). Next, I edit the crontab with "vi" using a console session and I save it without doing modification. The crontab works perfectly now ! ? I have
2004 Sep 15
0
testing goodness of fit of linear model
Dear R-users, I've been reading a bunch of things on linear models but cannot quite find a clear answer. How can one determine whether a linear model is significant or not? For background info, I am modelling the response of topographic slope to the distance of a catchment's outlet. Some guys have shown that if there is a significant fit to a linear model, one can deduce the dynamic
2004 Jan 09
5
Cisco Gear
Hi, I know it's not really the place, but if anybody in the UK (or US) is interested, I'm clearing out lots of new Cisco stock... 7970G's (colour LCD), 7960G's, 7940G's, 7920G's (wireless IP phone), 7935's (conference phone) and 3550-24-PWR switches. I also have boxes of 7914's, the single-7914 foot stand and double-7914 foot stand (these are required to
2005 Jan 05
8
Replacing all NA values in a matrix
OK, dumb question, and it is probably in the docs somewhere, but after 12 months working with R and quite a while looking at the docs, I still don't know (or have forgotten) how to replace all NA values in a matrix at once with some other value. I can do it column by column using is.na(), but I can't figure out how to do it for the whole matrix. My apologies, I am ashamed ;-) Michael
2004 Apr 08
1
plot help
Hie! I do not manage to make several plots on a same graph ( for example two densities on the same graph ) thanks for the answer Pierre Clauss xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Ce message et toutes les pi佽ces jointes (ci - apres le \"message\" ) sont 侀tablis a l'attention exclusive de ses destinataires et sont strictement confidentiels. Si vous n'侁tes