LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 12-17-2012, 09:01 PM   #1
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,428

Rep: Reputation: 83
R statistical package and gnuplot


Hya,

GOAL:
I want to export R plot to gnuplot for flexibility.

System:
Debian wheezy. R and gnuplot are downloaded from its repository (r-base..., gnuplot...)

Situation:
After drawing a scatterplot, I would like to export it to gnuplot. (spread lines, please) The function scatterplot() returns nothing informative, unlike lm().

What I did:
Checked R-manual for output options, however, I cannot locate them. For Dogpile, "R" is too short for searching.

Question:
Has anybody ever run into this situation?

Closing remark:
Thank you very much for your reading my post, which is not Linux specific. Have a nice Penguin!

cheers
 
Old 12-18-2012, 08:07 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
Why?
Everything should be possible from within R .
what exactly do you want to do?

help.start() should be helpful.

scatter.smooth() in stats
smoothScatter() in graphics
see library lattice
There are many other libraries ...see taskview in r website
 
Old 12-18-2012, 08:52 AM   #3
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
I don't really know a darn thing about R, but I've used gnuplot quite a bit. gnuplot wants to import data, not any kind of existing plot files. I think you need to focus on the problem from that viewpoint. A google search for "'r language' export data" turns up an abundance of hits. A couple that I visited seem to have useful instructions.

--- rod.
 
Old 12-18-2012, 07:36 PM   #4
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,428

Original Poster
Rep: Reputation: 83
Hya,

Thanks guys.

amani: What I want to do is fine formatting. I will check libraries suggested by you.

theNbomr: Yes, you are right. I did not describe enough at post #1. I have no problem with original data. I was looking for data points of mean/spread lines (could be data for spline?) to export. Currently, I found that it could be possible to tweak PostScript output by dev.print().

The problem here is that I am not familier with R plot and "gnuplot" has been my tool.

Have a happy Penguin!

cheers
 
  


Reply

Tags
data, export, format, plot, statistics


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistical applications onyangoliech Linux - Software 3 02-04-2007 10:38 PM
OpenSource Statistical Package smiley_lauf Linux - Software 4 03-12-2006 11:18 AM
Need help on statistical info denissca Linux - General 2 01-21-2006 10:23 PM
I need gnuplot 4.0.0 package that is compatible with redhat 9 janetcole Linux - Software 1 08-15-2005 02:31 PM
statistical packages tireseas Linux - Software 6 02-01-2004 03:33 AM


All times are GMT -5. The time now is 08:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration