Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Which command shall I run to exit R rather than closing the terminal? exit/quit didn't work. Thanks
P.S. : Sorry , 'dpkg --get-selections | grep r-base' is a more correct
command, to show 'r-base'.
About 'ls -tl /var/lib/dpkg/info/ ' : Mostly used this way ...
ls -tl /var/lib/dpkg/info/ | grep list > last-packages.txt
> 1) to save a text file, 2) to avoid all the pre and post install information.
.....
This is the spectacular one :
dpkg-query -W -f 'section:${section}\t${package}\t${version}\t-\t${architecture}\t-\t${description}\n' | grep r-base
Warning in install.packages("r-cran-rcmdr", dependencies = TRUE) :
argument 'lib' is missing: using '/home/satimisub04dk01/R/x86_64-pc-linux-gnu-library/2.10'
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
Warning: unable to access index for repository http://mirrors.geoexpat.com/cran/src/contrib
Warning messages:
1: In open.connection(con, "r") : unable to resolve 'cran.r-project.org'
2: In getDependencies(pkgs, dependencies, available, lib) :
package ‘r-cran-rcmdr’ is not available
I can install it on Ubuntu repo;
$ sudo aptitude install r-cran-rcmdr
Code:
.....
Processing triggers for python-support ...
Setting up r-cran-abind (1.1.0-4) ...
Setting up r-cran-car (1.2-16-2) ...
Setting up r-cran-colorspace (1.0.1-1) ...
Setting up r-cran-vr (7.3-0-1) ...
Setting up r-cran-effects (2.0.10-1) ...
Setting up r-cran-zoo (1.6-2-1) ...
Setting up r-cran-lmtest (0.9.26-1) ...
Setting up r-cran-mvtnorm (0.9-8-1) ...
Setting up r-cran-multcomp (1.1-4-1) ...
Setting up r-cran-relimp (1.0-1-2) ...
Setting up r-cran-rgl (0.89-1) ...
Setting up r-cran-sm (2.2-3-2) ...
Setting up r-cran-sandwich (2.2-5-1) ...
Setting up r-cran-strucchange (1.3-7-2) ...
Setting up r-cran-rcmdr (1.5-4-1ubuntu0.1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
And you can type : r --help
.. and read that the command : 'r --usage' will display more information :
Quote: "More documentation is provided in the 'r' manual page and via
the tests directory in the sources" → → littler_0.1.3.orig.tar.gz
..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.