similar to: Manipulate single line in textfile

Displaying 20 results from an estimated 11000 matches similar to: "Manipulate single line in textfile"

2008 Oct 16
2
Matrix starting at [0,0] instead of [1,1]?
Hello all, When I create a matrix, is there a way to make it start at [0,0], instead of [1,1]? That way, a 2x2 matrix would go from [0,0] to [1,1], instead of [1,1] to [2,2]. Best, Guillaume
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", from menu.c32? I have tried (and failed) with (menu.c32)
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
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? >
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
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
2007 Jan 24
3
Capturing output from external executables, in windows
Hi, Any help on the following would be much appreciated I wish to capture the output (currently going to console) from an external 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
2009 Mar 19
1
How do I add a variable to a text file?
Hello all, I have a 2.0 GB dataset that I can't load into R, due to memory issues. The dataset itself is in a tab-delimited .txt file with 25 variables. I have a variable I'd like to add to the dataset. How do I do this? Best, Guillaume
2009 Mar 24
1
How to separate huge dataset into chunks
Hello all, I?m trying to take a huge dataset (1.5 GB) and separate it into smaller chunks with R. So far I had nothing but problems. I cannot load the whole dataset in R due to memory problems. So, I instead try to load a few (100000) lines at a time (with read.table). However, R kept crashing (with no error message) at about the 6800000 line. This is extremely frustrating. To try to fix
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? > >
2010 Feb 03
0
"read.table" and "scan" skips newlines which "count.fields" finds in Thai textfile
Hi there, I have some problems reading in a Thai text. Some of the newlines are skipped. (see the contents of my file below) R>count.fields ("my.txt", sep='\n', quote="") [1] 1 1 1 Three lines with one item each, right? R> scan("my.txt", what="", sep="\t", quote="") Read 2 items [1] "?\x83???\x88
2002 Nov 22
2
Need help with pipe()
Hello. I have an R program that calls gawk (GNU Awk 3.06 for Windows) from within pipe() to preprocess a large file before it is read into a data frame with read.table(). 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
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
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
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
2005 Feb 19
2
I have a odd question...
Hi all. I am going to do a simple "voting application" for a radiostation. The idea is to have listeners call in to vote on songs. What I want to do is to take a phonenumer for each song and present the result on 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:
2002 Oct 04
1
Does the perl language have an equivalent to browser?
I'm asking on this list because the question will be more easily understood than on a Perl list. Lots of talented people using R also know how to use Perl, so it's easier to ask them. Running a Perl script with the -d switch can do some pretty neat things, but as far as I can tell, every line has to be done individually. Is there a way to specify where to stop in the way browser() does
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 or otherwise). Same 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