Displaying 20 results from an estimated 20000 matches similar to: "Loops and memory"
2003 Apr 30
5
Scanning data files line-by-line
Hi all, is there a way to read a data file into R line-by-line, akin
to what fscanf does in C, say?
It seems that "scan" and "read.table" both read the entire data file
in at once, whereas "readLines" allows one to read a file partially,
but doesn't quite read line-by-line either.
I guess what I was hoping to do is something like this:
while( linebyline(
2003 May 01
4
List of lists? Data frames? (Or other data structures?)
Hi, I'm faced with the following problem and would appreciate some
advice.
I could have a data frame x that looks like this:
aa bb
a 1 "A"
b 2 "B"
The advantage of this is that I could access all the individual
components easily. Also I could access all the rows and columns
easily.
Alternatively, I could have a list of
2003 May 07
3
Sink for a subdirectory
Hi, how do I sink output to a subdirectory under which R is running?
For example, suppose R is running in ~me and I would like to sink output to
~me/Subdir/filename.
The obvious sink( "Subdir/filename" ) does not seem to work.
Thanks very much.
2003 Apr 29
2
Remove leading brackets in print?
Hi, I can't seem to get an answer for this by searching through the
R-help archives: How does one remove leading brackets in print?
For example,
>print( 3 )
>[1] 3
Would it be possible to get rid of the "[1]"?
Of course the effect is the same without "print", as in,
>3
>[1] 3
but I would only be interested in omitting brackets in printing, if
that's
2006 Oct 17
2
Inaccurate CDRs
Hello,
i have call time irregularites in my asterisk CDR. I a currently using a
mysqly backent to save CDR records and use this to generate bills at the end
of each month. However, my users are complaining that they gety charged for
even uncompleted calls (i.e. calls they make whaich have already be setup
but canclled). i have noticed that only 'AWNSERED' and 'Busy' show up in my
2004 Jun 07
2
help with cwrsync
Hello everybody
I use cwrsync in a mixed servers network to make backup.
I have a problem with Windows perms when rsync makes backups from Windows
directorys like /winnt or /Documents and Settings. Rsync starts his job, but
anytime when the console shows a message like this: "opendir "Area NET" (in
unitd) failed: Permission denied" the job stop and the backup is
2017 Jan 04
2
Gentoo, Heimdal and Samba 4.2 EOL (was: Re: bug in smbclient (?) 4.2.x)
On Thu, 2017-01-05 at 12:26 +1300, Andrew Bartlett wrote:
> On Thu, 2017-01-05 at 00:07 +0100, Stefan G. Weichinger via samba
> wrote:
> >
> > Am 2017-01-04 um 23:49 schrieb Stefan G. Weichinger via samba:
> >
> > >
> > >
> > > on my way to 4.5.3 now
> >
> > compiling samba-4.5.3 on gentoo *failed* right now
> >
> >
2008 Mar 10
1
(no subject)
Hi all,
I am trying to read a text file in R! I have a warning message:
In read.table(file = "data1.txt", header = T) : uncompleted last line of readTableHeader in 'data1.txt'
Could you please tell me why? and how can I deal with missing value when I read this file?
all the best
Alfons
2006 Jul 16
1
Need help reinstalling IE6
Hi All
I have run the Uninstall for IE which ended by telling me to reboot. I
didn't know what to do here, as it wouldn't let me out without a
reeboot, so I ended up killing the setup.exe.
Now when I try to re-install IE from the CD, it tells me that there are
uncompleted uninstall actions requiring a reboot.
Can anyone tell me what I need to do to fix this?
Tony
2009 Jun 03
1
Yum-complete-transaction wants to wipe my system out
After some enabling/disabling new repos (pgdg for PostgreSQL
specifically) and admittedly some yum action that may have gone
uncompleted, I am advised to run yum-complete-transaction. However,
when I attempt to do this, yum warns that 225 packages will be erased,
all of which I deeply care for. How can I safely back out of this
situation?
Thank you in advance
--
Eduardo Grosclaude
Universidad
2018 Nov 09
4
OT: good free email service ?
On Nov 9, 2018, at 9:22 AM, Vic Chester <vcsubscriptions at gmail.com> wrote:
>
> https://protonmail.com/
Aside from semi-charitable organizations like that, I wouldn?t expect good free email service to exist. It?s seriously complicated to run a properly-configured email server.
The last time I looked into it, there were something like 24 separate RFCs an SMTP-only server had to
2011 Dec 07
1
running texi2dvi without running bibtex
Dear all,
I was hoping someone may know a way of running texi2dvi while ignoring
bibtex errors, or any other work around (such as not running bibtex at
all, if possible).
The context is that I have an R program that does some calculations
and writes a table into various folders, one per country for several
countries. I have a latex file that takes the table as an input, and
this latex file is
2006 Oct 24
2
Progress Monitor in R
Hi there,
I'm writing a program in R that has a few nested loops. I'd like to
monitor the progress when the program is running and be able to estimate
the remaining time.
I'd highly appreciate it if anyone can shed a light on this issue. Thanks
for your time!
Best Regards,
Martha Cao
2003 Jul 04
1
specifying dataframe column names in loops
Dear list members,
This is probably a naive question (from a new user), but I'm having problems
getting column
names to be recognised in loop that is supposed to apply a set of
calculations in turn
to each column of a dataframe.
The dataframe has 33 columns of output from a simulation.
The columns each have a text name and I want to apply the same set of
calculations
to each column in turn.
2006 Jun 16
2
Yahoo data download problem
Hi all R-Experts,
I'm facing one problem in yahoo data downloading. I'm suing Windows XP, R 2.2.0, and i'm using yahoo.get.hist.quote function to download data. I need 500 companies of S&P index daily 'closing price' data for last ten years. My questions are:
1) I have all the ticker names of S&P 500 companies in a .csv format. I'm reading those names in R and
2013 Jan 25
3
Help with adding 'dates' string as rownames to matrix
Hi, I need help with two related issues:
1. I wish to drop repeating text "BST" from the below 'dates' string:
[1] "2005-04-01 BST" "2005-04-04 BST" "2005-04-05 BST" "2005-04-06 BST"
"2005-04-07 BST" "2005-04-08 BST" "2005-04-11 BST" "2005-04-12 BST"
"2005-04-13 BST" "2005-04-14
2004 Oct 04
1
update.packages() with R 2.0.0
Good day to all of you and thank you for reading this.
I certainly must have done something awfully wrong
when I downloaded and installed R 2.0.0 on a PC
with Windows 98.
You will find below what happens when I try to 'update.packages()'.
I know what the first 'warning message' means.
About the others, I ain't got no clue.
Thank you very handsomely for your wisdom.
And
2008 Mar 31
3
UK Daylight Savings
A quick fix for anyone running into this problem:
load_schedule was crashing cron_trigger.rb#160, and I found that for
triggers like "0 20 5 * * * *" it was putting in 32 for the date (even
though its Mon Mar 31 04:16:21 BST 2008). Something to do with switching to
day light savings I think, which concludes after 2am. I patched it by adding
day = 31 if day == 32
on the line before.
2016 Mar 04
3
vignette index
Dear helpers,
I have multiple vignette files for a package, and I would like to have the "right" order of these files when displayed online. For instance, see below:
https://cran.r-project.org/web/packages/bst/index.html
The order of vignette links on CRAN is different from what I hoped for:
> vignette(package="bst")
Vignettes in package 'bst':
pros
2011 Apr 25
0
Registration problems - Vitelity
Hi All-
?
I have successfully routed calls into our asterisk system from several DID providers in the USA, but for some reason I'm having a problem getting Vitelity to work.
?
We are using the IAX protocol, and the symptom is that only about 50% of the calls terminate properly into my asterisk system - the rest get a busy signal.? The ones that do not come in don't show up at all on