Displaying 20 results from an estimated 145 matches for "textfile".
Did you mean:
testfile
2007 Jan 24
3
Capturing output from external executables, in windows
...ernal executable.
The executable is successfully run using
system("program -switch ")
and the output printed to the DOS console.
How do I capture this output? I have tried redirecting the output to a
text file, and then reading this in
system("program -switch > textfile.txt")
data<-scan("textfile.txt")
But this does not seem to work (the textfile.txt is not written). It
does however work if I invoke the console to be permanent
system("cmd /K program -switch > textfile.txt")
data<-scan("textfile.txt")...
2003 Jun 12
9
Programcode and data in the same textfile
I have the following problem. It is not of earthshaking importance,
but still I have spent a considerable amount of time thinking about
it.
PROBLEM: Is there any way I can have a single textfile that contains
both
a) data
b) programcode
The program should act on the data, if the textfile is source()'ed
into R.
BOUNDARY CONDITION: I want the data written in the textfile in exactly
the same format as I would use, if I had data in a separate textfile,
to be read by read.table()....
2001 Dec 19
1
combine
hello there,
I ` m a newbie in R so please excuse my maybe simple question!
I have several (the number of the files changes) textfiles. Each
textfile contains one column with 3 rows (3 numerical values). I want to
combine each file with another file and create new textfiles which then
contain 2 columns with 3 rows. How can I do this in R? Do I have to
use cbind? How Do I use cbind for my problem?
Instead of having several textf...
2002 Nov 22
2
Need help with pipe()
...).
I've recently upgraded from Win98SE to WinXP, and have also upgraded
from R1.5.0 to R1.6.1 over the past month or so. This program worked
before the upgrade(s), but now fails. I observe the following sort of
behavior with R1.6.1 under WinXP:
> cat("hello\ngoodbye\n",file="textfile")
> readLines("textfile")
[1] "hello" "goodbye"
> readLines(pipe("gawk '{print $0}' textfile"))
character(0)
# Note: R pauses for about 10 seconds before returning "character(0)"
> readLines(pipe("echo hello"))
Err...
2014 Aug 26
2
Fn textfile background
Hello,
In doc/menu.txt:
"F1 textfile [background]"
I am trying the second optional parameter using 640x480 x 4bits color
depth png's.
Should I be using a different file format?
Or a different color depth?
Or specific colors?
Which versions are supposed to support the second optional parameter,
"background", fro...
2009 Apr 17
2
Manipulate single line in textfile
Hello all,
Is it possible to modify a single line in a textfile?
I know it is possible to load the whole text file, do the change, and
save this as a new file. However, this is not practical in my case,
because the document is huge and cannot be fully loaded in R.
Any idea?
Best,
Guillaume
2004 Aug 07
1
Textfile into R'
Hi,
I have the chromosome results in a text file.
My problem is how to call the textfile values inside R' so that i can plot.
Anyone can help me!!
J.Joshua Thomas
Lecturer
Computing & Information systems
KDU College Penang Campus
Malaysia
2014 Aug 26
0
Fn textfile background
On 08/25/2014 07:49 PM, Ady wrote:
> Hello,
>
> In doc/menu.txt:
> "F1 textfile [background]"
>
> I am trying the second optional parameter using 640x480 x 4bits color
> depth png's.
>
> Should I be using a different file format?
> Or a different color depth?
> Or specific colors?
>
> Which versions are supposed to support the second opt...
2014 Aug 26
0
Fn textfile background
On Aug 26, 2014 1:45 AM, "Ady" <ady-sf at hotmail.com> wrote:
> > On 08/25/2014 07:49 PM, Ady wrote:
> > > In doc/menu.txt:
> > > "F1 textfile [background]"
> > > Which versions are supposed to support the second optional parameter,
> > > "background", from menu.c32?
> > >
> > > I have tried (and failed) with (menu.c32) v.3.86 and v.4.07.
> > >
> > > Or, perhaps this do...
2014 Aug 26
3
Fn textfile background
> On 08/25/2014 07:49 PM, Ady wrote:
> > Hello,
> >
> > In doc/menu.txt:
> > "F1 textfile [background]"
> >
> > I am trying the second optional parameter using 640x480 x 4bits color
> > depth png's.
> >
> > Should I be using a different file format?
> > Or a different color depth?
> > Or specific colors?
> >
> > Which ve...
2003 Jul 15
4
(no subject)
Hi
I got a problem with creating a textfile:
how can I create a textfile, which has a headline like:
#data1
1 2 3 4
5 6 7 8
the problem is, how to bind text and matrix, so that the
"read.table"-function
will ignore the text and read the numbers.
Thank you for help
Michael
--
2
2014 Aug 26
1
Fn textfile background
>
> On Aug 26, 2014 1:45 AM, "Ady" <ady-sf at hotmail.com> wrote:
> > > On 08/25/2014 07:49 PM, Ady wrote:
> > > > In doc/menu.txt:
> > > > "F1 textfile [background]"
> > > > Which versions are supposed to support the second optional
> parameter,
> > > > "background", from menu.c32?
> > > >
> > > > I have tried (and failed) with (menu.c32) v.3.86 and v.4.07.
> > > >
>...
2010 Feb 03
0
"read.table" and "scan" skips newlines which "count.fields" finds in Thai textfile
....0 (2008-10-20)
i386-pc-mingw32
locale:
LC_COLLATE=Japanese_Japan.932;LC_CTYPE=Japanese_Japan.932;LC_MONETARY=Japanese_Japan.932;LC_NUMERIC=C;LC_TIME=Japanese_Japan.932
--
View this message in context: http://n4.nabble.com/read-table-and-scan-skips-newlines-which-count-fields-finds-in-Thai-textfile-tp1460736p1460736.html
Sent from the R help mailing list archive at Nabble.com.
1998 Oct 28
2
W95 and no update from samba shares
Hi,
i have a annoying problem that drives me crazy.
We have set up a Digital/Unix box with samba and the clients (W95) can mount
the shares from this box. On the Unix side we create a textfile which will be
periodically (or not) appended with new data. A Application on the W95 side
reads this file.
The Problem is, that the textfile has new lines, the Application don't see
them !!!
To make the Situation confusing:
If i use edit.com in a dos box i can see the new lines !!
If i us...
2005 Feb 19
2
I have a odd question...
...a simple webpage.
Eg.
To vote on song number one, call 555-1111
To vote on song number two, call 555-2222 etc etc.
When the listener calls in, a playback tells him: "Thank you for voting
on song number one."
And the numbers of calls on each number are presented on a webpage, or
in a textfile, easy for the showhost to see.
How do I do this the simplest way ?
I have a lot on phonenumbers that I can use, so that is not the problem.
Shoud I execute some kind of script for each caller that increases the
numbers in a textfile ? Or how should I do ?
My programmingskills aren't the b...
2009 Nov 26
1
analyse tab delimited textfile microarray data(help)
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091126/6366832d/attachment-0001.pl>
2008 Nov 14
11
External_nodes definition not working. Client states "could not find node"
...Dump );
use Switch;
#initialize vars
our @classes;
our %parameters;
Function to fill @classes and %parameters with correct values
....
print Dump( {
classes => \@classes,
parameters => \%parameters,
} );
}}}
I added a "debug" function to write the YAML-Dump() output to textfile
to verify that this script is running and produces correct output.
Unfortunalety the nodes can''t get the config anymore:
err: Could not retrieve catalog: Could not find default node or by name
with ''host02-test.rev.domainname, host02-test.rev.domainname,
host02-test.rev, hos...
2020 May 05
2
Windows link in linux share...
Well, I just did a dirty test:
* mklink link.txt "textfile.txt"
* mklink /D DIrLink "Directory"
* copied it to a samba share via Explorer (drag and drop).
* copied it to a Windows share via Explorer (drag and drop).
In both cases, it copied the contents of "textfile.txt" as "link.txt",
definitely not a symlink (windows o...
2007 Nov 09
9
fixture_file_upload and edge rspec?
...now gotten down to just
a couple of not passing specs, all using the fixture_file_upload.
Here''s an example
it "should be invalid if uploaded file is not an image" do
@image.attributes = valid_image_attributes.merge({:uploaded_data
=> fixture_file_upload(''/textfile.txt'',
''text/plain'')})
@image.should_not be_valid
# content_type: is not included in the list
@image.should have(1).error_on(:content_type)
end
which fails with:...
2011 Oct 05
1
fgrep with caret (^) meta-character in system() call
Hi there,
I would like to use my linux system's fgrep to search for a text pattern
in a file. Calling system with
system("fgrep \"SearchPattern\" /path/to/the/textFile.txt")
works in general, but I need to search for the search pattern at the
beginning of the line.
The corresponding shell command
fgrep "^SearchPattern" /path/to/the/textFile.txt
|
|___ here's my problem
does exactly what I want. I tried various...