Displaying 20 results from an estimated 6000 matches similar to: "r under linux: creating high quality bmp's for win users"
2006 Apr 08
1
How do I allow downloading pdf & and other files?
I have a library of .pdf and .doc files in the public folder of my Rails
app. What''s the best way to configure routes.rb so that I can provide
links to download these files from my webrick server?
--
Posted via http://www.ruby-forum.com/.
2003 Feb 26
1
plot as .ps file: where are the axes and labels gone
Sorry, I am sure, this must be documented somewhere (but there are that
many docs and tutorials to scan for topics..., actually a great thing...
but if you are in a hurry..):
I want to save a plot as .ps (or .eps):
> postscript("plot1.eps", horizontal=FALSE,
onefile=FALSE,height=8,width=8,pointsize=10)
> plot(hpfit$fit,rstudent(hpfit),xlab="Fitted
2011 Jun 22
1
Saved EPS/PDF graphics not same as JPG/BMP graphics
When I save a particular plot as JPG or BMP, the saved image is an accurate
copy of that plot.
But when I save the same plot as EPS or PDF, some text elements are
incorrectly altered.
An example is attached. Notice in the top middle and top right panels, the
x-axis labels have correct subscript 1 in the JPG, but incorrect subscript 2
in the EPS.
I'm using R 2.13.0 on Windows 7.
Any clues
2003 Oct 07
1
plot width in Sweave
Hi
I didn't find this in the manual: I need to change the width of a plot
while I use sweave, so which command/parameters should I insert below,
to change the width of a plot
\begin{figure}[htbp]
\begin{center}
<<echo=TRUE, fig=TRUE>>=
plot(Re(q),ylab ="",type="o",col="blue",lwd=1, sub=mystring)
@
\caption{Original stick function (stimulus
2000 Oct 04
5
postscript preview
gday R friends,
I was wondering if anyone could help me with some graphics issues please.
I'm processing R in batch on redhat6.2 with some graphics to be imported
into msword on NT. For scaling within my doco I want some vector type
graphics. win.metafile doesn't seem to be supported on redhat which gives
me postscript. postscript is ideal but doesn't contain a preview so I
2006 Mar 03
1
file command returns incorrect MIME type?
Here's the problem:
[ben at kepler tmp]# file -i presentation.ppt
presentation.ppt: application/msword
I see lots of references to this problem, (EG: IMP, PHP bug, etc) all of which
conclude, in various forms, "the problem is in your /usr/share/magic.mime, go
away". But nowhere (that I've been able to find) is there actually a solution
- and even the magic.mime file from
2008 Jul 09
2
Installing MSWord SETUP.INI is missing or invalid
Hi,
I'm trying to install Microsoft Word 2002 on Wine, version 1.1.0, running on ubuntu hardy heron, from a dvd called Microsoft Works Suite 2004 (German) that came bundled with my computer, and I've run into some kind of endless loop.
This is what happens:
- I d-click setup.exe on the dvd, wine starts and the setup menu is shown.
- I select custom setup and click the
2009 Apr 09
6
Cross-platforms solution to export R graphs
Hello Rusers,
I have worked on a R Wiki page for solutions in exporting R graphs,
especially, the often-asked questions:
- How can I export R graphs in vectorized format (EMF) for inclusion in
MS Word or OpenOffice outside of Windows?
- What is the best solution(s) for post-editing/annotating R graphs.
The page is at:
http://wiki.r-project.org/rwiki/doku.php?id=tips:graphics-misc:export.
I
2006 Mar 29
13
Rails on Mongrel
Hi,
After following advice from you good folks, I gave mongrel a try in a
cluster design based on the example on the Mongrel website - and it
worked right out of the box which is great - and it''s very fast :)
I have got a bit stuck though. I have two MS Word files in
/public/files/. I can pull back these files no problem but it isn''t
sending a mimetype.
I think I have two
2009 Jan 25
1
recently happend kernel panics regarding usb
Hi,
I'm experiencing recently happend kernel panics while making bacula
backups on my external USB harddisk. It first happened some days ago
while I was running 6.4-PRERLEASE. I then updated to 6.4-STABLE and
enabled all the kernel debugging stuff.
I've uploaded "screenshots" (including backtrace) here:
http://pics.pofo.de/gallery/v/misc/
I'm now not sure if the external
2005 Nov 03
2
copy installed IE6 and MSWord to another machine
Is there a way to simply copy all the Windows software I installed on
one machine to another machine?
At this time it's just IE6 and MSWord but there may be more Windows
software installed in the future...
Markus Winhard
2003 Sep 10
6
insert eps into microsft word
it seems that word can not read encapsupalted postscripts generated by R
I used this command
postscript("output.eps",horizontal=F,onefile=TRUE)
since onefile=TRUE produces an encapsualted postscript
actually what I'm trying to do is to insert the postsript file into a
word document
since other formats like jpeg and bmp do not reproduce the same quality
like postscript
formats
any
2006 Mar 03
7
Meta Programming Help
I have the following two methods:
def ProductFile::find_images(mode, prod_id)
# convert to symbol in case it is not (most commonly it may be a String)
mode = mode.to_sym
case mode
when :all, :first
ProductFile::find(mode, :conditions => ["product_id = ? AND
file_type LIKE ?", prod_id, "image%"])
end
end
def ProductFile::find_documents(mode,
2009 Oct 05
2
Loop function/comparison operator problem
Hi There,
I have created the following function
format<- function(){
repeat {
form<-readline(paste("\nIn what format do you want to save these
plots?\nChoose from: wmf, emf, png, jpg, jpeg, bmp, tif, tiff, ps, eps, or
pdf.\nNote: eps is the suggested format for publication quality plots.\nPlot
format --> "));
cat("\nI'm sorry, I don't know what that format
2004 Mar 29
2
c() question
Hi
I need to define the following
c("one group" = class.weight[2], "other group" = class.weight[1])
#class.weight = c(1,2)
but I don't like the hard-coded way and would like to use
my.group <- array(c("one group", "other group"))
but now
c(my.group[1] = class.weight[2], my.group[2] = class.weight[1])
gives an error
how can I solve this
2003 Jun 01
6
compositional data: percent values sum up to 1
again, under another subject:
sorry, maybe an all too trivial question. But we have power data from J
frequency spectra and to have the same range for the data of all our
subjects, we just transformed them into % values, pseudo-code:
power[i,j]=power[i,j]/sum(power[i,1:J])
of course, now we have a perfect linear relationship in our x design-matrix,
since all power-values for each subject sum up
2009 Mar 01
1
probleme with savePlot (to eps)
Hi the list,
I used savePlot to export some eps graph but it seems that the graph
file hold a bug. I include the graph.eps in a LaTeX file. Running latex
is ok. But the dvi file contain some mistake, the graph overprint on
some text and hide it. Then, when I try to convert it to another format,
I get :
Ignoring remaining special text following unkown PS operator: "SDict"
Remainder
2003 Jun 03
3
lda: how to get the eigenvalues
Dear R-users
How can I get the eigenvalues out of an lda analysis?
thanks a lot
christoph
--
Christoph Lehmann <christoph.lehmann at gmx.ch>
2003 Sep 26
2
overlay two pixmap
Hi
I need to overlay two pixmaps (library (pixmap)). One, a pixmapGrey, is
the basis, and on this I need to overlay a pixmapIndexed, BUT: the
pixmapIndexed has set only some of its "pixels" to an indexed color,
many of its pixels should not cover the basis pixmapGrey pixel, means,
for this "in pixmapIndexed not defined pixels" it should be transparent.
What would you
2007 Apr 27
3
attachment_fu content_type problem
Hi all....
Admittedly I''m new to Rails and trying to find my way but I''m having
an issue with uploading documents with attachment_fu.
I have a form where I''m uploading multiple attachments (using AJAX to
add file_filed_tags). That seems to work pretty well. The problem is
I can''t seem to get the content_type to work as I would expect. For
example, if I use