2018-03-27 16:54:45 +0200 | received badge | ● Famous Question (source) |
2017-10-17 17:57:44 +0200 | received badge | ● Taxonomist |
2015-02-28 10:35:45 +0200 | received badge | ● Notable Question (source) |
2014-10-03 02:58:03 +0200 | received badge | ● Famous Question (source) |
2013-10-07 20:02:50 +0200 | received badge | ● Popular Question (source) |
2013-07-20 11:53:52 +0200 | received badge | ● Student (source) |
2013-04-18 14:59:48 +0200 | received badge | ● Notable Question (source) |
2012-10-16 19:00:34 +0200 | received badge | ● Popular Question (source) |
2012-04-12 03:22:23 +0200 | commented answer | Add R package in Sage folder OK the sage -f r did the job thanks. |
2012-04-12 03:02:48 +0200 | commented answer | Add R package in Sage folder OK after reinstalling using sage -f r this works for 1. sage -sh 2. sage - R 3. install.packages('orloca'). Thanks for all the help. |
2012-04-11 16:57:37 +0200 | commented answer | Add R package in Sage folder for maptools error looks like thismake: /home/wstein/build/sage-4.8/local/lib/R/share/make/shlib.mk: No such file or directory make: *** No rule to make target `/home/wstein/build/sage-4.8/local/lib/R/share/make/shlib.mk'. Stop. ERROR: compilation failed for package sp * removing /opt/sage-4.8-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/R/library/sp ERROR: dependency sp is not available for package maptools * removing /opt/sage-4.8-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/R/library/maptools The downloaded packages are in /tmp/RtmpzrpYpN/downloaded_packages Warning messages: 1: In install.packages("maptools") : installation of package sp had non-zero exit status 2: In install.packages("maptools") : installation of package maptools had non-zero exit stat |
2012-04-11 16:55:07 +0200 | commented answer | Add R package in Sage folder This is some output FYI. matthew@matthew-laptop:~$ sage -R Error in if (file.info(codeFile)["size"] == file.info(loaderFile)["size"]) warning("package seems to be using lazy loading already") else { : missing value where TRUE/FALSE needed ERROR: lazy loading failed for package proto * removing /opt/sage-4.8-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/R/library/proto ERROR: dependency plyr is not available for package stringr * removing /opt/sage-4.8-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/R/library/stringr ERROR: dependency colorspace is not available for package munsell * removing /opt/sage-4.8-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/R/library/munsell ERROR: dependency digest is not available for package memoise * removing /opt/sage-4.8-li |
2012-04-11 16:53:28 +0200 | commented answer | Add R package in Sage folder This almost works but has not installed anything correctly yet. I have tried orloca, ggplot2, and maptools so far. I will put a big list of output below just FYI. Systems info: Sage 4.7, ubuntu lucid. Other aspects of SAGE are working fine for me. |
2012-04-11 16:08:57 +0200 | received badge | ● Editor (source) |
2012-04-11 02:47:52 +0200 | asked a question | Add R package in Sage folder Hi, Simple question (I think) but have not found anything. I want to add package in R like GGPLOT2 and use it in IDE/command line for sage (not note book). I am using Ubuntu Lucid and have r working on its own. So.
|
2012-04-11 02:37:09 +0200 | received badge | ● Scholar (source) |
2012-04-11 02:37:09 +0200 | marked best answer | Using Psycopg2 and other libraries in sage try this at the terminal Edit: The command easy_install will download the module from internet and install it. For eg. If you type easy_install asciitables you get the following output. Notice it goes to the websites http://pypi.python.org/simple/asciita... and http://cxc.harvard.edu/contrib/asciit... finds the latest version and installs it. |
2012-03-26 19:35:05 +0200 | commented answer | Using Psycopg2 and other libraries in sage Also maybe this should be put in a wiki somewhere as I found this important but hard to track down. |
2012-03-26 19:33:07 +0200 | received badge | ● Supporter (source) |
2012-03-26 19:33:03 +0200 | commented answer | Using Psycopg2 and other libraries in sage ah my easy install is not going to the internet for some reason on asciitables but it does for simpy (I have no idea why). So that explains why it was not working for me. Thanks Matthew |
2012-03-23 16:41:49 +0200 | answered a question | Using Psycopg2 and other libraries in sage Could not get it to work. Maybe its me. sage -sh (OK) easy_install 'python-module' (does not work) I don't think I know exactly what to put or it just not the way to install. Say I have a module like asciiread located in home/la/asciitable/. In that file are folders and setup.py used to install. Is that were I should start e.g. "easy_install 'home/la/asciitable/setup.py'? OR is easy install in this case a way to link with my already install package. so I put something like easy_install '/usr/local/lib/python2.6/dist-package/asciitables.py Processing asciitables.py error: Couldn't find a setup script in /usr/local/lib/python2.6/dist-packages/atpy/asciitables.py Hope this is clear. Thanks I already have asciiread install in my python |
2012-03-22 02:20:21 +0200 | asked a question | Using Psycopg2 and other libraries in sage Hi, Seems like a simple question but have not found a good answer. Best way to use outside python libraries in SAGE in Ubuntu. Install in SAGE foulder if so (how?). Link in an IDE. I know how to do this in Pydev. Thanks, Matthew |