Displaying 20 results from an estimated 4000 matches similar to: "Error: package 'lsei' is not installed for 'arch=i386'"
2010 Feb 16
0
Help with lsei() from package limSolve()
Hi all,
The problem I am trying to solve is the following: I have a 'trace' of
half-hourly data across an entire year - i.e. I have 17,500
observations (one for every half-hour of every day of a year). The
data follows a daily, weekly and seasonal pattern that is important to
preserve. What I want to do is scale this 'trace' of data in a way
that minimizes distortion to the
2009 Dec 04
2
Solve linear program without objective function
Dear R-users,
i try to solve to following linear programm in R
0 * x_1 + 2/3 * x_2 + 1/3 * x_3 + 1/3 * x_4 = 0.3
x_1 + x_2 + x_3 + x_4 = 1
x_1, x_2, x_3, x_4 > 0,
x_1, x_2, x_3, x_4 < 1
as you can see i have no objective function here besides that i use the
following code.
library(lpSolve)
f.obj<-c(1,1,1,1)
f.con<-matrix(c(0,2/3,1/3,1/3,
1,1,1,1,
2011 Sep 14
3
normalizePath
Hi,
I update R from 2.10 to 2.13.
Then I find soma problems when I start R.
Warning infos as below:
#####
Warning message:
In normalizePath(c(new, .Library.site, .Library), "/") :
path[1]="": No such file or directory
R version 2.13.1 (2011-07-08)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-pc-linux-gnu (64-bit)
R is
2011 Sep 23
2
cbind() crashes on raw vectors
Hi,
cbind() doesn't seem to like raw vectors:
> df <- cbind(a=integer(4000), b=raw(4000))
> df
*** glibc detected *** /home/hpages/R-2.13.1/bin/exec/R: malloc():
memory corruption: 0x0000000002d73ca0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x79d7a)[0x7f3592b91d7a]
/lib/x86_64-linux-gnu/libc.so.6(__libc_malloc+0x6e)[0x7f3592b9431e]
2016 Apr 09
2
Arguments to utils:::menuInstallPkgs
Dears,
Is it possible (in any viable way) to pass arguments to the base function
(install.packages I think) using the utils:::menu?
For example:
> utils:::menuInstallPkgs(loc=.libPaths()[2])
> utils:::menuInstallLocal(loc=.libPaths()[2])
Thanks,
///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\
Jose Claudio Faria
Estatistica
UESC/DCET/Brasil
joseclaudio.faria at gmail.com
Telefones:
2011 Aug 19
1
Windows 7 issues with installing packages and setting library paths
Dear all,
I am forced to work in an environment without administrator rights.
When using R2.13.1 on Windows 7 (64-Bit), I found that I can?t install or update any packages due to missing writing permissions.
I managed to get full access to a directory on my C:\ drive now - but how do I specify that all libraries shall be installed into this directory?
In Rcmd_environ I have the following
2012 Oct 19
2
Which package/function for solving weighted linear least squares with inequality and equality constraints?
Dear All,
Which package/function could i use to solve following linear least square
problem?
A over determined system of linear equations is given. The nnls-function may
would be a possibility BUT:
The solving is constrained with
a inequality that all unknowns are >= 0
and a equality that the sum of all unknowns is 1
The influence of the equations according to the solving process is
2012 Oct 24
1
equation solver
Hi,
I'm Pina and I'm a student in geology. I'm working with spectral profile of
sand and I have to find the similarity between one spectral profile selected
by hyperspectral image anche one that I created to mix different percentage
of 4 mineral component. I have to find the best mix of percentage of this 4
mineral in order to have the best likeness with the spectral profile chose
by
2011 Aug 12
1
install packages from intranet
Hi,
I'm new to R. Apologies if this is a simple query, I've searched the mailing lists and docs but can't find a solution to my problem.
I'm trying to make some packages available on our intranet. During development the 'intranet' is a webserver running on localhost.
* When I call "install.packages" I get a mesage about not being able to access 'index
2016 Apr 09
0
Arguments to utils:::menuInstallPkgs
On 09/04/2016 8:14 AM, Jose Claudio Faria wrote:
> Dears,
>
> Is it possible (in any viable way) to pass arguments to the base function
> (install.packages I think) using the utils:::menu?
No, but why not just call install.packages directly? (If you are using
Rgui in Windows, you can add menu items using winMenuAddItem).
Duncan Murdoch
> For example:
>
> >
2011 Jul 31
3
R 2.13.1 can't find package binaries on R-Forge
[Env: Win XP]
I've just upgraded from R 2.12.2 to R 2.13.1. As part of my upgrade
process, I typically install some in-development
packages from R-Forge that are not on cran. But for the first time, it
doesn't work.
e.g.,
> install.packages("p3d", repos="http://R-Forge.R-project.org")
trying URL
2011 Dec 19
2
Constrained Optimisation
Dear All
I have a constrained optimisation problem, I want to maximise the following
function
t(weights) %*% CovarianceMatrix %*% weights
for the weights,
subject to constraints on each element within the weights & the weights
vector summing to 1.
i.e.
weights = (x1, x2, x3), where x1 is within some given range (a +b, a - b).
I have tried to do this using the optim function in R,
2011 Apr 20
3
useDynLib in older versions e.g. (2.10)
Hi,
Has something changed regarding the useDynLib in the NAMESPACE file in
packages? I've written a package that works in e.g. 2.12/2.13 but simply
cannot find the dynamic library under windows. The version on CRAN is
older than the one I'm talking about and depends on a newer version of R
but I want to make the package available to people with older versions.
>
2009 May 26
2
Linear Regression with Constraints
Hi!
I am a bit new to R.
I am looking for the right function to use for a multiple regression problem
of the form:
y = c1 + x1 + (c2 * x2) - (c3 * x3)
Where c1, c2, and c3 are the desired regression coefficients that are
subject to the following constraints:
0.0 < c2 < 1.0, and
0.0 < c3 < 1.0
y, x1, x2, and x3 are observed data.
I have a total of 6 rows of data in a data set.
Is
2010 Feb 15
1
"EstimableS" in R
Hi
I've just installed the R version 2.10.1 on my new PC and unfortunately I have problem to use the function Estimables. I have downloaded gmodels succesfully but have problems when I activate the package. I get following meassage;
> utils:::menuInstallLocal()
package 'gmodels' successfully unpacked and MD5 sums checked
> local({pkg <-
2011 Aug 11
2
UNC windows path beginning with backslashes: normalizePath bug??
Hi,
Back in June I posted the message below, but had no replies. I've made a
little progress since then so this is to update anyone interested (!) and to
ask for comments.
Brief problem statement:
Under Windows, some parts of R don't handle UNC paths beginning with
backslashes. Specifically
a) Sys.glob() fails to find some files breaking (e.g.) Rcmdr plugins
2010 Nov 24
1
Difficulty loading packages into R version 2.12.0
Apologies for my previous effort in HTML which apparently was scrubbed
Dear R-users
I wonder if I could get advice on the above problem
I have just installed V 2.12.0 (I chose only the 32-bit version) into a new
directory (C:/R) on a 64bit Windows 7 machine
> sessionInfo()
R version 2.12.0 (2010-10-15)
Platform: i386-pc-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=English_Australia.1252
2006 Oct 25
1
library loading errors (PR#9317)
Full_Name: Larry Layne
Version: 2.4.0
OS: MS Windows 2000
Submission from: (NULL) (129.24.91.249)
All of the following libraries loaded just fine in version 2.3.1:
> utils:::menuInstallLocal()
package 'tripack' successfully unpacked and MD5 sums checked
updating HTML package descriptions
> library(tripack)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable
2010 Nov 24
1
Difficulty loading packages in R version 2.12.0
Hello, I wonder if I could get advice on the above problem
I have just installed V 2.12.0 (I chose only the 32-bit version) into a new
directory (C:/R) on a 64bit Windows 7 machine
> sessionInfo()
R version 2.12.0 (2010-10-15)
Platform: i386-pc-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=English_Australia.1252 LC_CTYPE=English_Australia.1252
[3]
2010 Feb 04
2
no write access for help files
Hi
I'm using R v2.8 under Windows*) and I'm trying to install a new package (local zip file), but I get the message below. I followed some advice at http://cran.r-project.org/bin/windows/base/rw-FAQ.html (4.2 onwards), but to no avail. How can I tell R to save the help files to an alternative location? I don't have write access to the default location.
>