Hello!, this is my first post, I am a beginner user of ubuntu linux.

I have a problem installing packages from CRAN repositories, I mean using
the command install.packages().

I followed the instructions from this site
http://cran.r-project.org/index.html.

I know that I need the ubuntu package r-base-dev to install packages with
that command.

I run in a terminal the following commands:

>sudo R
>> install.packages("faraway")

Installing package(s) into ‘/home/vanessa/R/i686-pc-linux-gnu-library/2.15’
(as ‘lib’ is unspecified)probando la URL
'http://cran.rstudio.com/src/contrib/faraway_1.0.5.tar.gz'Content type
'application/x-gzip' length 328901 bytes (321 Kb)URL
abierta==================================================downloaded
321 Kb
*** buffer overflow detected ***: /usr/lib/R/bin/exec/R
terminated======= Backtrace:
=========/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x45)[0xb7302045]/lib/i386-linux-gnu/libc.so.6(+0x102e1a)[0xb7300e1a]/lib/i386-linux-gnu/libc.so.6(+0x10515b)[0xb730315b]/usr/lib/R/lib/libR.so(+0x86b02)[0xb744ab02]/usr/lib/R/lib/libR.so(+0x8906b)[0xb744d06b]/usr/lib/R/lib/libR.so(+0xcb979)[0xb748f979]/usr/lib/R/lib/libR.so(Rf_eval+0x175)[0xb749c125]/usr/lib/R/lib/libR.so(Rf_applyClosure+0x3ad)[0xb749fcad]/usr/lib/R/lib/libR.so(+0xd3f0f)[0xb7497f0f]/usr/lib/R/lib/libR.so(Rf_eval+0x175)[0xb749c125]/usr/lib/R/lib/libR.so(Rf_applyClosure+0x3ad)[0xb749fcad]/usr/lib/R/lib/libR.so(+0x12bfec)[0xb74effec]/usr/lib/R/lib/libR.so(Rf_usemethod+0x4bb)[0xb74f0c1b]/usr/lib/R/lib/libR.so(+0x12d3b2)[0xb74f13b2]/usr/lib/R/lib/libR.so(+0xcb85f)[0xb748f85f]/usr/lib/R/lib/libR.so(Rf_eval+0x175)[0xb749c125]/usr/lib/R/lib/libR.so(Rf_applyClosure+0x3ad)[0xb749fcad]/usr/lib/R/lib/libR.so(+0xd3f0f)[0xb7497f0f]/usr/lib/R/lib/libR.so(Rf_eval+0x175)[0xb749c125]/usr/lib/R/lib/libR.so(+0xd88d4)[0xb749c8d4]/usr/lib/R/lib/libR.so(Rf_eval+0x240)[0xb749c1f0]/usr/lib/R/lib/libR.so(+0x12bda3)[0xb74efda3]/usr/lib/R/lib/libR.so(+0x12d515)[0xb74f1515]/usr/lib/R/lib/libR.so(+0xcb85f)[0xb748f85f]/usr/lib/R/lib/libR.so(Rf_eval+0x175)[0xb749c125]/usr/lib/R/lib/libR.so(Rf_applyClosure+0x3ad)[0xb749fcad]/usr/lib/R/lib/libR.so(+0xd3f0f)[0xb7497f0f]/usr/lib/R/lib/libR.so(Rf_eval+0x175)[0xb749c125]/usr/lib/R/lib/libR.so(Rf_applyClosure+0x3ad)[0xb749fcad]/usr/lib/R/lib/libR.so(+0x12bfec)[0xb74effec]/usr/lib/R/lib/libR.so(Rf_usemethod+0x4bb)[0xb74f0c1b]/usr/lib/R/lib/libR.so(+0x12d3b2)[0xb74f13b2]/usr/lib/R/lib/libR.so(+0xcb85f)[0xb748f85f]/usr/lib/R/lib/libR.so(Rf_eval+0x175)[0xb749c125]/usr/lib/R/lib/libR.so(Rf_applyClosure+0x3ad)[0xb749fcad]/usr/lib/R/lib/libR.so(+0xd3f0f)[0xb7497f0f]/usr/lib/R/lib/libR.so(Rf_eval+0x175)[0xb749c125]/usr/lib/R/lib/libR.so(Rf_applyClosure+0x3ad)[0xb749fcad]/usr/lib/R/lib/libR.so(+0x12bfec)[0xb74effec]/usr/lib/R/lib/libR.so(Rf_usemethod+0x4bb)[0xb74f0c1b]/usr/lib/R/lib/libR.so(+0x12d3b2)[0xb74f13b2]/usr/lib/R/lib/libR.so(+0xcb85f)[0xb748f85f]/usr/lib/R/lib/libR.so(Rf_eval+0x175)[0xb749c125]/usr/lib/R/lib/libR.so(Rf_applyClosure+0x3ad)[0xb749fcad]/usr/lib/R/lib/libR.so(+0xd3f0f)[0xb7497f0f]/usr/lib/R/lib/libR.so(Rf_eval+0x175)[0xb749c125]/usr/lib/R/lib/libR.so(Rf_applyClosure+0x3ad)[0xb749fcad]/usr/lib/R/lib/libR.so(+0xd3f0f)[0xb7497f0f]/usr/lib/R/lib/libR.so(Rf_eval+0x175)[0xb749c125]/usr/lib/R/lib/libR.so(Rf_applyClosure+0x3ad)[0xb749fcad]/usr/lib/R/lib/libR.so(+0xd3f0f)[0xb7497f0f]/usr/lib/R/lib/libR.so(Rf_eval+0x175)[0xb749c125]/usr/lib/R/lib/libR.so(Rf_applyClosure+0x3ad)[0xb749fcad]/usr/lib/R/lib/libR.so(Rf_eval+0x41d)[0xb749c3cd]/usr/lib/R/lib/libR.so(Rf_ReplIteration+0x1fa)[0xb74db0ca]/usr/lib/R/lib/libR.so(+0x1173ab)[0xb74db3ab]/usr/lib/R/lib/libR.so(run_Rmainloop+0x6a)[0xb74db45a]/usr/lib/R/lib/libR.so(Rf_mainloop+0x19)[0xb74db489]/usr/lib/R/bin/exec/R(main+0x38)[0x8048608]/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xb72174d3]/usr/lib/R/bin/exec/R[0x8048631]=======
Memory map: ========08048000-08049000 r-xp 00000000 08:01 8782298
/usr/lib/R/bin/exec/R
08049000-0804a000 r--p 00000000 08:01 8782298    /usr/lib/R/bin/exec/R
0804a000-0804b000 rw-p 00001000 08:01 8782298    /usr/lib/R/bin/exec/R
09c45000-0a873000 rw-p 00000000 00:00 0          [heap]
b593d000-b5afc000 rw-p 00000000 00:00 0
b5afc000-b5b6e000 r-xp 00000000 08:01 8655823
/usr/lib/i386-linux-gnu/libquadmath.so.0.0.0
b5b6e000-b5b6f000 r--p 00071000 08:01 8655823
/usr/lib/i386-linux-gnu/libquadmath.so.0.0.0
b5b6f000-b5b70000 rw-p 00072000 08:01 8655823
/usr/lib/i386-linux-gnu/libquadmath.so.0.0.0
b5b70000-b5b8c000 r-xp 00000000 08:01 3408725
/lib/i386-linux-gnu/libgcc_s.so.1
b5b8c000-b5b8d000 r--p 0001b000 08:01 3408725
/lib/i386-linux-gnu/libgcc_s.so.1
b5b8d000-b5b8e000 rw-p 0001c000 08:01 3408725
/lib/i386-linux-gnu/libgcc_s.so.1
b5b8e000-b5c8c000 r-xp 00000000 08:01 8653389
/usr/lib/i386-linux-gnu/libgfortran.so.3.0.0
b5c8c000-b5c8d000 r--p 000fe000 08:01 8653389
/usr/lib/i386-linux-gnu/libgfortran.so.3.0.0
b5c8d000-b5c8e000 rw-p 000ff000 08:01 8653389
/usr/lib/i386-linux-gnu/libgfortran.so.3.0.0
b5c8e000-b5c8f000 rw-p 00000000 00:00 0
b5c8f000-b642c000 r-xp 00000000 08:01 9310128
/usr/lib/lapack/liblapack.so.3gf.0
b642c000-b642d000 r--p 0079c000 08:01 9310128
/usr/lib/lapack/liblapack.so.3gf.0
b642d000-b6430000 rw-p 0079d000 08:01 9310128
/usr/lib/lapack/liblapack.so.3gf.0
b6430000-b653d000 rw-p 00000000 00:00 0
b654a000-b654e000 r-xp 00000000 08:01 656077
/usr/lib/R/library/tools/libs/tools.so
b654e000-b654f000 r--p 00003000 08:01 656077
/usr/lib/R/library/tools/libs/tools.so
b654f000-b6550000 rw-p 00004000 08:01 656077
/usr/lib/R/library/tools/libs/tools.so
b6550000-b65bd000 r-xp 00000000 08:01 655872
/usr/lib/R/library/stats/libs/stats.so
b65bd000-b65be000 r--p 0006c000 08:01 655872
/usr/lib/R/library/stats/libs/stats.so
b65be000-b65bf000 rw-p 0006d000 08:01 655872
/usr/lib/R/library/stats/libs/stats.so
b65bf000-b66f2000 rw-p 00000000 00:00 0
b66f2000-b671b000 r-xp 00000000 08:01 9571470
/usr/lib/R/library/grDevices/libs/grDevices.so
b671b000-b671c000 r--p 00028000 08:01 9571470
/usr/lib/R/library/grDevices/libs/grDevices.so
b671c000-b671d000 rw-p 00029000 08:01 9571470
/usr/lib/R/library/grDevices/libs/grDevices.so
b671d000-b6aaa000 rw-p 00000000 00:00 0
b6aab000-b6ab2000 r-xp 00000000 08:01 655794
/usr/lib/R/library/methods/libs/methods.so
b6ab2000-b6ab3000 r--p 00006000 08:01 655794
/usr/lib/R/library/methods/libs/methods.so
b6ab3000-b6ab4000 rw-p 00007000 08:01 655794
/usr/lib/R/library/methods/libs/methods.so
b6ab4000-b6b4c000 rw-p 00000000 00:00 0
b6b4c000-b6b57000 r-xp 00000000 08:01 3408755
/lib/i386-linux-gnu/libnss_files-2.15.so
b6b57000-b6b58000 r--p 0000a000 08:01 3408755
/lib/i386-linux-gnu/libnss_files-2.15.so
b6b58000-b6b59000 rw-p 0000b000 08:01 3408755
/lib/i386-linux-gnu/libnss_files-2.15.so
b6b59000-b6b6f000 r-xp 00000000 08:01 3408749
/lib/i386-linux-gnu/libnsl-2.15.so
b6b6f000-b6b70000 r--p 00015000 08:01 3408749
/lib/i386-linux-gnu/libnsl-2.15.so
b6b70000-b6b71000 rw-p 00016000 08:01 3408749
/lib/i386-linux-gnu/libnsl-2.15.so
b6b71000-b6b73000 rw-p 00000000 00:00 0
b6b73000-b6b7a000 r-xp 00000000 08:01 3408751
/lib/i386-linux-gnu/libnss_compat-2.15.so
b6b7a000-b6b7b000 r--p 00006000 08:01 3408751
/lib/i386-linux-gnu/libnss_compat-2.15.so
b6b7b000-b6b7c000 rw-p 00007000 08:01 3408751
/lib/i386-linux-gnu/libnss_compat-2.15.so
b6b7c000-b6b83000 r--s 00000000 08:01 8656253
/usr/lib/i386-linux-gnu/gconv/gconv-modules.cache
b6b83000-b6c35000 rw-p 00000000 00:00 0
b6c37000-b6d0c000 rw-p 00000000 00:00 0
b6d0c000-b6e3d000 r--p 005e3000 08:01 8657989    /usr/lib/locale/locale-archive
b6e3d000-b703d000 r--p 00000000 08:01 8657989    /usr/lib/locale/locale-archive
b703d000-b703f000 rw-p 00000000 00:00 0
b703f000-b705b000 r-xp 00000000 08:01 3408801
/lib/i386-linux-gnu/libtinfo.so.5.9
b705b000-b705d000 r--p 0001b000 08:01 3408801
/lib/i386-linux-gnu/libtinfo.so.5.9
b705d000-b705e000 rw-p 0001d000 08:01 3408801
/lib/i386-linux-gnu/libtinfo.so.5.9
b705e000-b706c000 r-xp 00000000 08:01 8655598
/usr/lib/i386-linux-gnu/libgomp.so.1.0.0
b706c000-b706d000 r--p 0000d000 08:01 8655598
/usr/lib/i386-linux-gnu/libgomp.so.1.0.0
b706d000-b706e000 rw-p 0000e000 08:01 8655598
/usr/lib/i386-linux-gnu/libgomp.so.1.0.0
b706e000-b706f000 rw-p 00000000 00:00 0
b706f000-b7072000 r-xp 00000000 08:01 3408717
/lib/i386-linux-gnu/libdl-2.15.so
b7072000-b7073000 r--p 00002000 08:01 3408717
/lib/i386-linux-gnu/libdl-2.15.so
b7073000-b7074000 rw-p 00003000 08:01 3408717
/lib/i386-linux-gnu/libdl-2.15.so
b7074000-b707b000 r-xp 00000000 08:01 3408790
/lib/i386-linux-gnu/librt-2.15.so
b707b000-b707c000 r--p 00006000 08:01 3408790
/lib/i386-linux-gnu/librt-2.15.so
b707c000-b707d000 rw-p 00007000 08:01 3408790
/lib/i386-linux-gnu/librt-2.15.so
b707d000-b7091000 r-xp 00000000 08:01 3408815
/lib/i386-linux-gnu/libz.so.1.2.3.4
b7091000-b7092000 r--p 00013000 08:01 3408815
/lib/i386-linux-gnu/libz.so.1.2.3.4
b7092000-b7093000 rw-p 00014000 08:01 3408815
/lib/i386-linux-gnu/libz.so.1.2.3.4
b7093000-b70a2000 r-xp 00000000 08:01 3408703
/lib/i386-linux-gnu/libbz2.so.1.0.4
b70a2000-b70a3000 r--p 0000e000 08:01 3408703
/lib/i386-linux-gnu/libbz2.so.1.0.4
b70a3000-b70a4000 rw-p 0000f000 08:01 3408703
/lib/i386-linux-gnu/libbz2.so.1.0.4
b70a4000-b70c9000 r-xp 00000000 08:01 8655725
/usr/lib/i386-linux-gnu/liblzma.so.5.0.0
b70c9000-b70ca000 r--p 00024000 08:01 8655725
/usr/lib/i386-linux-gnu/liblzma.so.5.0.0
b70ca000-b70cb000 rw-p 00025000 08:01 8655725
/usr/lib/i386-linux-gnu/liblzma.so.5.0.0
b70cb000-b70cc000 rw-p 00000000 00:00 0
b70cc000-b7106000 r-xp 00000000 08:01 3408777
/lib/i386-linux-gnu/libpcre.so.3.12.1
b7106000-b7107000 r--p 00039000 08:01 3408777
/lib/i386-linux-gnu/libpcre.so.3.12.1
b7107000-b7108000 rw-p 0003a000 08:01 3408777
/lib/i386-linux-gnu/libpcre.so.3.12.1
b7108000-b713d000 r-xp 00000000 08:01 3408787
/lib/i386-linux-gnu/libreadline.so.6.2
b713d000-b713e000 r--p 00035000 08:01 3408787
/lib/i386-linux-gnu/libreadline.so.6.2
b713e000-b7141000 rw-p 00036000 08:01 3408787
/lib/i386-linux-gnu/libreadline.so.6.2
b7141000-b7142000 rw-p 00000000 00:00 0
b7142000-b716c000 r-xp 00000000 08:01 3408736
/lib/i386-linux-gnu/libm-2.15.so
b716c000-b716d000 r--p 00029000 08:01 3408736
/lib/i386-linux-gnu/libm-2.15.so
b716d000-b716e000 rw-p 0002a000 08:01 3408736
/lib/i386-linux-gnu/libm-2.15.so
b716e000-b71e9000 r-xp 00000000 08:01 9308228
/usr/lib/libblas/libblas.so.3gf.0
b71e9000-b71ea000 r--p 0007a000 08:01 9308228
/usr/lib/libblas/libblas.so.3gf.0
b71ea000-b71eb000 rw-p 0007b000 08:01 9308228
/usr/lib/libblas/libblas.so.3gf.0
b71ee000-b71f1000 rw-p 00000000 00:00 0
b71f1000-b71fb000 r-xp 00000000 08:01 3408759
/lib/i386-linux-gnu/libnss_nis-2.15.so
b71fb000-b71fc000 r--p 00009000 08:01 3408759
/lib/i386-linux-gnu/libnss_nis-2.15.so
b71fc000-b71fd000 rw-p 0000a000 08:01 3408759
/lib/i386-linux-gnu/libnss_nis-2.15.so
b71fd000-b71fe000 r--p 00718000 08:01 8657989    /usr/lib/locale/locale-archive
b71fe000-b73a1000 r-xp 00000000 08:01 3408704
/lib/i386-linux-gnu/libc-2.15.so
b73a1000-b73a2000 ---p 001a3000 08:01 3408704
/lib/i386-linux-gnu/libc-2.15.so
b73a2000-b73a4000 r--p 001a3000 08:01 3408704
/lib/i386-linux-gnu/libc-2.15.so
b73a4000-b73a5000 rw-p 001a5000 08:01 3408704
/lib/i386-linux-gnu/libc-2.15.so
b73a5000-b73a9000 rw-p 00000000 00:00 0
b73a9000-b73c0000 r-xp 00000000 08:01 3408784
/lib/i386-linux-gnu/libpthread-2.15.so
b73c0000-b73c1000 r--p 00016000 08:01 3408784
/lib/i386-linux-gnu/libpthread-2.15.so
b73c1000-b73c2000 rw-p 00017000 08:01 3408784
/lib/i386-linux-gnu/libpthread-2.15.so
b73c2000-b73c4000 rw-p 00000000 00:00 0
b73c4000-b7668000 r-xp 00000000 08:01 8782224    /usr/lib/R/lib/libR.so
b7668000-b766b000 r--p 002a3000 08:01 8782224    /usr/lib/R/lib/libR.so
b766b000-b7676000 rw-p 002a6000 08:01 8782224    /usr/lib/R/lib/libR.so
b7676000-b7760000 rw-p 00000000 00:00 0
b7760000-b7761000 r-xp 00000000 00:00 0          [vdso]
b7761000-b7781000 r-xp 00000000 08:01 3408684    /lib/i386-linux-gnu/ld-2.15.so
b7781000-b7782000 r--p 0001f000 08:01 3408684    /lib/i386-linux-gnu/ld-2.15.so
b7782000-b7783000 rw-p 00020000 08:01 3408684    /lib/i386-linux-gnu/ld-2.15.so
bfe63000-bfe85000 rw-p 00000000 00:00 0          [stack]Aborted (core
dumped)Warning in install.packages :
  installation of package ‘faraway’ had non-zero exit status

The downloaded source packages are in
	‘/tmp/RtmpjJbENN/downloaded_packages’


As I said i am very new to linux and I don't know what I'm missing.

I hope you can help me.

Note: I've installed the ubuntu package build-essential.

Thanks!

	[[alternative HTML version deleted]]

