В Thu, 21 Mar 2024 18:45:35 +
Jorgen Harmse via R-help пишет:
> The problem may have been that this package is so important to me
> that I put it in .Rprofile. The package was not installed for the new
> version of R, so every R session started with an annoying error
> message. Presumably a s
> Turns out that RStudio replaces the install.packages object in the utils
> package.
> Duncan Murdoch
So RStudio unlocks the bindings and alters the exported environment? That seems
like another reason to stick to the terminal interface.
>> Thank you. tools:::.install_packages works.
> I'm gl
5:53 AM
To: peter dalgaard
Cc: Jorgen Harmse ; r-help@r-project.org; Martin
Maechler
Subject: Re: [R] Building Packages.
Yes, you're right. The version found in the search list entry for
"package:utils" is the RStudio one; the ones found with two or three
colons are the orig
Message-
From: R-help On Behalf Of Duncan Murdoch
Sent: Thursday, March 21, 2024 5:53 AM
To: peter dalgaard
Cc: Jorgen Harmse ; r-help@r-project.org; Martin Maechler
Subject: Re: [R] Building Packages.
Yes, you're right. The version found in the search list entry for
"package:uti
Harmse ; r-help@r-project.org; Martin Maechler
Subject: Re: [R] Building Packages.
Yes, you're right. The version found in the search list entry for
"package:utils" is the RStudio one; the ones found with two or three
colons are the original.
Duncan Murdoch
On 21/03/2024 5
Is your Fedora machine using the bspm package with bspm::enable() in
the .Rprofile (to install binary packages from the r2u repository)?
bspm adds a hook by using trace() on install.packages, which makes it
look like this.
My guess is that if you start with --vanilla *or* run bspm::disable
Yes, you're right. The version found in the search list entry for
"package:utils" is the RStudio one; the ones found with two or three
colons are the original.
Duncan Murdoch
On 21/03/2024 5:48 a.m., peter dalgaard wrote:
Um, what's with the triple colon? At least on my install, double seems
Um, what's with the triple colon? At least on my install, double seems to
suffice:
> identical(utils:::install.packages, utils::install.packages)
[1] TRUE
> install.packages
function (...)
.rs.callAs(name, hook, original, ...)
-pd
> On 21 Mar 2024, at 09:58 , Duncan Murdoch wrote:
>
> The g
The good news for Jorgen (who may not be reading this thread any more)
is that one can still be sure of getting the original install.packages()
by using
utils:::install.packages( ... )
with *three* colons, to get the internal (namespace) version of the
function.
Duncan Murdoch
On 21/0
> Ben Bolker
> on Wed, 20 Mar 2024 13:25:33 -0400 writes:
>Hmm, looks platform-specific. Under Linux both RStudio
> and external R console return
> a0b52513622c41c11e3ef57c7a485767
> for digest::digest(install.packages)
Well, platform-specific maybe, notably pr
> "Duncan Murdoch on Wed, 20 Mar 2024 13:20:12 -0400 writes:
> On 20/03/2024 1:07 p.m., Duncan Murdoch wrote:
>> On 20/03/2024 12:37 p.m., Ben Bolker wrote:
>>> Ivan, can you give more detail on this? I've heard this
>>> issue mentioned, but when I open RStudio and run
>>>
В Wed, 20 Mar 2024 19:26:53 +
Jorgen Harmse пишет:
> Thank you. tools:::.install_packages works.
I'm glad it works, but it shouldn't be necessary to use (and is not
part of the API: not documented to keep working this way).
Since you're already using devtools, perhaps devtools::install will
urce) )
file.copy(DESC.source, file.path(package.dir,"DESCRIPTION"), overwrite=TRUE)
roxygenise(package.dir,clean=clean)
tar <- devtools::build(package.dir)
if (install)
install.packages(tar,type='source',repos=NULL)
invisible()
}
From: Ivan Krylov
Date:
В Wed, 20 Mar 2024 17:00:34 +
Jorgen Harmse пишет:
> Thank you, but I think I was already using utils.
>
> Regards,
> Jorgen.
>
>
> > environment(install.packages)
>
>
>
> > utils::install.packages('/Users/jharmse/Library/CloudStorage/OneDrive-RokuInc/jhBase_1.0.1.tar.gz',type='source
x27;width')}
#'
#' @export
width <- function(dw) options(width = options('width')[[1L]] + as.integer(dw))
From: Duncan Murdoch
Date: Wednesday, March 20, 2024 at 12:09
To: Jorgen Harmse , Ivan Krylov , Jorgen
Harmse via R-help
Subject: [EXTERNAL] Re: [R] Buildi
Hmm, looks platform-specific. Under Linux both RStudio and external
R console return
a0b52513622c41c11e3ef57c7a485767
for digest::digest(install.packages)
On 2024-03-20 1:20 p.m., Duncan Murdoch wrote:
On 20/03/2024 1:07 p.m., Duncan Murdoch wrote:
On 20/03/2024 12:37 p.m., Ben Bolker wro
В Wed, 20 Mar 2024 12:37:39 -0400
Ben Bolker пишет:
> Ivan, can you give more detail on this? I've heard this issue
> mentioned, but when I open RStudio and run find("install.packages")
> it returns "utils::install.packages", and running dump() from within
> RStudio console and from an external
On 20/03/2024 1:07 p.m., Duncan Murdoch wrote:
On 20/03/2024 12:37 p.m., Ben Bolker wrote:
Ivan, can you give more detail on this? I've heard this issue
mentioned, but when I open RStudio and run find("install.packages") it
returns "utils::install.packages", and running dump() from within
R
stallation of package
�/Users/jharmse/Library/CloudStorage/OneDrive-RokuInc/jhBase_1.0.1.tar.gz� had
non-zero exit status
From: Ivan Krylov
Date: Wednesday, March 20, 2024 at 11:14
To: Jorgen Harmse via R-help
Cc: Jorgen Harmse
Subject: [EXTERNAL] Re: [R] Building Packages.
� Wed, 20 Mar 2024 16:0
On 20/03/2024 12:37 p.m., Ben Bolker wrote:
Ivan, can you give more detail on this? I've heard this issue
mentioned, but when I open RStudio and run find("install.packages") it
returns "utils::install.packages", and running dump() from within
RStudio console and from an external "R --vanilla"
From: Ivan Krylov
Date: Wednesday, March 20, 2024 at 11:14
To: Jorgen Harmse via R-help
Cc: Jorgen Harmse
Subject: [EXTERNAL] Re: [R] Building Packages.
� Wed, 20 Mar 2024 16:02:27 +
Jorgen Harmse via R-help �:
> > install.packages(tar,type='source',repos=NULL)
>
Ivan, can you give more detail on this? I've heard this issue
mentioned, but when I open RStudio and run find("install.packages") it
returns "utils::install.packages", and running dump() from within
RStudio console and from an external "R --vanilla" gives identical results.
I thought at on
В Wed, 20 Mar 2024 16:02:27 +
Jorgen Harmse via R-help пишет:
> > install.packages(tar,type='source',repos=NULL)
>
> Error in library(jhBase) : there is no package called ‘jhBase’
>
> Execution halted
>
> Warning in install.packages(tar, type = "source", repos = NULL) :
>
> installati
I have a source file with oxygen-style comments (and description & licence
files), and I’m trying to build a package. oxygen & devtools seem to work, and
the tarball exists, but install.packages balks. Does anyone know what’s
happening?
Regards,
Jorgen Harmse.
> roxygenise(package.dir,clean=T
Uwe Ligges wrote:
Michael Friendly wrote:
Uwe Ligges wrote:
Michael Friendly wrote:
In building a package, what are the settings in the package files or
the build commands that
determine whether the compiled HTML help windows have the window title
"R Help for package foo" vs. "
Michael Friendly wrote:
Uwe Ligges wrote:
Michael Friendly wrote:
In building a package, what are the settings in the package files or
the build commands that
determine whether the compiled HTML help windows have the window title
"R Help for package foo" vs. "HTML Help"?
Michael,
can yo
Uwe Ligges wrote:
Michael Friendly wrote:
In building a package, what are the settings in the package files or
the build commands that
determine whether the compiled HTML help windows have the window title
"R Help for package foo" vs. "HTML Help"?
Michael,
can you give an example for a pag
Michael Friendly wrote:
In building a package, what are the settings in the package files or the
build commands that
determine whether the compiled HTML help windows have the window title
"R Help for package foo" vs. "HTML Help"?
Michael,
can you give an example for a page with title "HTML
In building a package, what are the settings in the package files or the
build commands that
determine whether the compiled HTML help windows have the window title
"R Help for package foo" vs. "HTML Help"?
I often have quite a few help files active, and it is much more
convenient to navigate am
Erin Hodgess wrote:
> Hi R People:
>
> I sure that this is a really easy question, but here goes:
>
> I'm trying to build a package that will run on both Linux and Windows.
>
> However, there are several commands in a section that will be
> different in Linux than they are in Windows.
>
Erin
Se
On Feb 10, 2008 1:20 PM, Duncan Murdoch <[EMAIL PROTECTED]> wrote:
> On 10/02/2008 1:07 PM, Erin Hodgess wrote:
> > Hi R People:
> >
> > I sure that this is a really easy question, but here goes:
> >
> > I'm trying to build a package that will run on both Linux and Windows.
> >
> > However, there a
On my widows XP computer, W
>From my windows XP system running R 2.6.1:
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
On 10-Feb-08 18:07:56, Erin Hodgess wrote:
> Hi R People:
>
> I sure that this is a really easy question, but here goes:
>
> I'm trying to build a package that will run on both Linux and Windows.
>
> However, there are several commands in a section that will be
> different in Linux than they are
Duncan Murdoch wrote:
> On 10/02/2008 1:07 PM, Erin Hodgess wrote:
>> Hi R People:
>>
>> I sure that this is a really easy question, but here goes:
>>
>> I'm trying to build a package that will run on both Linux and Windows.
>>
>> However, there are several commands in a section that will be
>> d
On 10/02/2008 1:07 PM, Erin Hodgess wrote:
> Hi R People:
>
> I sure that this is a really easy question, but here goes:
>
> I'm trying to build a package that will run on both Linux and Windows.
>
> However, there are several commands in a section that will be
> different in Linux than they are
Hi R People:
I sure that this is a really easy question, but here goes:
I'm trying to build a package that will run on both Linux and Windows.
However, there are several commands in a section that will be
different in Linux than they are in Windows.
Would I be better off just to build two separ
On Mon, 19 Nov 2007, Nicodemus, Kristin (NIH/NIMH) [C] wrote:
> Hello,
>
> Apologies in advance if this should be in R-devel, not Rhelp. I did
> read through the R-devel thread started by Gabor Grothendieck in
> September of this year - I am getting the exact same error using a new
> computer
Hello,
Apologies in advance if this should be in R-devel, not Rhelp. I did read
through the R-devel thread started by Gabor Grothendieck in September of this
year - I am getting the exact same error using a new computer that has XP
installed, not vista, complaining that the file hhc.exe is no
Duncan Murdoch wrote:
> On 01/10/2007 11:45 PM, Edna Bell wrote:
>> Hi again.
>>
>> I'm sure that this is really simple.
>>
>> I'm trying to build a package on a Windows Vista machine. I use
>> Rcmd build --binary test
>>
>> but I get the "Please set TMPDIR to a valid temporary directory"
>>
>>
On 01/10/2007 11:45 PM, Edna Bell wrote:
> Hi again.
>
> I'm sure that this is really simple.
>
> I'm trying to build a package on a Windows Vista machine. I use
> Rcmd build --binary test
>
> but I get the "Please set TMPDIR to a valid temporary directory"
>
> I tried TMPDIR=c:\temp
> but to
This happened with older versions of R but its fixed in the more
recent R 2.6.0 versions.
On 10/1/07, Edna Bell <[EMAIL PROTECTED]> wrote:
> Hi again.
>
> I'm sure that this is really simple.
>
> I'm trying to build a package on a Windows Vista machine. I use
> Rcmd build --binary test
>
> but I
Hi again.
I'm sure that this is really simple.
I'm trying to build a package on a Windows Vista machine. I use
Rcmd build --binary test
but I get the "Please set TMPDIR to a valid temporary directory"
I tried TMPDIR=c:\temp
but to no avail.
Please help.
thanks
__
I think you have to visit the following website to get information about java
packages:
http://www.rforge.net/rJava/ http://www.rforge.net/rJava/
Then of course the official R documentation which describes how to build
packages for R.
With kind regards
Marcel
--
View this message in context
Hello all,
Can someone please point me in the right direction to find the documentation
that explains how to build packages that include java code. Thank you.
I'm sorry if this is entirely obvious!
Best regards,
Mark
--
Mark Collins
[EMAIL PROTECTED]
44 matches
Mail list logo