Displaying 20 results from an estimated 190 matches similar to: "how to get the plot like the attachment?"
2009 Dec 23
5
iid.test
I downloaded the iid.test, but I can't run it. I get the following message:
Error: could not find function "iid.test"
Where am I supposed to save this package in order that it works?
Thanks,
EZ
[[alternative HTML version deleted]]
2005 Jan 02
4
yp dir
Hi All,
Maybe a strange question, is there any info or maybe even an template
for setting up an yp directory!
The idea to set one up for local purpuses like: espescially dutch
languages would be nice!
Maybe an extra setting in the stream clients to also give in the
language and maybe even country of orgin of the content could be any
help with that, could be a nice extra search option too for
2003 Nov 06
5
scp vs ftp performance on SGI IRIX????????
Hi,
Running OpenSSH 3.5p1 or 3.7.1p2 on two SGI orgin 300 systems of IRIX
6.5.17 with
4 600MHz CPU and gigabits network.
Transfer a 1GB file with ftp took 28 seconds.
Transfer a 1GB file with scp took 148 seconds.
Use "snoop" to capture all network packets between these two systems. Ftp
tansmitted
about 107840 packets, but scp transmitted about 763339 packets.
Is this normal? Why?
2008 Apr 04
3
Weird Issue with Rails 2.0.2+???
Hi. I have kept my rails installation up to date. Now I have
2.0.2.9216 installed, including a fewl older ones, back to the
original 2.0.2 release, However, I keep on getting weird problems
with newly created projects on line #44 of config/environment.rb:
config.time_zone = ''UTC''
So I did a "sudo gem cleanup" so that only 2.0.2-9216 remains, and
created a new
2005 Jan 03
0
yp dir
On Mon, 2005-01-03 at 00:00, Dennis Heerema wrote:
> Hi All,
>
> Maybe a strange question, is there any info or maybe even an template
> for setting up an yp directory!
> The idea to set one up for local purpuses like: espescially dutch
> languages would be nice!
> Maybe an extra setting in the stream clients to also give in the
> language and maybe even country of
1999 Jan 25
1
Problems running apps from Samba 2.0.0 share on NT 4.0
Ever since I upgraded from Samba 1.9.18 to 2.0.0, I've been
having problems with applications started from a Samba share dying
silently, or with an Illegal Instruction message, on NT 4.0
Workstation. Since the only configuration change has been the Samba
upgrade, that would seem to be the orgin of the problem. Below is my
smb.conf file, in case I have something configured (or not configured)
1999 Jan 13
4
make docs
I'm having trouble with make at the documentation. (R 0.63.2 on Solaris)
Paul Gilbert
______
g77 -O2 -fPIC -c kmns.f -o kmns.o
ld -G -o mva.so dblcen.o hclust.o kmns.o
mkdir ../../../../library/mva/libs
mkdir ../../../library/stepfun
mkdir ../../../library/stepfun/R
Building system startup profile
You should `make docs' now ...
make: Fatal error: Don't know how to make target
2017 Aug 11
1
EOF within quoted string
Yes. I tried that already. Not straightforward.
data <- read.csv("20_newsgroups.csv",fill=TRUE,as.is=T,header=F, quote="", sep=",", encoding="UTF-8")
This line does read it haphazardly. The emails in the column are split into multiple columns and there are several columns with just ?NA?. Totally 202 columns.
And then I removed columns with NA?s and
2009 Nov 02
3
how can I convert .csv format to matrix???
In my disk C:/ have a a.csv file, I want to read it to R, importantly, when
I use x=read.csv("C:/a.csv") ,the x format is data.frame, I want to it to
become matrix format, how can I do it ?
thank you!
--
View this message in context: http://old.nabble.com/how-can-I-convert-.csv-format-to-matrix----tp26156643p26156643.html
Sent from the R help mailing list archive at Nabble.com.
2010 Apr 14
8
how can I plot the histogram like this using R?
I want to get the plot like this,
http://n4.nabble.com/file/n1839303/%25E9%25A2%2591%25E7%258E%2587%25E5%2588%2586%25E5%25B8%2583%25E5%259B%25BE%25E6%25A0%2587%25E5%2587%2586.jpg
%E9%A2%91%E7%8E%87%E5%88%86%E5%B8%83%E5%9B%BE%E6%A0%87%E5%87%86.jpg
not this, http://n4.nabble.com/file/n1839303/R.jpg R.jpg
and the data here, thank you! http://n4.nabble.com/file/n1839303/y1.txt
y1.txt
can R
2009 Nov 06
2
how can I delete those columes with the same element in every row?
e.g.
a=
a b c d e
1 1 1 3 1 1
2 1 2 3 4 5
3 1 3 3 8 3
4 1 4 3 3 5
5 1 1 3 1 1 I want to delete colume a and colume c, because they
have the same values in every row, then ,I want to get this data.frame .
b=
b d e
1 1 1 1
2 2 4 5
3 3 8 3
4 4 3 5
5 1 1 1 the following is my code but it's wrong.
rm(list=ls())
a=c(1,1,1,1,1); b=c(1,2,3,4,1); c=c(3,3,3,3,3);
2009 Nov 06
2
another question: how to delete one of columes in two ones with high correlation(0.95)
my programe is below:
a=c(1,2,1,1,1); b=c(1,2,3,4,1); c=c(3,4,3,3,3); d=c(1,2,3,5,1);
e=c(1,5,3,5,1)
data.f=data.frame(a,b,c,d,e)
origin.data<-data.f
cor.matrix<-cor(origin.data)
origin.cor<-cor.matrix
m<-0
for(i in 1:(cor.matrix[1]-1))
{
for(j in (i+1):(cor.matrix[2]))
{
if (cor.matrix[i,j]>=0.95)
{
data.f<-data.f[,-i];
i<-i+1
}
2007 Aug 22
2
New server is not discovering USB drive attachment
Just built a Centos 5 system last night that will be a NAS server.
I have a bunch of notebook drives with information I want to populate
the NAS with.
I am logged in as root. I plug in the USB notebook drive device and
nothing.
My notebook has no trouble with this device. Obliviously I missed
something in the install.
autofs is reported as running, so not that.
2006 Aug 10
1
ActionMailer attachment troubels
Hi!
As per the API Docs, I''ve put this in my Actionmailer class
attachment :content_type => "application/csv",
:body => File.read(filename), :content_disposition => ''test.csv''
The email arrives okay and all but the filename is ignored and the
newlines in my CSV file are gone (replaced by something else).
I must admit I''m receiving
2006 Jul 11
0
ActiveMailer HTML + Plain Text + Attachment?
How do you do this?
Tried all the examples on the wiki, and unfortunately the trac is not
accessible right now to check the trouble tickets.
No matter what I do the mime structure seems to be incorrect.
It seems that adding an attachment to a html+plaintext message is not
possible using the standard methods. I have seen some old posting on the
mailing list about overriding the deliver method
2006 Jul 25
0
writing an email file attachment to the filesystem
I''m having some difficulty writing an email file attachment to the
filesystem.
I have the following line in my /etc/aliases
webname: "| /usr/bin/ruby /home/webname/webapp/script/runner
''AssetSubmitHandler.receive STDIN.read''"
Everything works up to this point, it picks up the email and tries to
process it.
When I go to write the file using (in my
2006 Apr 28
0
Extracting Email Attachment Content
If an email incoming to Actionmailer has an .htm attachment, how is it
possible to extract the file''s text (the html text in the file) to
insert into the database?
I''ve tried reading the attachment like so, theFile =
File.open(attachment.read, "r"), to no avail. But that fails stating
that there is no such file or directory (but the attachment is there for
certain).
2006 Jan 27
1
Code snippet request: Text email with attachment
I tried following this wiki tutorial:
http://wiki.rubyonrails.org/rails/pages/HowToSendMimeMultipartEmailsWithActionMailer
But I''m getting lots of errors and suspect that there may be mistakes in
the code.
Anyone got a snippet of a *working* multipart email (maybe using TMail)
?
Thanks!
--
Posted via http://www.ruby-forum.com/.
2005 Dec 16
1
Composing HTML e-mail with a PDF attachment
Hi, everyone. I''ve been using Rails for a little while now, and am
really, really enjoying the experience.
I''m having the darndest time trying to send e-mail whose contents are in
HTML, and which includes a PDF attachment. Following various
instructions (in the Pragmatic book, as well as at
<http://wiki.rubyonrails.com/rails/pages/HowToSendEmailsWithActionMailer>),
2009 Sep 25
0
Paperclip: Adding attachment to model on update not working
Hi,
This is a bit of a special case. Ive got a POST form for a posts model
which has a preview functionality. So if the user clicks on "Preview",
then the model is saved and a new window opens with the preview. And
the user can keep adding content to the post and previewing before
he''s satisfied and clicks on "Publish". And for every subsequent
previews, i pull that