search for: mypic

Displaying 10 results from an estimated 10 matches for "mypic".

Did you mean: mypc
2006 May 30
11
Another String Manipulation Exercise
Hi guys, And I thought it wasn''t a problem. Here''s my string "/var/www/vhosts/mysite.com/httpdocs/public/file/mypic.jpg" How do i take out all the text that comes before "mypic.jpg"? Trickier than I first thought. TIA, Bing -- Posted via http://www.ruby-forum.com/.
2008 Jul 31
2
How to output R image to a file?
Hello, I would like to ask if anyone could help me. I want to save images I create (e.g. histograms, boxplots, plots, etc.) to a file or files. Does anyone know how to do this? Thank you. Aiste [[alternative HTML version deleted]]
2011 Aug 10
1
setting the screen background with gconftool-2
I centos 5 I can run this command: su myuser -c "/usr/bin/gconftool-2 -t string --set /desktop/gnome/background/picture_filename /usr/share/backgrounds/images/mypic.png" and this works fine. under centos 6 it does not appear to be working... I can run the similiar --get command and it tells me its set to what I asked for. However the screen is not showing mypic.png I can use gconf-editor to set it manually and it works. I looked to see if gconfd-2 is r...
2006 Mar 24
1
Sweaving in png
...ssible, due to the huge size of the pdf pictures produced. The first solution I found was to save pictures in png, when too heavy in pdf. Here is an example: ### in a .rnw document ### % here is an invisible chunck to create a picture <<fig =FALSE,echo=FALSE>>= png(filename='figs/myPic.png') @ % next, R code to generate picture <<fig=FALSE,echo=TRUE>>= ...[code to produce the figure] @ % then, close the device. Hidden, again <<fig =FALSE,echo=FALSE>>= dev.off() @ % and then, include it as a picture \includegraphics{figs/myPic.png} ### end of the ex...
2006 Mar 22
0
Sweave in png
...ice, this eventually led to very heavy pdf, sometimes impossible to read. So the first solution I found was to save pictures in png, when too heavy in pdf : ### in a .rnw document ### % here is an invisible chunck to create a picture <<fig =FALSE,echo=FALSE>>= png(filename='figs/myPic.png') @ % next, R code to generate picture <<fig=FALSE,echo=TRUE>>= ... @ % then, close the device. Hidden, again <<fig =FALSE,echo=FALSE>>= dev.off() @ % and then, include it as a picture \includegraphics{figs/myPic.png} ### end of the example ### I found that quit...
2006 Jun 06
9
How to protect images from public?
Hi, I''m trying to figure out the best way to protect images uploaded by users who may wish to keep them private. For example, if they are uploaded in the default file_column location (/public/blah/blah/1/) then someone can simply type the URL http://www.blah.com/blah/blah/1 and get the image. I can store the images in a non-public directory in the rails app (ie: /railsapp/images/X/)
2003 Jun 20
1
Roaming Profile XP
Hi, I have configured roaming profile on WIndows Xp client that is connect to the Samba. Login works fine except that when I change the wallpaper on one machine, log off and goes to another machine, the wallpaper was not changed on the other one. Other files created on the desktop are changed. Can anyone explain or help ? Thanks. adrian
2006 Jan 19
10
Where to place uploaded files for later download?
Hi there, I am working in a RoR application which allows certain users to upload files. Currently I store these files in a directory called "files". This directory is located in the RoR application directory: rails/rails_application/files So users don''t have access to them. Now I want users to be able to download some of these files (they will search based on some
2005 May 11
3
Graphics file to disk
Dear All, I have some code that works in S-Plus for writing saving a graphics file to disk :- graphsheet(type = "auto", format = "WMF", file = "G:\\north0l.wmf", pages = "auto", print.background = F, orientation="landscape", color.style="color") plot(x,y) dev.off() This works fine in S-Plus. I have tried playing
2002 Mar 14
1
gif, jpeg and png image files reader AND tcltk image
...simplest "dirty" way to get the problem solved. But I ran into yet another interesting but quite round-about way to solve the problem (partially). Through tcltk package, one can read in the gif image with > x <- tkcmd("image", "create", "photo", file=mypic.gif) > x.data <- tkcmd(x, "data") gives you the data for the image, but is in a format internal to tcltk. But then it turns out that the format is very straightforward to understand: the enclosed simple function decodes the format and returns a matrix for the data, > x.data.ascii...