0

This is irridating and regular error message

> install.packages('manipulate')
Installing package(s) into ‘/home/h/R/i686-pc-linux-gnu-library/2.13’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
  package ‘manipulate’ is not available (for R version 2.13.1)

What kind of ways can you use to circumvent this? The RStudio website, for example, suggest a hxck

export RSTUDIO_WHICH_R=/usr/local/bin/R

but I feel there must be something easier or does one really need all R versions to pile up just for testing different packages?

hhh
  • 50,788
  • 62
  • 179
  • 282
  • 4
    Isn't manipulate an RStudio only package? I don't think it's on CRAN unless I'm mistaken (which is quite possible). – Dason Mar 15 '12 at 04:36
  • ...this q is dumb but related interesting, for some reason -- there are massive quality differences over the GUI pkgs...still searching, not satisfied yet. – hhh Mar 21 '12 at 20:27
  • 1
    The question isn't dumb, considering that for whatever reason, upon install manipulate isn't availabe in windows – ingrid Jun 16 '14 at 17:50

2 Answers2

3

Manipulate is part of RStudio. There's no need to install it using install.packages().

From within RStuidio, just type library(manipulate) to get started.

You can see some examples of how to use it at the a RStudio website. To my knowledge, it does not work outside of RStudio (eg running R in your terminal).

A5C1D2H2I1M1N2O1R2T1
  • 190,393
  • 28
  • 405
  • 485
  • 3
    The gWidgetsManipulate package at https://r-forge.r-project.org/R/?group_id=761 can provide a similar interface for non rstudio users. – jverzani Mar 16 '12 at 10:43
  • @jverzani: moved the q [here](http://stackoverflow.com/questions/9812547/r-gui-vizualiser-with-command-line-access-browser-based-letting-users-to-s). – hhh Mar 21 '12 at 20:47
  • 1
    On windows the following error comes up: 'there is no package called ‘manipulate’' – ingrid Jun 16 '14 at 15:07
  • @ingrid, are you trying from R or from RStudio? – A5C1D2H2I1M1N2O1R2T1 Jun 17 '14 at 03:45
0

Well.. I did have to install the manipulate package as shown below.

library(manipulate) Error in library(manipulate) : there is no package called ‘manipulate’ install.packages("manipulate") Installing package into ‘C:/Users/Family/Documents/R/win-library/3.3’ (as ‘lib’ is unspecified) trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/manipulate_1.0.1.zip' Content type 'application/zip' length 35635 bytes (34 KB) downloaded 34 KB

package ‘manipulate’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in C:\Users\Family\AppData\Local\Temp\RtmpYfnaHu\downloaded_packages