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
>
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 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
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
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
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
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"
>
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 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
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
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 -%><%
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
2017 Apr 21
2
CentOS 7 + HPLIP = blank page
Hi,
I just installed CentOS 7 + KDE on a new workstation in my office. I
tried to setup my printer, but the test page is blank. Here's some details.
The printer is an HP OfficeJet 8600 Pro. It works perfectly with all
other desktop clients running Slackware Linux and HPLIP.
I installed hplip and hplip-gui, launched HP Toolbox and then setup the
printer - a network printer - which is mainly
2004 Feb 13
4
How to plot a blank plot
Hello everyone,
In plotting several graphics, I'd like to be able to plot a blank plot
as in:
par(mfrow=c(2,1))
plot(BLANK)
hist(rgamma(100000,6463.7,scale=0.015471),xlim=c(0,120),main="Emergence")
I realize screen allows me to do this, but I figure the functionality
must be there. Is there an equivalent to plot(BLANK)?
thanks,
adrian
PS. please reply direct as I'm not
2005 Jun 07
2
blank line at the top of mbox
On Sat, Mar 13, 2004, somone posted a note which read:
It seems dovecop pop3 server sometimes inserts a blank line at the top
of the mbox. It only happens for certain users not all.
I'm not sure why it's doing that.
Looking back into the mailing list, I saw the same post in Oct 6, 2003
but there was no reply to it.
Is there a patch or fix that i can use to get around the blank line?
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.
2011 Apr 25
4
blank space escape sequence in R?
Is there a blank space escape sequence in R, i.e. something like \sp etc. to produce a blank space?
TIA
Mark
???????????????????????????????????????
Mark Heckmann
Blog: www.markheckmann.de
R-Blog: http://ryouready.wordpress.com
2010 Jan 06
1
Write a blank line to CSV
Greetings and happy new year!
I'm attempting to write a series of tables to a CSV file, and would like to
insert a blank line after each table. To do this, I use:
> write.csv(NULL,"tables.csv",append=T)
which appears to work, except that this warning is thrown:
> Warning message:
> In write.table(NULL, "tables.csv", append = T, col.names = NA, :
> appending
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