Displaying 20 results from an estimated 200 matches similar to: "tk_choose.files without multiple selection?"
2017 Oct 20
0
Permission denied with tk_choose.dir
Dear R Help list,
I'm facing a problem with "tk_choose.dir", I try to find an explanation and a solution.
I use :rm(list=ls(all=TRUE))
datawd<-"/mnt/3-Biot/data_input/"
setwd(datawd) files<-tk_choose.files(filters = matrix(c("/*.csv",".csv"),1, 2, byrow = TRUE),caption ="Select file with csv format")
If I change the name of the folder
2023 Dec 30
3
Help request: Parsing docx files for key words and appending to a spreadsheet
An update: Running this block of code:
# Load libraries
library(tcltk)
library(tidyverse)
library(officer)
filepath <- setwd(tk_choose.dir())
filename <- "Now they want us to charge our electric cars from litter
bins.docx"
#full_filename <- paste0(filepath, filename)
full_filename <- paste(filepath, filename, sep="/")
if (!file.exists(full_filename)) {
?
2023 Dec 30
2
Help request: Parsing docx files for key words and appending to a spreadsheet
Hi Eric
Thanks for that. That seems to fix one problem (the lack of a
separator), but introduces a new one when I complete the function Calum
proposed:Error in docx_summary() : argument "x" is missing, with no default
The whole code so far looks like this:
# Load libraries
library(tcltk)
library(tidyverse)
library(officer)
filepath <- setwd(tk_choose.dir())
filename <-
2012 Jan 04
1
tcltk on linux/rhel6
Dear All,
I've seen posts to the effect that..
1) choose.dir is only available for windows, and
2) tk_choose.dir would be the linux equivalent.
I'm still having trouble with the subject package on linux/rhel6.
I've specified --with-tcltk during ./configure, and I still get the response...
> install.packages("tcltk")
Installing package(s) into
2012 Nov 28
2
choose folder interactively
Dear users,
I am looking for a function to choose a folder interactively, just like
file.choose() but for a folder.
I have found tcltk::tk_choose.dir() but R hangs when I try to do
anything and I have to force exit.
I've tried to reinstall tcltk with install.packages(), but "package
?tcltk? is not available (for R version 2.15.2)" even though it's
already installed on my
2012 Nov 28
2
choose folder interactively
Dear users,
I am looking for a function to choose a folder interactively, just like
file.choose() but for a folder.
I have found tcltk::tk_choose.dir() but R hangs when I try to do
anything and I have to force exit.
I've tried to reinstall tcltk with install.packages(), but "package
?tcltk? is not available (for R version 2.15.2)" even though it's
already installed on my
2010 Jan 27
2
Rcmdr has stopped working
On my Mac (Snow Leopard and R64), I had been using Rcmdr nicely. But now
when I do
> library(Rcmdr)
the tk libraries load, but the Rcmdr window never appears.
> library(Rcmdr)
Loading required package: tcltk
Loading Tcl/Tk interface ...
>
And if I try to do anything else, R goes to 100% cpu and hangs.
How do I recover?
Thanks,
Jim Rome
2010 Sep 08
2
choose.dir() gone?
Hi,
I fail to find "choose.dir()" in my current R install (see below)? Didn't
that exist at some point? How to achieve "file.choose()" equivalent
functionality for directories?
Thanks for any hints, Joh
> sessionInfo()
R version 2.11.1 (2010-05-31)
x86_64-pc-linux-gnu
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3]
2009 May 26
1
interactive file choosing in Linux?
I am used to using the [R] function choose.files() for interactive file selection in MS-Windows.
What is the comparable function in Linux? I expected the function file.choose() to display similar behavior, i.e., a graphical interface diplaying a file listing, but all I seem to get is a "text input prompt". This does not seem correct.
> file.choose()
Enter file
2023 Dec 29
1
Help request: Parsing docx files for key words and appending to a spreadsheet
Hi Roy (& others)
Many thanks for the advice - well taken. Thanks also to the others who
have responded so quickly - I thought I might have to wait days!! :-)
I'm on a Linux (Mint) machine. Below, I document three attempts, two
using officer and the last now using textreadr
My attempts so far using 'officer':
##################
(1) First Attempt:
# Load libraries
2009 Apr 22
1
Installation fails (PR#13669)
Full_Name: Dieter Kadelka
Version: 2.9.0
OS: Linux
Submission from: (NULL) (129.13.115.98)
Hallo,
my system is
Linux mspcka3 2.6.5-7.276-default #1 Mon Jul 24 10:45:31 UTC 2006 i686
GNU/Linux
with gcc-4.3.3
Installation of R-2.9.0 fails, R-2.8.1 is o.k.
After
configure
make
I get
...
WARNING: ignoring environment value of R_HOME
>>> Building/Updating help pages for package
2009 May 21
0
problems building R-2.9.0 on solaris
Hi,
I've successfully updated our linux version of R to 2.9.0 but am
having trouble on our solaris machine. I had previously installed
2.8.1 and earlier versions without trouble.
I'm using R-patched_2009-05-20.tar.gz (I had also tried the 2009-05-10
version). Here's some info on our machine (I'm not the sysadmin):
[2] bedrock:/home/jayoung> uname -a
SunOS bedrock 5.10
2023 Dec 29
2
Help request: Parsing docx files for key words and appending to a spreadsheet
Hi Andy:
I don?t have an answer but I do have what I hope is some friendly advice. Generally the more information you can provide, the more likely you will get help that is useful. In your case you say that you tried several packages and they didn?t do what you wanted. Providing that code, as well as why they didn?t do what you wanted (be specific) would greatly facilitate things.
Happy
2012 Nov 29
0
Fwd: Re: choose folder interactively
Thanks Philippe for your answer!
It doesn't work for me, but I guess I have something wrong with Tcl/Tk.
Ivan
--
Ivan CALANDRA
Universit? de Bourgogne
UMR CNRS/uB 6282 Biog?osciences
6 Boulevard Gabriel
21000 Dijon, FRANCE
+33(0)3.80.39.63.06
ivan.calandra at u-bourgogne.fr
http://biogeosciences.u-bourgogne.fr/calandra
-------- Message original --------
Sujet: Re: [R] choose folder
2009 Sep 21
1
Fedora 11: Package RBGL won't install
Hi
I've been trying to install RBGL and several other packages in gR task
view on Fedora11 64 bit without success
My guess is that it is due to boost (fedora is at boost 1.37 which is
a few minor versions behind 1.40) and very recent g++
Has anyone managed to install the gR task view or RBGL in particular?
Thanks
Cheers
Peter
========
[root at SPH-PH-428-04P ~]# gcc --version
gcc (GCC)
2023 Dec 30
1
Help request: Parsing docx files for key words and appending to a spreadsheet
full_filename <- paste(filepath, filename,sep="/")
On Sat, Dec 30, 2023 at 1:45?PM Andy <phaedrusv at gmail.com> wrote:
> Thanks Ivan and Calum
>
> I continue to appreciate your support.
>
> Calum, I entered the code snippet you provided, and it returns 'file
> missing'. Looking at this, while the object 'full_filename' exists, what
> is
2009 Oct 11
2
Accuracy (PR#13999)
Full_Name: Viktor Witkovsky
Version: 2.9.2
OS: Windows XP
Submission from: (NULL) (78.98.89.227)
Hello,
I have found strange behavior of the function qchisq (the non-central qchisq is
based on inversion of pchisq, which is further based on pgamma). The function
gives wrong results without any warning. For example:
qchisq(1e-12,1,8.94^2,lower.tail=FALSE) gives 255.1840972465858 (notice that
2009 Aug 24
0
R 2.9.2 is released
I've rolled up R-2.9.2.tar.gz a short while ago.
This is a maintenance release and fixes a number of mostly minor issues.
See the full list of changes below.
You can get it from
http://cran.r-project.org/src/base/R-2/R-2.9.2.tar.gz
or wait for it to be mirrored at a CRAN site nearer to you. Binaries
for various platforms will appear in due course (Duncan Murdoch is out
of town, so Windows
2009 Aug 24
0
R 2.9.2 is released
I've rolled up R-2.9.2.tar.gz a short while ago.
This is a maintenance release and fixes a number of mostly minor issues.
See the full list of changes below.
You can get it from
http://cran.r-project.org/src/base/R-2/R-2.9.2.tar.gz
or wait for it to be mirrored at a CRAN site nearer to you. Binaries
for various platforms will appear in due course (Duncan Murdoch is out
of town, so Windows
2009 Oct 30
1
bug in `pmatch' (error with too long 'choices')?
I observed the following:
match.arg("white", colors())
yields 'white', but
match.arg("whit", colors())
yields:
`Error in match.arg("whit", colors()) :
'arg' should be one of "white", "aliceblue", '...
this message actually comes from `pmatch'. using a suitable subset of
`colors()' works OK. the precise length