R?

Ranjan Maitra maitra.mbox.ignored at inbox.com
Tue Oct 15 16:37:08 UTC 2013


OK, you are missing some packages (not from R):

sudo yum provides */libpng-config

yields:

2:libpng-devel-1.5.13-2.fc19.i686 : Development tools for programs to
manipulate : PNG image format files
Repo        : fedora
Matched from:
Filename    : /usr/bin/libpng-config


So install:

sudo yum install libpng-devel

I suspect this takes care of the other error also.

The professor needs to be asked what use this sort of "learning" how
to use a package is? Monkey-see-monkey-do is all one will get.....throw
in a non-standard scenario and what will the students (or the professor
himself) do?

Nevertheless, HTH!

Ranjan



On Mon, 14 Oct 2013 10:27:19 -0700 Richard Vickery
<richard.vickeryrv at gmail.com> wrote:

> I know they're useless, but the professor used them and, having known
> how to do things without then before class, I have since forgotten how
> to get by without them; and under the pressures of the current
> classes, it would be far easier using them until the Winter break.
> 
> Here's what I get when I go to install these:
> 
> > install.packages()
> --- Please select a CRAN mirror for use in this session ---
> Installing package into '/home/richard/R/x86_64-redhat-linux-gnu-library/3.0'
> (as 'lib' is unspecified)
> also installing the dependencies 'png', 'iplots', 'JGR'
> 
> trying URL 'http://cran.stat.sfu.ca/src/contrib/png_0.1-6.tar.gz'
> Content type 'application/x-gzip' length 24919 bytes (24 Kb)
> opened URL
> ==================================================
> downloaded 24 Kb
> 
> trying URL 'http://cran.stat.sfu.ca/src/contrib/iplots_1.1-6.tar.gz'
> Content type 'application/x-gzip' length 336510 bytes (328 Kb)
> opened URL
> ==================================================
> downloaded 328 Kb
> 
> trying URL 'http://cran.stat.sfu.ca/src/contrib/JGR_1.7-15.tar.gz'
> Content type 'application/x-gzip' length 759394 bytes (741 Kb)
> opened URL
> ==================================================
> downloaded 741 Kb
> 
> trying URL 'http://cran.stat.sfu.ca/src/contrib/Deducer_0.7-6.tar.gz'
> Content type 'application/x-gzip' length 5941779 bytes (5.7 Mb)
> opened URL
> ==================================================
> downloaded 5.7 Mb
> 
> * installing *source* package 'png' ...
> ** package 'png' successfully unpacked and MD5 sums checked
> ** libs
> gcc -m64 -std=gnu99 -I/usr/include/R -DNDEBUG  -I/usr/local/include
> `libpng-config --cflags` -fpic  -O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic
> -c read.c -o read.o
> /bin/sh: libpng-config: command not found
> read.c:3:17: fatal error: png.h: No such file or directory
>  #include <png.h>
>                  ^
> compilation terminated.
> make: *** [read.o] Error 1
> ERROR: compilation failed for package 'png'
> * removing '/home/richard/R/x86_64-redhat-linux-gnu-library/3.0/png'
> ERROR: dependency 'png' is not available for package 'iplots'
> * removing '/home/richard/R/x86_64-redhat-linux-gnu-library/3.0/iplots'
> ERROR: dependency 'iplots' is not available for package 'JGR'
> * removing '/home/richard/R/x86_64-redhat-linux-gnu-library/3.0/JGR'
> ERROR: dependency 'JGR' is not available for package 'Deducer'
> * removing '/home/richard/R/x86_64-redhat-linux-gnu-library/3.0/Deducer'
> 
> The downloaded source packages are in
> '/tmp/Rtmpx96KAX/downloaded_packages'
> Warning messages:
> 1: In install.packages() :
>   installation of package 'png' had non-zero exit status
> 2: In install.packages() :
>   installation of package 'iplots' had non-zero exit status
> 3: In install.packages() :
>   installation of package 'JGR' had non-zero exit status
> 4: In install.packages() :
>   installation of package 'Deducer' had non-zero exit status
> 
> What did/am I do/ing wrong?
> 
> On Mon, Oct 14, 2013 at 10:03 AM, Ranjan Maitra
> <maitra.mbox.ignored at inbox.com> wrote:
> > What are you having to do?
> >
> > These are just GUIs from R, extremely useless from my point of view
> > (by definition limited in abilities), but then I have been following R
> > from version 0.1....
> >
> > Ranjan
> >
> >
> >
> > On Sat, 12 Oct 2013 20:11:20 -0700 Richard Vickery
> > <richard.vickeryrv at gmail.com> wrote:
> >
> >> What happened to R? I can install neither JGR not deducer anymore? Is
> >> it just me, or does this happen to everyone? I guess I really don't
> >> need these tools, but the idiot professor in the political science
> >> class I took instructed the students to be stupid and in need of these
> >> tools, so I forgot how to work without them.
> >>
> >> Richard
> >> --
> >> users mailing list
> >> users at lists.fedoraproject.org
> >> To unsubscribe or change subscription options:
> >> https://admin.fedoraproject.org/mailman/listinfo/users
> >> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> >> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> >> Have a question? Ask away: http://ask.fedoraproject.org
> >
> >
> > --
> > Important Notice: This mailbox is ignored: e-mails are set to be
> > deleted on receipt. Please respond to the mailing list if appropriate.
> > For those needing to send personal or professional e-mail, please use
> > appropriate addresses.
> >
> > ____________________________________________________________
> > FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
> > Check it out at http://www.inbox.com/earth
> >
> >
> > --
> > users mailing list
> > users at lists.fedoraproject.org
> > To unsubscribe or change subscription options:
> > https://admin.fedoraproject.org/mailman/listinfo/users
> > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> > Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> > Have a question? Ask away: http://ask.fedoraproject.org
> -- 
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org


-- 
Important Notice: This mailbox is ignored: e-mails are set to be
deleted on receipt. Please respond to the mailing list if appropriate.
For those needing to send personal or professional e-mail, please use
appropriate addresses.

____________________________________________________________
FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family!
Visit http://www.inbox.com/photosharing to find out more!




More information about the users mailing list