It's really odd that people blog about their own inefficient scripts
rather than read the R documentation.
Because this scripts checks (very inefficiently) if a package is
already installed, it would not solve the problem discussed in this
thread. And install.packages() takes a vector of
Simon,
That's a better way, indeed. I had missed your previous post, so thank you
for reposting. My original motivation for the script was to sync certain
core packages across multiple machines, but it works well for upgrades,
too. The script also provides a means of weeding out my library by not
Well, that's a bit convoluted way (I really don't see the point of that
script) - if you want to re-install packages across R versions (not the topic
of this thread!) it is far easier than that and I posted it here just a few
days ago:
# for packages from user location:
Brian,
Since the problem was fixed by updating packages with checkBuilt=T, wouldn't
installing packages fresh using the script have avoided the problem?
Perhaps section 2.8 of the Windows FAQ should be incorporated into the Mac
FAQ? The checkBuilt trick is otherwise not brought to our attention.
On 25/05/2011, at 12:19 PM, Simon Urbanek wrote:
Normally you just install new R and then use Package Manager to install
packages to match your previous version. If you blow away old R, you will
have no track of packages you installed before.
I've been in the habit of keeping all the .tgz
Dear expeRts,
On (my?) macs, .libPaths() contains two entries, with the first pointing to a
user's library tree and the second to the system-wide library tree, as in
## begin code
v - getRversion()
userLib - Sys.glob(sprintf(~/Library/R/%s.%s/library, v$major, v$minor))
systemLib -
See help(.Library).
Sean
On Wed, May 25, 2011 at 6:35 AM, jochen laubrock
jochen.laubr...@gmail.com wrote:
Dear expeRts,
On (my?) macs, .libPaths() contains two entries, with the first pointing to a
user's library tree and the second to the system-wide library tree, as in
## begin code
v
On Wed, May 25, 2011 at 11:50, Prof Brian Ripley rip...@stats.ox.ac.ukwrote:
On Wed, 25 May 2011, Tom Hopper wrote:
Brian,
Since the problem was fixed by updating packages with checkBuilt=T,
wouldn't
installing packages fresh using the script have avoided the problem?
No, because it
.Library.site becomes not empty when you create a site library, for example by
mkdir {PATH to R}/R/lib64/site-library
(of course lib64 assumes a 64 bit architecture)
Kasper
On Wed, May 25, 2011 at 6:51 AM, Sean Davis sdav...@mail.nih.gov wrote:
See help(.Library).
Sean
On Wed, May 25,
On May 25, 2011, at 7:17 AM, Tom Hopper wrote:
On Wed, May 25, 2011 at 11:50, Prof Brian Ripley rip...@stats.ox.ac.ukwrote:
On Wed, 25 May 2011, Tom Hopper wrote:
Brian,
Since the problem was fixed by updating packages with checkBuilt=T,
wouldn't
installing packages fresh using the
On Wed, May 25, 2011 at 15:23, Simon Urbanek simon.urba...@r-project.orgwrote:
On May 25, 2011, at 7:17 AM, Tom Hopper wrote:
On Wed, May 25, 2011 at 11:50, Prof Brian Ripley rip...@stats.ox.ac.uk
wrote:
On Wed, 25 May 2011, Tom Hopper wrote:
Brian,
Since the problem was fixed
On Wed, May 25, 2011 at 9:52 AM, Tom Hopper tomhop...@gmail.com wrote:
On Wed, May 25, 2011 at 15:23, Simon Urbanek
simon.urba...@r-project.orgwrote:
On May 25, 2011, at 7:17 AM, Tom Hopper wrote:
On Wed, May 25, 2011 at 11:50, Prof Brian Ripley rip...@stats.ox.ac.uk
wrote:
On Wed,
On Wed, May 25, 2011 at 15:57, Sean Davis sdav...@mail.nih.gov wrote:
On Wed, May 25, 2011 at 9:52 AM, Tom Hopper tomhop...@gmail.com wrote:
snip
understand this well enough so that I can avoid similar problems. If I
install a new version of R and then, without doing anything else, either
Hi all,
I wonder if there could be a way to allow querys like the following to succeed
by changes to the gui command line?
?
Error: unexpected '' in ?”
?%*%
Error: unexpected SPECIAL in ?%*%
cheers,
tim
--
The University of Edinburgh is a charitable body, registered in
Scotland, with
On May 25, 2011, at 11:14 AM, Timothy Bates wrote:
Hi all,
I wonder if there could be a way to allow querys like the following to
succeed by changes to the gui command line?
?
Error: unexpected '' in ?”
?%*%
Error: unexpected SPECIAL in ?%*%
cheers,
tim
Just surround the topic
just do
'?'
On 25 May 2011, at 5:20 PM, Marc Schwartz wrote:
?
Error: unexpected '' in “?”
Thanks Mark and Ian,
Glad it’s a straightforward and memorable workaround. And this is easy in the
new GUI (which adds quotes around a selection. Still wish that the error told
me that was a likely
On May 25, 2011, at 12:32 PM, Timothy Bates wrote:
just do
'?'
On 25 May 2011, at 5:20 PM, Marc Schwartz wrote:
?
Error: unexpected '' in “?”
Thanks Mark and Ian,
Glad it’s a straightforward and memorable workaround. And this is
easy in the new GUI (which adds quotes around a selection.
On 25-05-2011, at 18:32, Timothy Bates wrote:
just do
'?'
On 25 May 2011, at 5:20 PM, Marc Schwartz wrote:
?
Error: unexpected '' in “?”
Thanks Mark and Ian,
Glad it’s a straightforward and memorable workaround. And this is easy in the
new GUI (which adds quotes around a selection.
On 25 May 2011, at 5:50 PM, Berend Hasselman wrote:
The left arrow just does nothing when a selection has been made (whereas the
right arrow undoes the selection, leaving the cursor to its right)
Command-left arrow
Ctrl-A
…
Again, thanks for the help: I think it is a bug that left-arrow
On May 25, 2011, at 12:50 PM, Berend Hasselman wrote:
Home will move the cursor to the start of a line
End will move the cursor to the end of a line
Not on my machine in the GUI. Goes to top or bottom of the console
window.
--
David Winsemius, MD
West Hartford, CT
On 25-05-2011, at 19:10, David Winsemius wrote:
On May 25, 2011, at 12:50 PM, Berend Hasselman wrote:
Home will move the cursor to the start of a line
End will move the cursor to the end of a line
Not on my machine in the GUI. Goes to top or bottom of the console window.
To get
On 25 May 2011, at 18:14, Timothy Bates wrote:
I wonder if there could be a way to allow querys like the following to
succeed by changes to the gui command line?
?
Error: unexpected '' in ?”
Hi Tim,
did you try to simply select the pattern (here ) and press CTRL+H or
right-click for
On May 25, 2011, at 1:10 PM, David Winsemius wrote:
On May 25, 2011, at 12:50 PM, Berend Hasselman wrote:
Home will move the cursor to the start of a line
End will move the cursor to the end of a line
Not on my machine in the GUI. Goes to top or bottom of the console window.
Hans said:
did you try to simply select the function and press CTRL+H or right-click for
content menu and select Show Help for current Function”?
fantastic Hans!
PS: I looked in the help menu and saw nothing like “help on selection cntrl-H”
…. that would help with newbie discovery (like me
On May 25, 2011, at 1:41 PM, Timothy Bates wrote:
Hans said:
did you try to simply select the function and press CTRL+H or right-click
for content menu and select Show Help for current Function”?
fantastic Hans!
PS: I looked in the help menu and saw nothing like “help on selection
25 matches
Mail list logo