Survo R Linuxissa
Posted by
Petri Palmu on
URL: https://forum.survo.fi/Survo-R-Linuxissa-tp557.html
Testailin Survo R:n asentamista Linuxissa (Mint) Oracle VM Virtual Boxin "alla".
Terminaalissa:
> R
> source("
http://www.survo.fi/install.R")
Alla mitä tulee:
==================================================
downloaded 8951 bytes
* installing *source* package ‘audio’ ...
** package ‘audio’ successfully unpacked and MD5 sums checked
checking for gcc... gcc -std=gnu99
checking whether the C compiler works... no
configure: error: in `/tmp/RtmpNuM9Ep/R.INSTALL3086667627c9/audio':
configure: error: C compiler cannot create executables
See `config.log' for more details
ERROR: configuration failed for package ‘audio’
* removing ‘/home/mint/R/x86_64-pc-linux-gnu-library/3.0/audio’
* installing *source* package ‘biteR’ ...
** libs
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g -c bit.c -o bit.o
bit.c:7:18: fatal error: math.h: No such file or directory
#include <math.h>
^
compilation terminated.
make: *** [bit.o] Error 1
ERROR: compilation failed for package ‘biteR’
* removing ‘/home/mint/R/x86_64-pc-linux-gnu-library/3.0/biteR’
* installing *source* package ‘bitops’ ...
** package ‘bitops’ successfully unpacked and MD5 sums checked
** libs
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g -c bit-ops.c -o bit-ops.o
In file included from bit-ops.c:1:0:
/usr/share/R/include/R.h:28:20: fatal error: stdlib.h: No such file or directory
#include <stdlib.h>
^
compilation terminated.
make: *** [bit-ops.o] Error 1
ERROR: compilation failed for package ‘bitops’
* removing ‘/home/mint/R/x86_64-pc-linux-gnu-library/3.0/bitops’
* installing *source* package ‘gmp’ ...
** package ‘gmp’ successfully unpacked and MD5 sums checked
creating cache ./config.cache
checking for __gmpz_ui_sub in -lgmp... no
configure: error: GNU MP not found, or not 4.1.4 or up, see http://gmplib.org
ERROR: configuration failed for package ‘gmp’
* removing ‘/home/mint/R/x86_64-pc-linux-gnu-library/3.0/gmp’
* installing *source* package ‘muste’ ...
** libs
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g -c R_init.c -o R_init.o
In file included from R_init.c:2:0:
/usr/share/R/include/R.h:28:20: fatal error: stdlib.h: No such file or directory
#include <stdlib.h>
^
compilation terminated.
make: *** [R_init.o] Error 1
ERROR: compilation failed for package ‘muste’
* removing ‘/home/mint/R/x86_64-pc-linux-gnu-library/3.0/muste’
* installing *source* package ‘RSQLite’ ...
** package ‘RSQLite’ successfully unpacked and MD5 sums checked
checking for gcc... gcc -std=gnu99
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
ERROR: configuration failed for package ‘RSQLite’
* removing ‘/home/mint/R/x86_64-pc-linux-gnu-library/3.0/RSQLite’
ERROR: dependency ‘bitops’ is not available for package ‘RCurl’
* removing ‘/home/mint/R/x86_64-pc-linux-gnu-library/3.0/RCurl’
ERROR: dependency ‘gmp’ is not available for package ‘Rmpfr’
* removing ‘/home/mint/R/x86_64-pc-linux-gnu-library/3.0/Rmpfr’
ERROR: dependency ‘RSQLite’ is not available for package ‘RSQLite.extfuns’
* removing ‘/home/mint/R/x86_64-pc-linux-gnu-library/3.0/RSQLite.extfuns’
ERROR: dependency ‘audio’ is not available for package ‘survo.audio’
* removing ‘/home/mint/R/x86_64-pc-linux-gnu-library/3.0/survo.audio’
ERROR: dependencies ‘RSQLite’, ‘RSQLite.extfuns’, ‘muste’ are not available for package ‘virta’
* removing ‘/home/mint/R/x86_64-pc-linux-gnu-library/3.0/virta’
The downloaded source packages are in
‘/tmp/RtmpaKi6Wl/downloaded_packages’
done! ( 9.03 sec)
Checking available packages...done! ( 0.01 sec)
Checking updates for packages...done! ( 0.01 sec)
Loading required package: muste
There were 15 warnings (use warnings() to see them)
>
Ilmeisesti tallentaa paketit tänne:
‘/tmp/RtmpaKi6Wl/downloaded_packages
Näyttää että Survo R ei asentunut vai pitääkö noi paketit vielä asentaa? Sijaintiin on vähän vaikea päästä, tai siis joutuu lähtemään pois R:stä.
Mitenköhän tässä pitäisi edetä?