Δημοσιεύτηκε: 07 Δεκ 2010, 20:07
από kalakouentin
Όχι δεν είχα πρόβλημα. (Σε αυτό το pc έχω μια αμυδρώς πιο παλιά έκδοση του R, την επίσημη του Lucid στο 2.10.1, αν βάλεις τα r-project repos θα έχεις λίγο πιο καινούρια ( R version 2.11.1 (2010-05-31) ), έχω την εντύπωση ότι στην νέα η nls() είναι κάπως πιο αποδοτική...)

Κώδικας: Επιλογή όλων
feanor@feanor-laptop:~$ sudo R
[sudo] password for feanor:

R version 2.10.1 (2009-12-14)
Copyright (C) 2009 The R Foundation for Statistical Computing
ISBN 3-900051-07-0

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> install.packages("rattle")
Warning in install.packages("rattle") :
  argument 'lib' is missing: using '/usr/local/lib/R/site-library'
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
trying URL 'http://cran.rakanu.com/src/contrib/rattle_2.5.47.tar.gz'
Content type 'application/x-gzip' length 1725246 bytes (1.6 Mb)
opened URL
==================================================
downloaded 1.6 Mb

* installing *source* package ‘rattle’ ...
** R
** data
**  moving datasets to lazyload DB
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
* DONE (rattle)

The downloaded packages are in
   ‘/tmp/RtmpfBYelA/downloaded_packages’
> library(rattle)
Rattle: Graphical interface for data mining using R.
Version 2.5.47 Copyright (c) 2006-2010 Togaware Pty Ltd.
Type 'rattle()' to shake, rattle, and roll your data.
>


Δε χρειάζεται να βάζεις dependencies=T, το παίρνει αυτόματα. Το όρισμα αυτό υπάρχει όταν θες να κάνεις manual installation κάποια πακέτα και δεν θέλεις να πολυ-ψάχνεσαι με τα dependencies του (και το βάζεις F).