similar to: Reading blank lines

Displaying 20 results from an estimated 70000 matches similar to: "Reading blank lines"

2003 Sep 23
1
Omitting blank lines with read.table
Say we have a tab delimited file called bug.txt Part Rep Cage Hb pupae 1 1 S 32 1 M 34 L 42 2 S 36 M 28 L 36 read.delim("bug.txt") Part Rep Cage Hb.pupae 1 1 1 S 32 2 NA 1 M 34 3 NA NA L 42 4 NA NA NA 5 NA NA NA 6 NA 2 S 36 7 NA NA M 28 8 NA NA L 36 >
2009 Aug 06
1
[R] Repeatable, But Time Varying R GUI Crash (PR#13880)
On 8/6/2009 4:11 PM, Marilyn & Rich Short wrote: > Hello, > > I'm having a problem in R. The R GUI is crashing with a message to > contact Microsoft for the solution. I've contacted Microsoft and they > are of no help. Below is a distilled set of code that will cause the > crash. As you will see, there are two do-loops within which is a "load" >
2006 Jul 21
4
Reading data with blank elements
Hi, I have a dataset saved in *.csv format, that contains 13 columns (the first column being the title name and the rest experiments) and about 2500 rows. Not all columns in the row have data in it i.e for eg BS00,-0.084,0.0136,-0.1569,-0.6484,1.103,1.7859,0.40287,0.5368,0.08461,-0.1935,-0.147974,0.30685 BS01,0.491270283,0.875826172,,,,,,,,,,
2013 Nov 26
1
Blank lines in DESCRIPTION
Dear R-devel list, I would like to enquire about the existence of blank lines in the DESCRIPTION file. Testing different possibilities with tools:::.read_description suggests that starting or ending with blank lines is acceptable while blank lines in the middle of the file get caught by out <- tryCatch(read.dcf(dfile, keep.white = .keep_white_description_fields), error = function(e)
2007 Jun 23
3
Setting up a blank table with column names in the hard drive
Dear Friends. Greetings! This should be a very common operation and I believe there should be a nice way in R to handle it. I couldn't find it in the manual or by searching on line. I am wondering if I could ask for some help in this community. I am trying to record the results of my program to a csv file in the hard drive so as to save memory space and also to read the results in excel
2008 Aug 18
2
graphsheet
Hello, I am trying to convert the following command from SPLUS to R: graphsheet(pages = TRUE) Does anyone have an idea what is the equivalent in R? Thanks -- View this message in context: http://www.nabble.com/graphsheet-tp19026010p19026010.html Sent from the R help mailing list archive at Nabble.com.
2009 Jun 10
1
Preventing .Call from printing a blank line to the R console on Windows
Hello everyone, I am using the CVODES integrator in the Rsundials package. Every time I call the integrator, a blank line is printed in the console. Using debug, I was able to isolate the problem to this line in the function cvodes(...): solutions = .Call("cvodes", PACKAGE = "Rsundials", as.double(y), ... Since I am running the integrator thousands of times, I wind up with
2007 Oct 12
2
Nested lists and blank lines
I have recently begun using Markdown + PHP Md Extra + SmartyPants in the Symphony XML-based CMS. I'm not sure if this is a Symphony question, or one that can be answered here. I hope someone will tell me. :) I've done my best to find an answer in the online documentation, but drawn a blank. When I use nested lists -- it doesn't matter whether <ol> or <ul>, there is always
2007 Aug 10
0
set up a blank csv file and write time series to it row by row
Dear Friends. Greetings! I have asked the question of how to set up a blank file and write a list to it as a row for many times, with the number of lists unknown. I have received many beautiful solutions. Thanks go to Professor *Murdoch, Professor *Menne, Professor Grothendieck and Dr. Olshansky. I have organized the solutions below: ########################################## *Set up a
2013 Jan 19
0
import data (txt) separated by many blank spaces and lines with variable names that correspond to multiple observations.
Hello, I have read other posts and in part I tried to solve my problem. I have a txt file but the values ??as well as being separated by many blank spaces and lines eg. var_a var_b var_c 1 2 4 5 2 6 2 have an encoding problem in the header, let me
2004 Aug 13
1
Bug or feature in winMenuDel?
I just noticed the following in Rgui: > winMenuAdd('test') # adds a menu > winMenuAddItem('test', 'item', 'x') # adds an item to it > winMenuDel('test') # deletes the menu... > winMenuItems('test') # but leaves the item behind. item "x" Would anyone object if I changed winMenuDel so that it deleted the
2007 Jan 11
2
Wishlist: Sweave: allow line breaks after forward slashes (PR#9444)
>>>>> On Thu, 11 Jan 2007 15:07:00 +0100 (CET), >>>>> ahenningsen (a) wrote: > Full_Name: Arne Henningsen > Version: 2.4.0 > OS: Linux > Submission from: (NULL) (134.245.140.242) > Sweave does not allow line breaks after forward slashes ("/"). This might lead > to a long "substring" of a command that cannot be
2005 Apr 26
4
Blank lines in mailboxes
Hello, we use dovecot on a regular basis. Sometimes I end up with a user telling me he does not get mail. When I look after the problem, I always find leading blank lines in the mbox file. We are using postfix with dovecot and amavisd as spam scanner. Amavisd never accesses the mbox files directly so this can be ruled out. I suspected procmail but now it happened also with accounts where no
2006 Dec 29
3
Leading blank lines in codeblocks ignored?
(In the following I write <tab> because my MUA strips tabs) Consider the code: ---- Paragraph <tab> <tab> Line <tab> ---- or even: ---- Paragraph <tab><space> <tab> Line <tab> ---- Markdown.pl ignores the leading blank line in the code block. Is this intended behaviour? -- Andrea Censi "Life is too important to be taken
2007 Feb 22
2
rgl update: please test!
(This is bcc'd to a list of people who have had problems with rgl lately or who are known to be big users; not cc'd, so you don't all get cc'd all the responses on the R-devel list). I've just put together a test build of rgl, and put it on my web site as http://www.stats.uwo.ca/faculty/murdoch/software/rgl_0.70.564.tar.gz (source) and
2008 Oct 22
1
Inserting blank lines into a file
Hi, Should be a quickie: I want to make a datafile in R for plotting in gnuplot (which has friendlier 3D plotting options, as far as I can tell). So, I want to create a file with contents along the lines of #File begins 0 0 10 0 13 10 0.2 2 10 1 0 10.12 1 1 5 1 2 10 2 0 10 2 1 1 2 2 10 It's probably fairly easy to write the space-separated numbers with write.table, sink, or similar. But
2007 May 12
2
Fwd: Re: shell.exec() on Windows, unexpected behavior
Duncan is on the right track. Thanks. In the CMD window start "c:\Program Files\R\R-2.5.0\doc\manual\R-admin.pdf" opens another CMD window with the quoted string as title. In the CMD window start c:\Progra~1\R\R-2.5.0\doc\manual\R-admin.pdf (with the 8.3 name and no embedded blanks) opens Adobe Reader 8 Windows Explorer shows the Adobe 6 icon by the PDF files. The Windows
2011 Apr 06
5
Blank lines in conditional templates
I''m writing ldirectord.cf files via puppet and unfortunately ldirectord is sensitive to blank lines in the file. I have the following code in my .erb file virtual=<%= vip %>:<%= port %> <% if weights.empty? then -%><% real_servers.each do |real_server| -%> real=<%= real_server %>:<%= port %> gate <% end -%><% else -%><%
2009 Feb 10
1
Variable/function namespaces WAS: Bug in subsetting data frame (PR#13515)
On Tue, Feb 10, 2009 at 10:11 AM, Duncan Murdoch <murdoch at stats.uwo.ca> wrote: > Stavros Macrakis wrote: >> On Tue, Feb 10, 2009 at 8:31 AM, Duncan Murdoch <murdoch at stats.uwo.ca>wrote: >>> The evaluator recognizes the context of usage and will get the >>> function for a function call.... >> Can you point me to chapter and verse in the language
2004 Jul 10
1
read.table, read.fwf, and na.strings (PR#7075)
# Your mailer is set to "none" (default on Windows), # hence we cannot send the bug report directly from R. # Please copy the bug report (after finishing it) to # your favorite email program and send it to # # r-bugs@r-project.org # ###################################################### Is this intended behavior for the read.fwf(na.strings="-999")? I anticipated that