Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Can't Access Functions After Install R Additional Package

Hi,

I'm trying to install an additional package for R, "SampleSizeMeans." In the Notebook, I type r.install_packages('SampleSizeMeans') and it seems to install properly (output pasted below). Note I do this with "Sage" as the worksheet type at the top.

I've quit Sage completely and restarted the notebook, but none of the functions are available. I switch the Type in the Sage notebook to "R" and type "mu.acc(len=0.2, alpha=2, beta=2, n0=10)" (one of the examples) but it says "Error: could not find function "mu.acc".

Am I missing something or is this a bug?

Thanks very much,

Justin

0.00user 0.00system 0:00.00elapsed 0%CPU (0avgtext+0avgdata 2528maxresident)k 0inputs+0outputs (0major+204minor)pagefaults 0swaps

R version 2.14.0 (2011-10-31) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: x86_64-unknown-linux-gnu (64-bit)

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.

options(repos="http://cran.r-project.org/"); install.packages("SampleSizeMeans") trying URL 'http://cran.r-project.org/src/contrib/SampleSizeMeans_1.0.tar.gz' Content type 'application/x-gzip' length 14807 bytes (14 Kb)

opened URL

downloaded 14 Kb

  • installing source package ‘SampleSizeMeans’ ... * R * preparing package for lazy loading * help ** installing help indices * building package indices ... * testing if installed package can be loaded

  • DONE (SampleSizeMeans)

The downloaded packages are in ‘/tmp/RtmpG4jlho/downloaded_packages’

Please restart Sage in order to use 'SampleSizeMeans'.

click to hide/show revision 2
retagged

Can't Access Functions After Install R Additional Package

Hi,

I'm trying to install an additional package for R, "SampleSizeMeans." In the Notebook, I type r.install_packages('SampleSizeMeans') and it seems to install properly (output pasted below). Note I do this with "Sage" as the worksheet type at the top.

I've quit Sage completely and restarted the notebook, but none of the functions are available. I switch the Type in the Sage notebook to "R" and type "mu.acc(len=0.2, alpha=2, beta=2, n0=10)" (one of the examples) but it says "Error: could not find function "mu.acc".

Am I missing something or is this a bug?

Thanks very much,

Justin

0.00user 0.00system 0:00.00elapsed 0%CPU (0avgtext+0avgdata 2528maxresident)k 0inputs+0outputs (0major+204minor)pagefaults 0swaps

R version 2.14.0 (2011-10-31) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: x86_64-unknown-linux-gnu (64-bit)

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.

options(repos="http://cran.r-project.org/"); install.packages("SampleSizeMeans") trying URL 'http://cran.r-project.org/src/contrib/SampleSizeMeans_1.0.tar.gz' Content type 'application/x-gzip' length 14807 bytes (14 Kb)

opened URL

downloaded 14 Kb

  • installing source package ‘SampleSizeMeans’ ... * R * preparing package for lazy loading * help ** installing help indices * building package indices ... * testing if installed package can be loaded

  • DONE (SampleSizeMeans)

The downloaded packages are in ‘/tmp/RtmpG4jlho/downloaded_packages’

Please restart Sage in order to use 'SampleSizeMeans'.