Skip to content

utils:::menuInstallLocal()

2 messages · Emiliano Zapata, Duncan Murdoch

#
On 12-05-22 11:55 AM, Emiliano Zapata wrote:
When you click on the menu item, it runs that, which is supposed to open 
a dialog box to let you choose a file to install.

If you already know the filename, you don't need to do it that way; you 
can use

filename <- "somepackage_version.zip"

install.packages(filename, type="win.binary", repos=NULL)

to do the same thing.  But it would be worth figuring out why the file 
dialog isn't working.

Duncan Murdoch