Displaying 20 results from an estimated 5000 matches similar to: "printing out tables to a file using cat..."
2001 Jul 09
3
transitions in R
Hi, All. I'd have a set of data in an array:
process <- c( 5 , 7 , 4 , 1 , 4 , 1 , 4 , 1 , 4 , 4 , 1 , 5 , 4 , ...)
and I'd like to know the number of transitions in this data. I
calculate transitions as the number of times a number follows another
number. thus, something like this would be a 1 deep transition:
1 --> 1 : 10% (and actual number of 1 --> 1 occurrences)
1
2001 Jul 10
4
accessing a table
Hi, all. I'm sure this is a simple question, but I'm having problems
figuring it out myself... I have a table:
> currenttable <- table(junk[-1],junk[-n])
> currenttable
bar foo junk
bar 2 2 0
foo 1 0 0
junk 0 0 1
and I'd like to know the result of the cell currenttable(bar,foo).
what is the best way to get that result?
thanks!
2002 Oct 08
3
repeated measures help; disagreement with SPSS
Hi, all.
I have a simple design I'm comparing to output from SPSS.
the design is 1 repeated measure (session) and 1 between measure
(cond). my dependent measure is rl. here is the data I'm using (in a
data.frame):
mig <- data.frame(subj=factor(rep(subj,3)),
cond=factor(rep(cond,3)),
session=factor(c(rep(1,nsubj),rep(2,nsubj),rep(3,nsubj))),
2003 Mar 18
1
temperature profiles on maps
Hi, all. I'm looking for a way to generate temperature profiles and
display them in different colors on different maps. I'm basically
looking for a way to display simple meteorological graphs using
different color sets within R.
Is there a way to do that kind of thing in R?
failing that, is there any way to create temperature profiles in R?
thanks!
greg
2002 Feb 08
1
looping through lists...
Hi, all. I have a whole group of lists with things like this:
nw.1$cond (a string)
nw.1$RL (a vector of 10 values)
nw.1$IL (a vector of 10 values)
and I have lots of these lists:
nw.201
nw.202
nw.203
...
what I'd like to do is be able to get specific values from all these
lists (like the mean of $RL) for each indivividual list. I can
certainly do this manually
2001 Mar 30
5
PICT output?
hi, all. I use R on a unix (linux) box and am quite happy with it.
However, sometimes I need to create a graph that needs to be used with
Microsoft Word or Powerpoint (ug). I can create a png or jpeg format
picture, but the text look pretty crummy because jpeg is bitmapped. I
can also create a PS/EPS version (my preference), but then it doesn't
display properly in word or powerpoint (but it
2006 Jun 04
4
Fil from filsystem -> db
Since Ajax doesn''t support file uploads, I''m using "IFRAME remoting
made easy" (http://sean.treadway.info/). I''m saving a file to the
filesystem, and then trying to put it in to the database when I do the
final submit with ajax. I thought picking the file up and putting it
in the db would be as easy as having:
"@image.data =
2006 Jun 08
1
Permissions on uploaded files, TinyFile
Hi, im getting a little trouble with this, im using TinyFile as the
example to upload files
http://wiki.rubyonrails.com/rails/pages/TinyFile/versions/20
All goes well but the files uploaded are saved with permissions 600
(linux) and in the case of images arent showed on the browser(but
uploaded and stored in the server without problems) i have to manually
ftp to the uploaded files folder and
2006 Sep 05
2
Mongrel and umask for uploaded files
So any files that are uploaded through my form are getting the following mode:
-rw-------
I need them to have:
-rw-r--r--
I''ve tried setting the umask in a script file called set_umask.rb as follows:
File.umask(022)
and then starting mongrel using:
mongrel_rails start -m config/mime.types -S set_umask.rb
but it doesn''t seem to change the mode that the files are created
2006 Mar 29
7
Uploading files and writing them to server?
Where should I look for information on how to use Rails and Ruby to
accept the upload of a file and then to save that file to the file
system of my server?
I''m reading the "Uploading a file" section of Agile Web Dev with Rails,
but it''s geared toward saving the file in the database.
Any advice?
Thanks,
Jeff
--
Posted via http://www.ruby-forum.com/.
2001 Apr 30
2
margin problems?
hi, All. I'm using R 1.2.2 on a linux box.
I have very long labels on my y axis, and when I try to print them
out, they always come out clipped so I can't see them. How do I
change the margin for the y axis? I've tried mai and mar, but they
don't seem to do anything...
process.names <- c("Makeprod-data", "Makeprod-QMM", "Search",
2001 Jul 05
3
plotting time
Hi, all. I'm trying to create a plot that has a range of about an
hour on the x axis, starting at about 10:15.
I have a way I'm currently doing it but it's not working. this is
what I want on the x axis:
|
|
|
|
|
|
|
|
|
|
----------------------------------------------
10:15 10:25 10:35 10:45 10:55 11:05 11:15
what's the best way to plot this out like this?
currently,
2010 Jun 22
2
domU can not start in Xen 4.0.1-rc3-pre using tapdisk
The domU is using pygrub to boot its own 2.6.18.8-xen kernel. It can be
booted successfully under 2.6.18.8-xen dom0 and xen 3.3.1.
However when upgrade dom0 to 2.6.32.15 and xen 4.0.1-rc3-pre, the domU can
not boot with tapdisk. I am wondering it is something related to the blktap
driver.
*When using tap:aio:* PATH/disk.img in domU disk configuration, the boot
process hanged at a prompt:
XENBUS:
2010 Jun 22
2
domU can not start in Xen 4.0.1-rc3-pre using tapdisk
The domU is using pygrub to boot its own 2.6.18.8-xen kernel. It can be
booted successfully under 2.6.18.8-xen dom0 and xen 3.3.1.
However when upgrade dom0 to 2.6.32.15 and xen 4.0.1-rc3-pre, the domU can
not boot with tapdisk. I am wondering it is something related to the blktap
driver.
*When using tap:aio:* PATH/disk.img in domU disk configuration, the boot
process hanged at a prompt:
XENBUS:
2001 Apr 03
0
graph from unix into word
On 31 Mar 01,, R-help Digest wrote (re: R-help Digest V2 #380):
> Date: Fri, 30 Mar 2001 09:49:21 -0500 (EST)
> From: Greg Trafton <trafton at itd.nrl.navy.mil>
> Subject: [R] PICT output?
>
> hi, all. I use R on a unix (linux) box and am quite happy with it.
> However, sometimes I need to create a graph that needs to be used
with
> Microsoft Word or Powerpoint
2001 Apr 03
0
PICT output? R plot to word
On 3 Apr 01,, R-help Digest wrote (re: R-help Digest V2 #382):
> - ----- Original Message -----
> From: "Mark Myatt" <mark at myatt.demon.co.uk>
> To: "Greg Trafton" <trafton at itd.nrl.navy.mil>
> Cc: <r-help at stat.math.ethz.ch>
> Sent: Monday, April 02, 2001 9:31 PM
> Subject: Re: [R] PICT output?
>
> > > 2) Is there a way
2014 Feb 02
1
Trouble implementing ov_callbacks, endless loop calling seek_func
Hello list,
I've been having a tough time adding windows resource support to my ogg
vorbise decoder, although I think I am close. Basically when I call
ov_open_callbacks(), it doesn't ever return and repeatedly calls my
seek_func.
I'm hoping it is something obvious, but I can't see why my seek_func is
being called endlessly. If the file is seekable, I should return 0, right?
If
2012 Mar 16
3
Simple hiera-puppet usage
Hi all,
I am trying to understand how does hiera puppet backend work, so I created the
following example:
hiera.yaml has only:
---
:backends:
- puppet
---
And the node:
node ''testnode'' {
$variable = ''kk''
$thing = hiera ("variable")
notify { "note: $thing": }
}
I don''t want to use the yaml backend for now, just want to
2001 Jul 10
1
returning quartiles of a list?
Hi, all. I have a list:
process <- c( 5 , 7 , 4 , 1 , 4 , 1)
and I'd like to get each half (or each third or each quartile) of the list:
process.firsthalf would be (5, 7, 4) and
process.secondhalf would be (1, 4, 1).
note that I'm not interested in the numeric quartiles (then I could
use quantile or several other functions).
what is the best way to get this kind of thing? for
2004 Oct 28
1
changing coordinate systems
Hi, All. I am working with some eye-tracking data. I have a graph I
generate in R with arbitrary plotting commands which I want to
display. Then I want to plot the eyetracking data overlayed on it.
The eye-tracking data is in x-y coordinates on a 640x480 coordinate
system. Ideally, what I'd like to do is plot my R graph (e.g.,
plot(1:10)), and then change the complete coordinate system of