search for: nlmno

Displaying 2 results from an estimated 2 matches for "nlmno".

2006 Jul 16
1
Generating valid R code using R
...trying to generate valid R code using R. Parts of the task is to read a sequence of characters from file and escape them such that they can be put in quotation marks to form a valid R code string. Example: Let the input file be (four rows containing ASCII 0-255 characters): abcdef<tab>ghijk\nlmno second row\t\a\\ fourth and so on... <EOF> Now, find escapeString() such that the following piece of code generates a second file called 'file2.txt' which is identical to 'file1.txt': inStr <- readChar("file1.txt", nchars=999) esStr <- escapeString(inStr) rC...
2006 Jul 16
1
Generating valid R code using R
...trying to generate valid R code using R. Parts of the task is to read a sequence of characters from file and escape them such that they can be put in quotation marks to form a valid R code string. Example: Let the input file be (four rows containing ASCII 0-255 characters): abcdef<tab>ghijk\nlmno second row\t\a\\ fourth and so on... <EOF> Now, find escapeString() such that the following piece of code generates a second file called 'file2.txt' which is identical to 'file1.txt': inStr <- readChar("file1.txt", nchars=999) esStr <- escapeString(inStr) rC...