RSSA package in R for windows - r

I have used the Rssa package from cRAN in R using my mac computer and it install just fine. When I try to install it on my windows computer, it gives me this error
Warning in install.packages :
package ‘forecast’ is not available (for R version 3.0.1)
> install.packages("Rssa")
> library(Rssa)
Loading required package: forecast
Error: package ‘forecast’ could not be loaded
Does this mean the forecast dependency is not in the Rssa zip file in cran for windows? If so, is there a way around this or is it something else? I have tried googling this question but not much comes up for this package.

A recent 5.0 release of forecast package is only available for R (≥ 3.0.2). This package is listed in depends to Rssa, so you will have this problem under R 3.0.0 and 3.0.1.
Update your R, and everything will be fine. Another option in to manually install forecast, but that is not recommended.
I've contacted package maintainer, and he is working on either explicitly specify dependency on R (≥ 3.0.2) or moving forecast to suggests instead of depends. This issue will be resolved in the nearest future.

Related

Problems installing data.table for R

I'm trying to install data.table library for R, but I can't get it to work.I've tried using both CRAN and Bioconductor but I keep getting an error that the package is not available for R 3.2.2:
> biocLite('data.table')
BioC_mirror: http://bioconductor.org
Using Bioconductor version 3.1 (BiocInstaller 1.18.4), R version 3.2.2.
Installing package(s) ‘data.table’
Warning: unable to access index for repository
https://cran.rstudio.com/src/contrib
Warning: unable to access index for repository
https://cran.rstudio.com/src/contrib
Warning message:
package ‘datatable’ is not available (for R version 3.2.2)
> install.packages("data.table")
Warning: unable to access index for repository
https://cran.rstudio.com/src/contrib
Warning message:
package ‘data.table’ is not available (for R version 3.2.2)
I really have no clue what to do...very new to R.
I faced a similar issue trying to install data.table using RStudio (V 0.99.903) and R (latest version 3.3.1) on windows 8. I issued the command install.packages('data.table') but it failed. What worked for me was running the install.packages with R directly. It got installed properly.
When RStudio gives a popup to restart the session before package installation, we need to click "Yes". This refreshes RStudio's memory and at the same time, the dataframes in memory won't be lost. After this step, just use the following commands -
install.packages("data.table")
library(data.table)
and data.table is installed and loaded
I just had this problem. I realized that I hadn't restarted since re-installinging R. After restarting, the problem vanished.
I deleted the data.table folder created in my documents after installation then I went ahead to re-install the package and it worked.

Problems with installing, package 'minet' is available as a source package but not as a binary

I am currently trying install a package from Bioconductor, I got the following message
BioC_mirror: http://bioconductor.org
Using Bioconductor version 2.14 (BiocInstaller 1.14.2), R version 3.1.0.
Installing package(s) 'minet'
package 'minet' is available as a source package but not as a binary
Warning message:
package 'minet' is not available (for R version 3.1.0)
The package is called "minet", avaliable at http://www.bioconductor.org/packages/release/bioc/html/minet.html
As #MartinMorgan points out, the package fails to build on Mavericks, and won't be available until the maintainer fixes it.
I have contacted the maintainer with a fix, so it should be resolved soon.
You can download the source code (probably tar.gz) and install it through your RStudio. This is a tutorial of what you could do:
http://outmodedbonsai.sourceforge.net/InstallingLocalRPackages.html
It's so simple, but I didn't get the answer so easily.

R 3.1 install automap package on mac

Since updating R to 3.1 having trouble installing automap package on a mac.
> install.packages("automap")
package ‘automap’ is available as a source package but not as a binary
Warning in install.packages :
package ‘automap’ is not available (for R version 3.1.0)
Cannot workout how to install from source - can anyone help please ?
Update: Ok I got this to install eventually by downloading the source and using R CMD INSTALL at the command line. But I had to manually install gstat and spacetime this way first. When in Rstudio and using the package install tool via the menu - none of these packages come up in the list of packages on CRAN - why is this happening ? I did not have to do all this in R 2.15 that I can recall. Any ideas anyone ?

Can I use package 'imputation' in R version 3.0.3?

I am using R version 3.0.3.
I would like to install the package "imputation". I would like to re-run an analysis I used last year in R version 3.0.2.
I also have a new computer so I am re-installing my packages. I would like to install the package "imputation".
install.packages("imputation")
However, I received the following error:
Installing package into ‘\\oxdc/userdata/jolyon.faria/Documents/R/win-library/3.0’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘imputation’ is not available (for R version 3.0.3)
How can I work around this problem? I thought I could perhaps run two versions of R on the same computer but this may throw up its own problems.
Always check CRAN for package problems:
http://cran.r-project.org/web/packages/imputation/
You might be able to get it working on 3.0.3 or later by installing from source via the source archive.
Or contact the maintainer and ask them if they can fix the problem that caused the removal from CRAN.

Error in installing packages from RStudio

I have been trying to install the package "doby" from RStudio (ver 0.98.501 ) on ubuntu 13.04 but it keeps throwing the following warning and the package does not get installed.
Warning in install.packages :
package ‘doBy’ is not available (for R version 2.15.2)
I have followed all the instructions given here :
http://www.r-bloggers.com/installing-r-packages/
Can someone please suggest where I might be going wrong ?
If you are on Ubuntu, please see this README for Ubuntu from CRAN --- it will allow you to get to the current version of R (today 3.0.2, in a few days 3.0.3) with mininal effort.
Once you have a current R version, getting the doBy package (which depends on it) installed is a piece of cake too.
If however you prefer to stay with your version of R, you can manually fetch an older version of doBy from its CRAN archive. Download to, say, /tmp and run R CMD INSTALLby hand on it.
From http://cran.r-project.org/web/packages/doBy/index.html, package doBy depends on R version 3.0 and above. Your R version is 2.15.2. You will need to install a later version of R, and then change the settings in Rstudio to target the updated version.

Resources