Displaying 20 results from an estimated 600 matches similar to: "Burt table from word frequency list"
2008 Oct 02
3
Problem with read.table()
Hello everybody,
I'm a new user and I'm trying to use read.table with a tab delimited
file but the system tells me (i) that there are more columns than
column names, and (ii) that headers and col.names are of different
lengths. I have already checked my variable names and there's no blank
spaces. However, some variables have quite long names such as
2006 Aug 18
1
using R to perform a word count - syntax refinement and incorrect number of dimensions error
Hello,
I am hoping someone can advise me regarding an error message I received and
if needed, refine some syntax. I am wanting to calculate the word count for
each row of a dataframe. Below, I have 3 variables ("V3.PD", "V3.HD",
"V3.LP") which I want to obtain a word count for, by each row which
contains these variables.
Any assistance is much appreciated,
Bob
2005 Oct 16
1
prototype help needed - how to get started
Hello,
Despite Sergio''s excellent documentation on prototype, I’m still struggling
to get started. I hope somebody is able to help me a with a little example
to get me going.
Please see html code below – I have this little navigation bar and I like to
add some events/functions to the buttons.
Let’s say, onmouseover, I like to change e.g. the background-color of the
button and
2010 Feb 14
3
evaluate variable within expression - how?
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt.
Name: nicht verf?gbar
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100214/4b41a017/attachment.pl>
2006 May 18
7
Server out to excel
How would one server out to excel a html table with the mime/content
type
application/vnd.ms-excel ?
In PHP it would be something like
?php
header("Content-Type: application/vnd.ms-excel");
------
But how do I do this in rails?
Cheers Glenn
--
Posted via http://www.ruby-forum.com/.
2006 May 11
3
Textile/RedCloth and h() incompatible?
If a user enters the Textile-based code for an image, say:
!>graphic.png!
the textile() method will successfully render a right-float image. Now,
if I want to escape the user''s text using h(), the ''>'' is turned into an
&. Obviously, the image then fails to render in a browser. Is there
a work around for this?
I guess what I''m really asking
2012 Jul 17
1
How to use a text in an object of class character position to create a vector with the text as name
Hello,
>titletool<-read.csv("TotalCSVData.csv",header=FALSE,sep=",")
> class(titletool)
[1] "data.frame"
>titletool[1,1]
[1] Experiment name : CONTROL DB AD_1
>t<-titletootl[1,1]
>t
[1] Experiment name : CONTROL DB AD_1
>class(t)
[1] "character"
now i want to create an object (vector) with the name "Experiment name :
2018 Sep 28
4
Simple bash question
I am calling a bash script and passing in somestring that includes a "$"
myscript "$plusmore"
I want to assign in the myscript the $1 arg to something like
MYTEXT="$1"
when I do that I dont get what I'm expecting. if I do
MYTEXT='$1'
I still dont get what I'm expecting.
On the first assignment of MYTEXT I do not want the "$" to be
2012 Dec 12
2
long margin text below lattice plot - how to wrap lines?
Hello,
I've got a lattice plot and need to add text into the bottom margin of the plotting area (below the bottom legend).
This seems to work in principle using grid.arrange, yet the text to be added is rather long. As a consequence, it gets clipped:
require(lattice)
require(grid)
myplot <- xyplot(1~1)
mytext <- textGrob("This is such a very very long text that it goes on forever
2005 Jan 06
2
autoscaling plot font size in Sweave output possible?
Hi,
I was wondering if it's possible to have fonts in plots to be
autoscaled to the same font size used by LaTeX in a surrounding
Sweave document.
Here's a short example in which the fonts of the first plot are
barely readable:
--8<------------------------schnipp------------------------->8---
\documentclass{article}
\usepackage{graphicx}
\newcommand{\mytext}{Some normal sized
2011 Aug 25
2
string manipulation
I R-users,
I am trying to find the way to manipulate a character string to select a 4 digit number after some specific word/s. Example:
mytext <- "I do not want the first number 1234, but the second number 5678"
Is there any function that allows you to select a certain number of digits (in this case 5678) after a particular word/s (e.g., second number)
Thank you for your help
2007 Feb 19
2
Sizer question
First, Thank you, thank you, thank you for those who put wxRuby
together. I''m thrilled to be able to write GUI code in Ruby!
I''m hitting some confusion about how Sizers work. I''ve read the
tutorials and the section in the wxWidgets book but I still can''t
seem to figure this out.
Here''s an example of my code:
parent = Wx::Panel.new(frame, -1,
2005 Nov 30
1
\dQuote{} in \code{} not processed
Just wondering if this is the expected behaviour.
I was wanting to produce quoted text within \code{}, without manually
entering the '"'. \dQuote{} seems advisable after reading the Writing R
Extensions manual, so I tried \code{\dQuote{mytext}} expecting it to
produce "mytext" in monospace font (with ' ' round it in the R help
files) but it appears that
2007 Dec 28
4
wxSizerItem show() method
It appears from the wx 2.8.7 documentation that a wxSizerItem has a show()
method. But when I try to invoke it through wxruby, I get:
tasks.rb:56:in `do_btn3'': undefined method `show'' for
#<SWIG::TYPE_p_wxSizerItem:0xb5eedf44> (NoMethodError)
Is this just something that hasn''t been added because people don''t
manipulate wxSizerItems much, or is it
2019 Feb 13
3
Problem writing to ADS with cifs mounted windows share on Linux
Hi,
We are facing difficulties writing to Alternate Data Streams (ADS) on a
Windows CIFS mount on CentOS/RHEL Linux.
Steps followed on both machine:
--------------------------------------------
On RHEL(cifs.ko version: 1.68)
1. Created sample.txt file using vim with come content inside the
Windows CIFS share mounted on linux.
2. Then wrote some content with “vim
2006 Jun 28
4
How to export data
Hello
I would like to know if there is a webpage or something else (even
another thread in this forum) where there''s an explanation (preferably
simple and detailed)on how to export data from a rail application to a
.doc or a .xls. I have read Agile Web, Rails recipes and a few threads
in this forum but I don''t know how to do it.
Where is stored the model document ? How to
2011 Aug 04
3
#create tests fail when I add FriendlyId to my model
I am doing controller testing, and I can''t seem to get the create
method test to pass when friendly_id is added to the mix. If I comment
it out of the model, the tests all pass perfectly. The moment I add it
back in, the error looks like this:
1) Error:
test_create_valid(BrandsControllerTest):
FriendlyId::BlankError: FriendlyId::BlankError
2017 Mar 14
2
[cfe-dev] proposal - pragma section directive in clang
Thanks Reid/Jonathon for your replies.
Reid,
An important case against module level flags is that it wont allow changing or resetting section names e.g.
int a;
#pragma clang section bss = "xyz"
int b;
In case above, users would like to see only 'b' placed in 'xyz' and not 'a' as well.
Link pointed to by Jonathon seems to require same behavior.
2006 Aug 14
2
Change Button Text - Ajax
Hi,
I have the following code
<%= button_to_function "Hide", "Element.toggle(''mytext'');"%>
which does toggle the invisiblity of the text just fine, But want I want
via ajax magic, is to also toggle the button text, so it will now
display "Show" when I have toggled the invisiblity of the Div.
Thanks for any help.
John
--
Posted via
2011 Mar 12
3
how to label lines
Hello R
I can not figure out, how to add text string or number to lines like on this
image:
http://r.789695.n4.nabble.com/file/n3350452/graph.png
I have some data series in text file.
My script:
require(graphics)
require(stats)
graf=read.table("file",header =FALSE,sep = "", dec = ",",fileEncoding = "",
encoding = "unknown", skip=19,nrows=400)