Error while loading bquant package in r - r

I installed BQuant package in my windows system.When I loaded the package it showed the following error Error: package ‘BQuant’ is not installed for 'arch=i386' . Can anyone please sort it out.If not is there any other packages for NMR analysis in R.

Since according to your recent other question you are only interested in a good peak detection algorithm, you could get the code of the relevant functions directly from the package source (look in folder R inside the zip).

Related

"GraphClusterAnalysis" package in R

Please, how can I get "GraphClusterAnalysis" package installed? I am trying to use the "Highly connected sub graphs" (HCS) clustering algorithm for my data. I have tried to use install.packages() for the installation but I keep getting: package ‘GraphClusterAnalysis’ is not available (for R version 3.0.3).
I was able to use a method called "highlyConnSG()" for the HCS clustering algorithm which I retrieved after installing "RGBL" and "graph" packages from source "https://biconductor.org/bioLite.R". So to install those packages, type in the R environment command line:
source("https://biconductor.org/biocLite.R")
biocLite("RBGL")
biocLite("graph")
As far as I can see, this is a library, written by the authors of the book ( https://www.csc2.ncsu.edu/faculty/nfsamato/practical-graph-mining-with-R/PracticalGraphMiningWithR.html ).
Also on this page is provided the link to the archive with this library itself (here is the link: https://www.csc2.ncsu.edu/faculty/nfsamato/practical-graph-mining-with-R/R-code/GraphClusterAnalysis.zip ).
So you can load this library and after that you can try to install the library from source. Here is the stackoverflow question about how to do it:
How do I install an R package from source?
Nevertheless, as for me I wasn't successful in installing it from source.

Where can I find function source codes in a .zip R package?

I'd like to use package CentiServer in R. However, I'm getting the same error with different R versions (3.3.3 and 3.1.1):
Warning: unable to access index for repository
https://cloud.r-project.org/bin/windows/contrib/3.1 Warning message:
package ‘CentiServer’ is not available (for R version 3.1.1)
This post is a great source, still, these steps couldn't help me to find a solution: How should I deal with "package 'xxx' is not available (for R version x.y.z)" warning?
Since I cannot install the package, I started to think about that it could be easier to just find the source codes of some useful functions in the .zip file. Where can I find those in the .zip file?
Thank you in advance.

Install package "locClass" in R

I want to install a package named "locClass" in R but always failed and kept getting the following warning:
install.packages("locClass", repos="http://download.r-forge.r-project.org/")
Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘locClass’
These will not be installed
The install command is referred to: https://r-forge.r-project.org/R/?group_id=1187
Also, I downloaded the package source from the above website. But R returned the following:
library(locClass)
Error in library(locClass) : ‘locClass’ is not a valid installed package
My R version is 3.3.3. I tried the 3.4.0 but failed the same way.
This is not exactly a solution but an alternative to utilize functionality of package locClass. Download the package file of locClass from here and source(functions.R) present here. This way you can use all functions available in package.
Note : function.R means FLXMCL.R, FLXMCLconstant.R etc.
I'm still looking for a better solution but this is a temporary alternative.

R Error: package ‘lme4’ required by ‘pbkrtest’ could not be found

My question is related to the post: R Error: package 'mvtnorm' required by 'multcomp' could not be found
I'm using Revolution R and I'm trying to install the pbkrtest package and I have already installed the lme4 package. However, during installation of pbkrtest, R doesn't seem to be able to find lme4. Any idea why? The same issue has popped up with a few other packages and dependencies.
I performed this exact operation last week without issue. I don't have admin rights, and so had to save the file to my user directory. Here is the process I used:
Windows 7, revo R 3.2.3
construct a directory on my desktop, open R:
setwd(<path to my new folder>)
download.packages(<myPackages>, destdir=getwd(), type="win.binary")
install.packages(list.files(), repos=NULL, type="win.binary", lib=Sys.getenv("R_LIBS_USER"))
Notes:
* The reason I used download.packages() is to build an in-house repository for work.
* A few of the (~4 of 300) packages did not download, so I had to download them manually.
* This is my first experience with revo R, specifying type was never necessary in vanilla R, but seemed necessary here.

Manual install of R-package "xlsReadWrite" on OS X

I'm having trouble with manual install of an R-package called "xlsReadWrite." I know there are other packages available that can read Excel or csv files in to R, but I need to use this specific package as it is integrated in various places of a quite long script I want to use.
I'm using R-Studio Version 0.98.1091 on a Mac OS X (10.10.3)
The package is no longer available on CRAN, but there's a zip file available online here:
http://www.swissr.org/download
I can manually install the package but then when I hit the check mark I get the following error output:
library("xlsReadWrite", lib.loc="/Library/Frameworks/R.framework/Versions/3.1/Resources/library")
Error in library.dynam(lib, package, package.lib) :
shared object ‘xlsReadWrite.so’ not found
Error: package or namespace load failed for ‘xlsReadWrite’
I don't know quite how to interpret this. Does anyone have a way of successfully installing this package? Thanks a million in advance!!!
Ben

Resources