Displaying 10 results from an estimated 10 matches for "writeclipboard".
2002 Nov 28
1
function writeClipboard()
Hello,
I am looking for the function writeClipboard() in order to
compile and use it but can't find it neither into R-devel directory
nor in other R directories.
Is this function present or do I search on the wrong place?
Vincent Demolombe
Inra - spo - Montpellier
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r...
2019 May 23
2
writing Unicode text to the Windows clipboard
...es not seem to be true. I can make it work
with this change:
diff --git a/src/library/utils/src/windows/util.c
b/src/library/utils/src/windows/util.c
index 373049495dd..fc3dc39e3a7 100644
--- a/src/library/utils/src/windows/util.c
+++ b/src/library/utils/src/windows/util.c
@@ -318,7 +318,7 @@ SEXP writeClipboard(SEXP text, SEXP sformat)
warning(_("unable to open the clipboard"));
GlobalFree(hglb);
} else {
- success = SetClipboardData(CF_TEXT, hglb) != 0;
+ success = SetClipboardData(format, hglb) != 0;
if(!success) {
warning(_("unable to write to the clipboard"));...
2019 May 24
0
writing Unicode text to the Windows clipboard
...es not seem to be true. I can make it work
with this change:
diff --git a/src/library/utils/src/windows/util.c
b/src/library/utils/src/windows/util.c
index 373049495dd..fc3dc39e3a7 100644
--- a/src/library/utils/src/windows/util.c
+++ b/src/library/utils/src/windows/util.c
@@ -318,7 +318,7 @@ SEXP writeClipboard(SEXP text, SEXP sformat)
warning(_("unable to open the clipboard"));
GlobalFree(hglb);
} else {
- success = SetClipboardData(CF_TEXT, hglb) != 0;
+ success = SetClipboardData(format, hglb) != 0;
if(!success) {
warning(_("unable to write to the clipboard"));...
2004 Sep 09
2
Handling the windows clipboard/32KB limit
(R 1.9.1; Windows 2000;)
I'm just comparing ease of use, speed, etc for methods of transferring data frames in the Excel, MySQL, R triangle. It turns out that going from Excel to R (when doing this carefully). Using the clipboard is actually quite fast and efficient (2 seconds for transferring 120 000 cells on a common desktop computer as compared to much longer for going the RODBC route,
2004 Nov 19
2
Clipboard under Linux/Unix
Hello,
This may be a trivial question, but I don't find the answer in R online
help. Under Windows, I can copy/paste to the clipboard using
readClipboard()/writeClipboard(), or something like cat(..., file =
"clipboard"). Are there equivalent function for other platforms?
Best,
Philippe Grosjean
..............................................<??}))><........
) ) ) ) )
( ( ( ( ( Prof. Philippe Grosjean
) ) ) ) )
( ( ( ( ( Numerical Ecology...
2008 Jan 24
0
readClipboard() from spreadsheet to data.frame with column names?
...at I need
help with is setting the first row as the column names in
clipboardTextAsDF. There is probably a simple or better way to do this
but I have been away from R for awhile now. I just be over-thinking this.
I tried read.DIF to read the clipboard but that didn't work as I had hoped.
writeClipboard(rownames(state.x77), format=1)
#A paste, Ctrl+V in any Application should now list United States State
names.
statex77 <- cbind(State=rownames(state.x77), state.x77)
wd <- "b:/Chapter11/"
setwd(wd) #Note use of "/" rather than "\"
write.csv(statex77, file=&...
2019 Jul 05
0
R 3.6.1 is released
...ztof Banas.
* Correct messaging in C++ pragma checks in tools code for R CMD
check, fixing PR#17566 thanks to Xavier Robin.
* print()ing and auto-printing no longer differs for functions with
a user defined print.function, thanks to Bill Dunlap's report.
* On Windows, writeClipboard(.., format = <n>) now does correctly
pass format to the underlying C code, thanks to a bug report
(with patch) by Jenny Bryan.
* as.data.frame() treats 1D arrays the same as vectors, PR#17570.
* Improvements in smoothEnds(x, *) working with NAs (towards
runmed() wo...
2019 Jul 05
0
R 3.6.1 is released
...ztof Banas.
* Correct messaging in C++ pragma checks in tools code for R CMD
check, fixing PR#17566 thanks to Xavier Robin.
* print()ing and auto-printing no longer differs for functions with
a user defined print.function, thanks to Bill Dunlap's report.
* On Windows, writeClipboard(.., format = <n>) now does correctly
pass format to the underlying C code, thanks to a bug report
(with patch) by Jenny Bryan.
* as.data.frame() treats 1D arrays the same as vectors, PR#17570.
* Improvements in smoothEnds(x, *) working with NAs (towards
runmed() wo...
2019 Jul 05
0
R 3.6.1 is released
...ztof Banas.
* Correct messaging in C++ pragma checks in tools code for R CMD
check, fixing PR#17566 thanks to Xavier Robin.
* print()ing and auto-printing no longer differs for functions with
a user defined print.function, thanks to Bill Dunlap's report.
* On Windows, writeClipboard(.., format = <n>) now does correctly
pass format to the underlying C code, thanks to a bug report
(with patch) by Jenny Bryan.
* as.data.frame() treats 1D arrays the same as vectors, PR#17570.
* Improvements in smoothEnds(x, *) working with NAs (towards
runmed() wo...
2013 Feb 12
3
improving/speeding up a very large, slow simulation
...I will be
most grateful, as as this is currently written it would take what looks
like days to run a thousand simulations of each possible combination of
variables of interest.
Best
Ben Caldwell
-----------------------------------------------
#unpaired
verification.plots<-rnorm(30, 100, 10)
# writeClipboard(as.character(verification.plots))
unpaired.test<- function(verification.plots, project.n, project.mean,
project.sd, allowed.deviation, project.acres, alpha=.05){
verification.plots <-as.numeric(as.character(verification.plots))
a <- qnorm(alpha/2)
d <- alpha*project.mean
# verifier p...