Displaying 20 results from an estimated 2000 matches similar to: "install.packages() for local source file"
2005 Dec 09
1
local source packages install from within R session - cross-platform
I realize that others have struggled with this issue...i.e.
http://tolstoy.newcastle.edu.au/~rking/R/help/05/01/9826.html
i am on os.x 10.4 w/ R2.2, and am (perhaps foolishly) also on this quest...
i would like to be able to install downloaded source (tar.gz'd) files from
within an R session, and have it work in a X-platform way..i am often not
connected to the internet and have libraries
2004 Oct 22
2
install.packages question / suggestion
Hello,
when trying to write an R-file, which automatically installs and updates a
given list of packages, I had two problems with install.packages()
1) install.packages("<package>") will install <package>, no matter if
<package> has already been installed.
2) the readline() at the end of install.packages, which asks the user, if
the downloaded files should be
2009 Sep 22
3
trying to install plotrix
Here are the error messages:
> install.packages('plotrix')
Warning in install.packages("plotrix") :
argument 'lib' is missing: using '/Users/dbae/Library/R/library'
--- Please select a CRAN mirror for use in this session ---
Error in .install.macbinary(pkgs = pkgs, lib = lib, contriburl = contriburl,
:
unable to create temporary directory
2005 Feb 23
1
Graphics devices file[name] argument
Just got trapped by inconsistency of name of first argument
for file-based graphics devices. Both 'file' and 'filename'
are currently in use depending on the device. I ran on a
machine without PNG support which my code used postscript
as the backup device and choked here.
> do.call(device, list(filename = pathname,
height = height,
2006 Jul 16
1
install.packages for local zip files
O/S: Linux
R version : 2.2.1
The R server doesn't have http internet access. And the sys admins will
not install the R libraries that I requested. So I have downloaded the
packages that I want to intall and have moved them into my home
directory on the server. These are a series of *.tar.gz files. I want
to install the R libraries in my home directory, but I can't get it to
work.
2011 Jan 12
2
Access R Help Content From R
Have UI that simplifies running code from another (internal) package,
allowing user to set values on fields I basically grabbed from results
of calls to formals() for various functions. That works fine for the
most part. But it was requested to investigate some type of popup help
or something for each field.
Since I already wrote the information in the dot-Rd files for what
should be displayed,
2008 Jul 16
1
Help Updating and Installing R Packages
Hi Everyone,
I have a few fairly basic questions about upgrading and installing R
packages. First off, I am using Ubuntu Hardy Heron and have R 2.7.1
installed and working perfectly. I usually access R via Emacs ESS interface
which I am still trying to get the hang of. My questions and issues are as
follows:
Question 1: I started R and wanted to upgrade the installed R packages. So,
I issue the
2004 Mar 11
1
Re: make.search.html() without write permission in R.home() (PR#6663)
Brian Yandell <byandell@wisc.edu> writes:
> Folks,
> I am working on a Windows system which is part of the UW-Madison
> statistics LAN. R is maintained on a file system to which I cannot write.
> I tried installing a package and got the following interplay:
Set the lib argument to install.packages to a directory in which you
do have write permissions. From ?install.packages
2002 Mar 02
1
GNU tar does not ignore files in .Rbuildignore (PR#1339)
Full_Name: David O. Nelson
Version: 1.4.1
OS: solaris 2.7
Submission from: (NULL) (128.115.150.74)
Putting patterns in .Rbuildignore has no effect when the tar being used is gnu
tar (1.13) on solaris 2.7, whilst /usr/sbin/tar works perfectly.
TO REPRODUCE:
The current directory contains a source package directory ./mypkg...
bimini.jgi-psf.org% echo >mypkg/foo
bimini.jgi-psf.org% echo
2008 Aug 01
1
duplicate entries on ext3 when using readdir/readdir64
Hello,
I have a problem with directories that contain more than 10000 entries
(Ubuntu 8.04.1) or with more than 70000 entries (RHEL 5.2). If you use
readdir(3) or readdir64(3) you get one entry twice, with same name and
inode.
Some analyzing showed that disabling dir_index solves this problem, but
I think that this is a bug in the ext3 code, as no other file-system
shows this behavior.
2006 Feb 11
1
Errors using update.packages()
When trying to update packages after the sysadmin updated R on my unix box
I got errors on some packages. For example for chron:
* DONE (chron)
mkdir: cannot create directory `/usr/lib/R/library/00LOCK': Permission
denied
ERROR: failed to lock directory '/usr/lib/R/library' for modifying
I got similar messages for spatial and cluster and warnings for other
packages. Finally I got:
2006 Apr 21
1
Linker problem in installing 64-bit R
Hi,
I am trying to compile R-2.2.1 on Solaris 2.9 with a 64-bit build. Following
the instructions in "R Installation and Adminstration", I changed the
following settings in "config.site":
CC="gcc -m64"
F77="g77 -64"
CXX="g++ -m64"
LDFLAGS="-L/usr/local/lib/sparcv9 -L/usr/local/lib"
But I got the following error messages:
2006 Oct 13
4
Broken installation of mongrel 0.3.13.4 on Sun OS 5.9
Hi,
Anyone succeeded in installing Mongrel on Sun Solaris? It looks like the
installation is broken. I have started using Mongrel recently and not sure
where to look when something is missing.
First the file http11.so was not installed in
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib
I''ve resolved that and when tried to start mongrel from the command line I
received the
2004 Apr 27
15
Building wxruby on Solaris 9
Hi all,
Ruby 1.8.1
Solaris 9
wxwindows 2.4.2 (package from blastwave.org)
wxruby 0.3.0
I''m having trouble getting this sucker to build on my Solaris box.
Here''s how I''m building:
ruby extconf.rb --with-xrc-dir=/opt/csw
--with-xrc-include=/opt/csw/lib/wx
The include directive I added because the setup.h file is there (for
whatever reason). And yes, /opt/csw/bin and
2005 Oct 14
3
zip package
Dear all
I can not understand how to install the package lpsolve_1.1.9.zip
I have read the FAQ and the help pages carefully, but it still not
clear for me.
I have tried the following (and obtained the respective error
messages):
>install.packages("c:/ProgramFiles/R/rw2011/library/lpSolve_1.1.9",destdir="
c:/ProgramFiles/R/rw2011/library/lpSolve")
Mensagem de aviso:
2004 Sep 15
7
Splitting vector into individual elements
Is there a means to split a vector into its individual
elements without going the brute-force route for arguments
to a predefined function call?
offred.rgb <- c(1, 0, 0) * 0.60;
## Brute force style
offred.col <- rgb(offred.rgb[1],
offred.rgb[2],
offred.rgb[3],
names = "offred")
## Desired style
2023 Mar 21
2
[libnbd PATCH v4 0/2] lib/utils: introduce async-signal-safe execvpe()
On Tue, Mar 21, 2023 at 07:04:59AM +0100, Laszlo Ersek wrote:
> On 3/20/23 20:41, Eric Blake wrote:
> > On Sun, Mar 19, 2023 at 10:41:37AM +0100, Laszlo Ersek wrote:
> >> This is version 4 of the following sub-series:
> >>
> >> [libnbd PATCH v3 09/29] lib/utils: introduce async-signal-safe execvpe()
> >> [libnbd PATCH v3 10/29] lib/utils: add unit tests
2005 Jan 26
2
Source code for "extractAIC"?
Dear R users:
I am looking for the source code for the R function extractAIC. Type the
function name doesn't help:
> extractAIC
function (fit, scale, k = 2, ...)
UseMethod("extractAIC")
<environment: namespace:stats>
And when I search it in the R source code, the best I can find is in (R
source root)/library/stats/R/add.R:
extractAIC <- function(fit, scale, k = 2,
2012 Feb 07
2
Canonical package directory name for JAR files?
We have an R package which needs to include a JAR file.
Is there a canonical directory for it?
2008 Oct 30
2
Small modification of zip.file.extract in utils?
Dear list,
I needed to extract a zip-archive, and found zip.file.extract in utils.
My only problem was the use of tempdir(), since I wanted to permanently
extract the archive at a fixed location for later use. My own fix was
simple, adding an extra parameter zipdir (without default), and within
the function change
tmpd <- tempdir()
to
tmpd = ifelse(missing(zipdir),tempdir(),zipdir)
This